how to call current url in variable

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am

Re: how to call current url in variable

Post by nicmare »

try

Code: Select all

{assign var=currentpath value=$smarty.server.REQUEST_URI}
{$currentpath}
Post Reply

Return to “CMSMS Core”