![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 151 Pomógł: 0 Dołączył: 4.03.2003 Ostrzeżenie: (0%) ![]() ![]() |
Witam, moze to proste, ale nie moge wpasc na to
mam takowy fragment pliku szablonu Kod {include file="$smarty.session.theme/header.tpl"}
$smarty.session.theme to jak wiadomo _SESSION['theme'] nie wiem jak to poprawnie wstawic moja propozycja powoduje ze, smarty wywala takowym bledem Cytat Fatal error: syntax error: $smarty. is an unknown reference
bede wdzieczny za wszelakie sugestie |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 127 Pomógł: 0 Dołączył: 19.11.2003 Skąd: Poznań Ostrzeżenie: (0%) ![]() ![]() |
Cytat "]Witam, moze to proste, ale nie moge wpasc na to
mam takowy fragment pliku szablonu Kod {include file="$smarty.session.theme/header.tpl"}
$smarty.session.theme to jak wiadomo _SESSION['theme'] nie wiem jak to poprawnie wstawic moja propozycja powoduje ze, smarty wywala takowym bledem Cytat Fatal error: syntax error: $smarty. is an unknown reference
bede wdzieczny za wszelakie sugestie U mnie działa coś takiego Kod {include file=$centerTpl}
wniosek z tego że smarty chyba źle interpretuje string w " - moze zadziala Kod {include file=$smarty.session.theme"header.tpl"} - strzelam bo nie mogę akurat sprawdzić.
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 11.10.2025 - 19:27 |