Can some one explain to me if the page['header'] result is the same as what we see in the title or browser tab.
Can some one explain to me if the page['header'] result is the same as what we see in the title or browser tab.
|
I don't know but I would guess header is either the HTML header <head></head> or the sub header part generated by _sub_header.html Geeks, making the world a better place |
okay let me explain what i do.. i have splashpage and i only want some pages to be viewed by guests. if ((int)$_COOKIE['memberID'] == 0) { all the pages work but not the listing! when i put the listingname there or part of listing name it works fine.
|
Yes. $_page['header'] is the title. https://www.deanbassett.com |
deano, what I mean is that if use a part of the business name it works fine. example: title = mycompanyname | LA | my sitename it strstr("header_info", "company") but i have a new title = Look at this: mycompanyname | LA | my sitename --> Look at this: is tekst what i added myself it strstr("header_info", "Look at this") it doesn't work. I hope you get it what i mean..
Better explanation please.
|
Still not quite understanding. https://www.deanbassett.com |
The title is set like this: $this->_oTemplate->setPageTitle ('Listing: ' . $sTitle . ' | '. $sLocation . ' | '. $sSiteTitle); and in the design.inc.php i have your code to check if want a guest to return or stay on splashpage or allow guest to view the page i want.
what does the $_SERVER['REQUEST_URI'] return? do you have a example for me.. i used your code you posted on another forum post a while back. if ((int)$_COOKIE['memberID'] == 0) { |
Oh, Ok. because of the way the title got changed, the title may be in a different variable. https://www.deanbassett.com |
DEANO, you are the best!!! that did it. :-)) thank you for your help. |