29-06-2011, 06:01 PM
30-06-2011, 07:55 AM
do you mean menu links?
if so, im not sure if it will work, but some php stuff like PPHP_SELF (i think)
may work, it would just take some trial and error...
later tonight i will see if i can get it working, and bring back my results...
if so, im not sure if it will work, but some php stuff like PPHP_SELF (i think)
may work, it would just take some trial and error...
later tonight i will see if i can get it working, and bring back my results...
30-06-2011, 12:40 PM
I mean some of my trade partner ask me to put their links only to my homepage not all of my pages.
And as i see there is only index.php in this script and everything will be visible on all pages...
And as i see there is only index.php in this script and everything will be visible on all pages...
01-07-2011, 09:47 AM
ahh ok, i know what you mean now...
umm where about are you preferring to put these links?
sidebar? footer? etc...
then i can work with the exact area you wish to show these links...
umm where about are you preferring to put these links?
sidebar? footer? etc...
then i can work with the exact area you wish to show these links...
01-07-2011, 11:32 AM
In the footer if possible but sidebar fine as well...Thanks!
01-07-2011, 12:30 PM
php_self seems to be always returning index.php...
even on other pages...
i will continue looking for an answer to this, because i am sure it is possible...
even on other pages...
i will continue looking for an answer to this, because i am sure it is possible...
01-07-2011, 05:36 PM
'PATH_INFO'
Contains any client-provided pathname information trailing the actual script filename but preceding the query string, if available. For instance, if the current script was accessed via the URL http://www.example.com/php/path_info.php...f?foo=bar, then $_SERVER['PATH_INFO'] would contain /some/stuff.
http://php.net/manual/en/reserved.variables.server.php
Contains any client-provided pathname information trailing the actual script filename but preceding the query string, if available. For instance, if the current script was accessed via the URL http://www.example.com/php/path_info.php...f?foo=bar, then $_SERVER['PATH_INFO'] would contain /some/stuff.
http://php.net/manual/en/reserved.variables.server.php
01-07-2011, 06:09 PM
you can place this code, in your templates index.php fle...
just above or below where you see
or something like that...
i had to include an "else" for some reason, i dont know why...
just above or below where you see
Code:
<? footer(); ?>
i had to include an "else" for some reason, i dont know why...
Code:
<?php
$page = $_SERVER['QUERY_STRING'];
if (empty($page)) {
?>
HTML CODE HERE
<?php
} else {
}
?>
01-07-2011, 11:20 PM
php codes are also work in free html areas