| Re: In the theme.html, can I know when the "Homepage" is being shown? |
| by chadm on 2009/3/26 22:57:30 I had to revisit this again and wanted to post an addendum to the solution. The variable $xoops_requesturi will contain either "/" or "/index.php" when you are on the "home" page of the site. Just thought i'd share if anyone cares... |
| Re: In the theme.html, can I know when the "Homepage" is being shown? |
| by chadm on 2009/1/28 21:31:53 I searched and searched for something to help. The link you provided reminded me of something I should have known! I turned on Smarty Debug and realized I could use the variable: $xoops_requesturi For the top page that variable is "/" Any other page inside any other module will have /modules/mymodule/index.php=id=1 or whatever! Thanks for the link, it solved my issue; indirectly but I found a solution! THANKS! |
| Re: In the theme.html, can I know when the "Homepage" is being shown? |
| by deka87 on 2009/1/28 18:21:19 If I get you rite, then you should take a look here: https://xoops.org/modules/newbb/viewtopic.php?topic_id=66581&viewmode=flat&order=ASC&type=&mode=0&start=0. |
| In the theme.html, can I know when the "Homepage" is being shown? |
| by chadm on 2009/1/28 18:04:30 We are using an older version of XOOPS 2.0.13.2. The site is restricted to about 6 internal IP addresses so please don't suggest that my first step is to upgrade... :) Inside the theme is there a parameter to check so that I know when the "Homepage" is being displayed? We want to display something special in a certain content area, but we also want all of the dynamic XOOPS blocks to show as well. Please let me know if my question does not make sense! THANKS! |