Antworten: 7
Seite [1] |
|||
Tybo Wannabe poster Beiträge: 21 |
# Thema - 13.11.2007 um 22:56 Uhr
Hi, I want to put template code like : {users:navlogin} in static page but this only display the text (and not the file.tpl needed). How can I do that? (I tried to copy the php code found in the mod directory but this doesn't work for the administration and system links). Another question : How is it possible to show directly the number of message with {messages:new}? Thanks! ------------------ |
||
Inaktiv |
|
||
Fredd<y Poststar Beiträge: 766 |
# Antwort: 1 - 14.11.2007 um 14:23 Uhr
I believe you can't use "Platzhalter" like {users:navlogin} in static pages. Furthermore I believe you can't use Php orders in static Sites. ------------------ KBs speichern, Produktion ausrechnen, Spioberichte speichern...
Machs dir einfach! (System for Intelligence, Cooperation and Combat) |
||
Inaktiv |
|||
duRiel Weltmeister Herkunft: Cambridge Beiträge: 7300 |
# Antwort: 2 - 14.11.2007 um 18:23 Uhr
hi! you can use php in static pages, just put [phpcode] around it. so the easiest thing should be:
greetings duRiel |
||
Inaktiv |
|||
Tybo Thread-Ersteller Wannabe poster Beiträge: 21 |
# Antwort: 3 - 14.11.2007 um 20:48 Uhr
Thanks a lot! But this is not showing admin and system... any idea? Tybo ------------------ |
||
Inaktiv |
|||
duRiel Weltmeister Herkunft: Cambridge Beiträge: 7300 |
# Antwort: 4 - 14.11.2007 um 21:23 Uhr
hm yeah i think i know whats going on.. try to put all the content of the navlogin.php in the static page inside the phpcode tag instead of including the site, but might be the same problem |
||
Inaktiv |
|||
Tybo Thread-Ersteller Wannabe poster Beiträge: 21 |
# Antwort: 5 - 15.11.2007 um 18:16 Uhr
Yes, that's what I tried before but it's the same problem... ------------------ |
||
Inaktiv |
|||
duRiel Weltmeister Herkunft: Cambridge Beiträge: 7300 |
# Antwort: 6 - 15.11.2007 um 19:29 Uhr
ok, then do
|
||
Inaktiv |
|||
Tybo Thread-Ersteller Wannabe poster Beiträge: 21 |
# Antwort: 7 - 15.11.2007 um 21:33 Uhr
Ok this seems to work. Thanks! ------------------ |
||
Inaktiv |
|||
Dieses Thema wurde von duRiel geschlossen. |
|||
Antworten: 7
Seite [1] |