Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

A simple programming question…
 
atlantide
Sr. Member
 
Avatar
Total Posts:  187
Joined:  2008-02-16
France
 

Hello,

I am not very skilled at programming, and I just have a little question. I would like to add a link in a CMS page, pointing at the same URL, with a suffix added :

Current page :
wwww.mywebsite.com/magento/my-current-page

on this page, I would like a link that point at :
wwww.mywebsite.com/magento/my-current-page-imp

Who could I do to add “-imp” to the current URL, and to set that as a link ?

Thanks for your help

ps : that’s in order to make a popup print page, with the same CMS content, but a different layout.
ps 2 : of course I could write the complete link URL by myself, but I will have a great number of CMS page, and that then I would’nt have to change the code for each.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top