|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
manishb Smarty n00b
Joined: 10 Mar 2015 Posts: 1
|
Posted: Tue Mar 10, 2015 5:08 pm Post subject: How to link to other pages |
|
|
Am very new to smarty. I tried and moved a wee bit forward. My footer page which is the footer.tpl has a few hyperlinks to other pages.
Code: |
<a href="aboutus.php" title="About">About us</a>
<a href="contactus.php" title="Contact">Contact us</a>
<a href="policy.php" title="Privacy policy">Private policy</a>
<a href="terms.php" title="Terms and conditions">Terms and conditions</a> |
I have converted all pages from php to tpl. Now how do i link them. Should I use aboutus.tpl instead of aboutus.php? |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Tue Mar 10, 2015 7:48 pm Post subject: |
|
|
No. You link to what your visitors see. They don't see your templates. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|