travelger Posted June 1, 2012 Share Posted June 1, 2012 Hi, I would like to add a "Press" page to my Prestashop. How do I do that? Ideally this Press page will have text and some downloadable pictures. Any help is appreciated! Cheers, Anna Link to comment Share on other sites More sharing options...
Flaunt Posted June 7, 2012 Share Posted June 7, 2012 Hi, I would like to add a "Press" page to my Prestashop. How do I do that? Ideally this Press page will have text and some downloadable pictures. Any help is appreciated! Cheers, Anna Well you can add new pages to Prestashop via your back-office under 'Tools > CMS > Add a new page' You can create any page you need there with a full text editor. A little .html knowledge will let you add some extra functionality if you want. Is this the kind of thing you meant? Link to comment Share on other sites More sharing options...
travelger Posted June 7, 2012 Author Share Posted June 7, 2012 Hi Flaunt, thanks for the reply! In general, thats what I am looking for. I added - as you described - the page "Press". It only shows under 'Sitemap' now. I would like to have it replace 'Sitemap' in TM Headerlinks. I opened the modules tmheaderlinks.php and changed there sitemap to press but it still opened sitemap when clicking on it. Any thoughts? Anna Link to comment Share on other sites More sharing options...
Flaunt Posted June 7, 2012 Share Posted June 7, 2012 You would have to edit the .tpl file to add or edit any header links. Difficult to tell you exactly what as it sounds like you're using a Template Monster theme and module so it will be slightly different than the PS defaults. Can I see a link to your site? Link to comment Share on other sites More sharing options...
travelger Posted June 7, 2012 Author Share Posted June 7, 2012 I did edit the header links .tpl but it did not take the change from <li><a href="{$link->getPageLink('sitemap.php')}"{if $page_name == 'sitemap'} class="active"{/if}><span>{l s='press' mod='tmheaderlinks'}</span></a></li> to <li><a href="{$link->getPageLink('press.php')}"{if $page_name == 'press'} class="active"{/if}><span>{l s='press' mod='tmheaderlinks'}</span></a></li> Sure, my site is mamaberlin.ie I really appreciate your help, Flaunt. Link to comment Share on other sites More sharing options...
Flaunt Posted June 7, 2012 Share Posted June 7, 2012 (edited) You put the wrong link details in, that's all. Custom CMS pages are not quite the same as the 'contact', 'sitemap' etc pages. Easiest way to sort it is to go to view the 'Press' page and copy the link from your address bar, then change the code to this instead: <li><a href="http://www.yoursite.com/content/pagename"{if $page_name == 'press'} class="active"{/if}><span>{l s='press' mod='tmheaderlinks'}</span></a></li> Try that. Make sure you clear you cache too. Edited June 7, 2012 by Flaunt (see edit history) Link to comment Share on other sites More sharing options...
travelger Posted June 7, 2012 Author Share Posted June 7, 2012 Great stuff, it works! Thanks so much Link to comment Share on other sites More sharing options...
Flaunt Posted June 7, 2012 Share Posted June 7, 2012 Great stuff, it works! Thanks so much Glad it worked for you. Link to comment Share on other sites More sharing options...
gnattle Posted July 30, 2013 Share Posted July 30, 2013 (edited) Well you can add new pages to Prestashop via your back-office under 'Tools > CMS > Add a new page' You can create any page you need there with a full text editor. A little .html knowledge will let you add some extra functionality if you want. Is this the kind of thing you meant? edited - ignore this I have found the answer! Edited July 30, 2013 by gnattle (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now