|
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 |
thomas22 Smarty n00b
Joined: 08 Jan 2004 Posts: 3
|
|
Back to top |
|
andre Smarty Pro
Joined: 23 Apr 2003 Posts: 164 Location: Karlsruhe, Germany
|
Posted: Thu Jan 08, 2004 7:28 am Post subject: |
|
|
That's the way HTML and HTTP works...
Try <a href="http://www.google.com">logout</a>. This should work. Otherwise your browser will think it's a relative url (e.g. http://mydomain.com/www.google.com) instead of an absolute one. |
|
Back to top |
|
thomas22 Smarty n00b
Joined: 08 Jan 2004 Posts: 3
|
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Thu Jan 08, 2004 1:15 pm Post subject: |
|
|
smarty doesn't look after images or css files at all. your browser does. and it does it relative to the php-file you called that called $smarty->display() and not relative to where the templates are. the templates may be not accessible by the browser at all (below the webroot). |
|
Back to top |
|
thomas22 Smarty n00b
Joined: 08 Jan 2004 Posts: 3
|
|
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
|