4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
[2023-01-23] 4images 1.10 released
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
integrating file question
« previous
next »
Print
Pages: [
1
]
Author
Topic: integrating file question (Read 6101 times)
0 Members and 1 Guest are viewing this topic.
killerwhale65
Newbie
Posts: 19
integrating file question
«
on:
March 14, 2006, 04:11:52 PM »
hi,
i have successfully integrated a new php file into search_form.html.
Now i want to use {category_dropdown} in this new php file, but it does not show up. What did i do wrong?
thanks!
Logged
killerwhale65
Newbie
Posts: 19
Re: integrating file question
«
Reply #1 on:
March 15, 2006, 01:07:11 PM »
anyone please?
Logged
IcEcReaM
Hero Member
Posts: 714
Re: integrating file question
«
Reply #2 on:
March 24, 2006, 06:41:37 PM »
i think the problem is, that the {category_dropdown} tag in the new php file in the template,
is not parsed.
what is in the php file, just html?
Logged
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: integrating file question
«
Reply #3 on:
March 25, 2006, 12:23:49 AM »
You can not use any of the 4images template tags in included through templates files. But, you can use
echo $this->val_cache['
tag name
'];
i.e.
echo $this->val_cache['category_dropdown'];
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
killerwhale65
Newbie
Posts: 19
Re: integrating file question
«
Reply #4 on:
March 25, 2006, 12:45:02 PM »
wonderfull thanks
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: integrating file question
«
Reply #5 on:
March 25, 2006, 03:34:41 PM »
hmm...just realised, since v1.7.1 you can use:
echo $category_dropdown;
Every tag become a variable, I think...
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
integrating file question