You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
Pages: 1
Hi, me again.. I am trying to understand where the statement would go to be able to change how the flash header would not be shown on a particular page.
I see the txt you wrote in the header.tpl.php:
You can also display different things for different pages using if statements or a switch statement.
The $this->IS_CMD value holds the current page. ie, for the homepage:
if ($this->IS_CMD=='home') {
}
or
switch ($this->IS_CMD) {
case 'home':
do something..
break;
case 'add-recipe':
do something..
break;
}
I guess I am not smart enough to know where to put the IF or Switch statements to display the different things for different pages.
What I was hoping to do is keep the flashheader from showing up (dont want it) on my about us page.
Thank so much!
Offline
Just enclose the flash code with the following:
if ($this->IS_CMD!='about-us') {
}
Offline
Thanks David, I appreciate your help.
Offline
Anytime. ![]()
Offline
Pages: 1