Author |
Message |
Topic: What framework to use? |
3e
Replies: 4
Views: 31920
|
Forum: Frameworks Posted: Wed Sep 24, 2008 12:49 pm Subject: What framework to use? |
http://www.cmsmadesimple.org
If you have any questions, ask! |
Topic: Xoops |
3e
Replies: 12
Views: 62942
|
Forum: Frameworks Posted: Wed Sep 24, 2008 12:43 pm Subject: CMS Made Simple! |
http://www.cmsmadesimple.org
Great cms using smarty |
Topic: list all potential smarty variables found in a template |
3e
Replies: 16
Views: 29091
|
Forum: General Posted: Thu Apr 24, 2008 1:36 am Subject: list all potential smarty variables found in a template |
This would seem like wisdom.
But what I'm doing is:
the cms I'm using (cms made simple) uses an API to generate form elements which are assigned to smarty vars which appear in templates...
Wh ... |
Topic: list all potential smarty variables found in a template |
3e
Replies: 16
Views: 29091
|
Forum: General Posted: Tue Apr 22, 2008 9:39 am Subject: list all potential smarty variables found in a template |
OK Thanks for the use of your brain.
Much appreciated. |
Topic: list all potential smarty variables found in a template |
3e
Replies: 16
Views: 29091
|
Forum: General Posted: Fri Apr 18, 2008 3:13 am Subject: list all potential smarty variables found in a template |
now I'm just posting another time so i can post the url for two posts back. (5 post minimum) |
Topic: list all potential smarty variables found in a template |
3e
Replies: 16
Views: 29091
|
Forum: General Posted: Fri Apr 18, 2008 3:13 am Subject: list all potential smarty variables found in a template |
I'm just looking for a more 'tight' solution that I can encapsulate into a function that appears 'part of smarty'
oh and we're currently only using php4! |
Topic: list all potential smarty variables found in a template |
3e
Replies: 16
Views: 29091
|
Forum: General Posted: Fri Apr 18, 2008 3:12 am Subject: list all potential smarty variables found in a template |
Thanks heaps!
I'll have a crack at that. Was hoping there'd be a function to do it.
Surely smarty forms such a list prior to replacing variables, maybe there is a way to access it?
Is there a rec ... |
Topic: list all potential smarty variables found in a template |
3e
Replies: 16
Views: 29091
|
Forum: General Posted: Fri Apr 18, 2008 12:01 am Subject: almost, but no cigar |
That's the wrong way round though...
get_template vars gives me teh vars that can be put into the template...
I need to parse the template and return all of the possible variables within... |
Topic: list all potential smarty variables found in a template |
3e
Replies: 16
Views: 29091
|
Forum: General Posted: Thu Apr 17, 2008 5:57 am Subject: list all potential smarty variables found in a template |
I would like to grab all the variables in a smarty template and use them to generate some data fields in a database.
eg
template:
{$variable name="var1"}<br />
{$ ... |
|