Smarty links
Posted in Help the coder! on Nov 9, 2009 at 00:31 IST (9 months ago). Subscribe to this post
Email
Showing comments 1 to 1 of total 1 on page 1 of 1
Post replyShowing comments 1 to 1 of total 1 on page 1 of 1
« Previous1Next »
earthoneRank: 88
Ok so I created a small page using smarty, now what I need to do is create a link to the page(s).
The set the page up so that it will display information for the individual user and not to everyone, also the pages are created dynamically.
So I need to create a link using $groupid the link should point to an html page that is created dynamically for each user, the group id would be the name of the page ie. 1.html. The $groupid is assigned when they login.
I tried writing the link like $groupid.html, {$groupid.html}, {$groupid}.html but its not showing the page based on the logged in user.
In short each user is assigned an id when logged in and I need to be able to parse a link based on the id assigned when logged in.
Any help would be great thank you.
The set the page up so that it will display information for the individual user and not to everyone, also the pages are created dynamically.
So I need to create a link using $groupid the link should point to an html page that is created dynamically for each user, the group id would be the name of the page ie. 1.html. The $groupid is assigned when they login.
I tried writing the link like $groupid.html, {$groupid.html}, {$groupid}.html but its not showing the page based on the logged in user.
In short each user is assigned an id when logged in and I need to be able to parse a link based on the id assigned when logged in.
Any help would be great thank you.
Posted by earthone on Monday, November 9, 2009, 12:31 am
Pages: « Previous1Next »