Aardvark1971 Posted December 6, 2013 Share Posted December 6, 2013 I'm stuck again on what is a very basic "how to" and can't find an answer to this that makes any sense. I want to have my CMS page link to another CMS page, i.e., a simple "hyperlink". Using / testing version 1.5.6. I'm porting over all my old "static" html pages into CMS pages. Within those CMS pages, I want hyperlinks to other CMS pages. Simple, right? But it's not... In the CMS page Edit, trying to use the Insert/Edit Link, I've tried to use the Link URL with no success. I can link to an external non-CMS page, but that's not what I want (this looses navigation menus for example). Under Insert/Edit Link Browse Button, the Upload crashes repeatedly with a SyntaxError: syntax error on anything I try to upload (simple htm file). Under Insert/Edit Link Advance, I can't get this function to work either (don't know what I'm doing). a) Can SIMPLE links be created - from CMS to CMS? Without modifying tpl files? If so - how is this done (exactly, please)? This is a critical need - and a "deal killer" for Prestashop as a viable option / replacement for our old cart. Link to comment Share on other sites More sharing options...
Aardvark1971 Posted December 8, 2013 Author Share Posted December 8, 2013 No replies? Does this mean that this is NOT possible to do with Prestashop? Link to comment Share on other sites More sharing options...
El Patron Posted December 8, 2013 Share Posted December 8, 2013 I just added a link (1.5.6.1) from about us to legal notice the link that I inserted in 'about us' to legal notice was 2-legal-notice Hopefully this helps you Link to comment Share on other sites More sharing options...
Aardvark1971 Posted December 9, 2013 Author Share Posted December 9, 2013 Thank you! After figuring out where your about us was found, I redid the URL call and it works. For those other newbs who are just as confused, this is how I got it to work: Edit the CMS page, click the icon for URL link. Insert this as the link: http://www.your domain/shop/cms.php?id_cms=4 Change shop to the path of your prestashop installation. Change the id number to the CMS page to display. I'm guessing here, but there is probably other ways to do this link, but don't know how yet. Next question - is there a way to link a CMS page to an external html page and have this displayed in the main body section? Or do I have to create CMS pages for everything that I need to display? My old site has a lot of information on it, over a thousand html pages, so how to do this efficiently is going to important. Link to comment Share on other sites More sharing options...
El Patron Posted December 9, 2013 Share Posted December 9, 2013 First I apoligze as I meant to 'show' the actual link I used.. for friendly urls I used '2-legal-notice' please try changing your non-friendly link to id_cms=4 or cms.php?id_cms=4 Link to comment Share on other sites More sharing options...
Aardvark1971 Posted December 9, 2013 Author Share Posted December 9, 2013 I can't use the friendly url. Have to use the id: http://mydomain.com/shop/cms.php?id_cms=29 So far, this is the only thing that works. Tried several variations - without the fully qualified path, it didn't work for me. Can I link a CMS page to external html pages? And display them in the main window? Link to comment Share on other sites More sharing options...
El Patron Posted December 9, 2013 Share Posted December 9, 2013 for non friendly the proper link would be (tested on 1.5.6.1) index.php?id_cms=(cms page id)&controller=cms in debug mode it wants you to add $lang=(default shop language) do not worry about this, nor run your shop in debug mode. Link to comment Share on other sites More sharing options...
Aardvark1971 Posted December 9, 2013 Author Share Posted December 9, 2013 Can I link a CMS page to external html pages? And display them in the main window? I have over 1,000 external html pages. How can I display this in the main window? Does anyone have a code example? Link to comment Share on other sites More sharing options...
El Patron Posted December 9, 2013 Share Posted December 9, 2013 you would probably need to use iframes, I am not familar with using them. You do however have to enable 'allow' iframes in 1.5.something... http://screencast.com/t/sSfeX35du6D I would post this particular question in a new post so more experienced community may help. Link to comment Share on other sites More sharing options...
Aardvark1971 Posted December 9, 2013 Author Share Posted December 9, 2013 Thank you! I will experiment with this further. 1 Link to comment Share on other sites More sharing options...
Recommended Posts