![Smarty Forum Index Smarty Forum Index](templates/smarty/images/phpbb2_logo.gif) |
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 |
deLL Smarty n00b
Joined: 30 Jun 2010 Posts: 1
|
Posted: Wed Jun 30, 2010 2:48 pm Post subject: Edytowanie jednej wartości w innym pliku |
|
|
W pliku index.php mam taką oto linijkę:
Code: | $index->assign("SRODEK", $srodek); |
Oraz potem taką: Code: | $index->display('index.tpl'); |
I moje pytanie brzmi. Czy da się zrobić tak, aby.. Hmm... Stworzyć nowy plik (news.php) i edytować w nim tylko tą wartość (SRODEK)? |
|
Back to top |
|
fornve Smarty Rookie
![](images/avatars/57060713648215cad418f8.png)
Joined: 25 Apr 2008 Posts: 29 Location: Sheffield, UK
|
Posted: Sat Sep 04, 2010 11:14 pm Post subject: |
|
|
Na to pytanie chyba nie bedzie odpowiedzi, chyba ze 'Co ma piernik do wiatraka'.
Przykro mi ale nie bardzo wiadomo o co chodzi. |
|
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
|