rgwhitaker Posted June 14, 2014 Share Posted June 14, 2014 (edited) I want to modify the top menu, so I'm modifying my tmheaderlinks.tpl file. I want one of my links to be BLOG, which obviously links to my blog page. My blog URL is www.mysite.com/blog/. I can't figure out how to link to another directory from within the tmheaderlinks file. How would I do that? Thank you. Edited June 14, 2014 by rgwhitaker (see edit history) Link to comment Share on other sites More sharing options...
PSfever.com Posted June 15, 2014 Share Posted June 15, 2014 Hi, which file are you opening? The one in modules/tmheaderlinks or themes/YourTheme/modules/tmheaderlinks? The latter one overrides the first one. You will have to add a simply line of <li><a href="http://www.mysite.com/blog/">Blog</a></li> Link to comment Share on other sites More sharing options...
rgwhitaker Posted June 15, 2014 Author Share Posted June 15, 2014 I'm editing the prestashop/modules/tmheaderlinks file. I'll give it a try. I'm wondering, though, if I create it this way, when I go to my blog page, will the BLOG link be highlighted, like the other pages are? Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 Hi, as I said " The latter one overrides the first one.". So if there is a file in "themes/YourTheme/modules/tmheaderlinks", then no matter what changes you make in the modules/tmheaderlinks directory, it will remain the same. The link can be highlighted, if you fiddle a bit with your wordpress blog. But there won't be a natural highlighting of any sort...we are still miles away from AI. Link to comment Share on other sites More sharing options...
rgwhitaker Posted June 16, 2014 Author Share Posted June 16, 2014 I got it sorted out. Thank you. Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 Great! What was the solution to this problem then? Was it mine, or have you done something differently? Link to comment Share on other sites More sharing options...
rgwhitaker Posted June 16, 2014 Author Share Posted June 16, 2014 Yes. I used your solution and it worked. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts