1
Hi Guys,
I have an interesting question, I have built a module that runs pretty much all pages for a site, however I would like to edit the homepage to be similar to the rest of the site, so I can change the right block on the home page.
currently I am adding code between the header and footer part of the code on the standard index.php file in root.
here is where it gets interesting.
echoing simple divs, text etc, it all works fine.
then i add the code that works fine in the index.php file of the module i have made.
I get nothing in the content area at all!
so I undo my changes and revert to the simple echo of some divs and text, and still i get nothing.!!??
any changes from then on are pointless as nothing apears in the content area.
first i tried this on the xoopsurl.com/ domain, once it dissapeared, it reappeared when i typed xoopurl.com/index.php
but repeating the process gained exactly the same result with all dissapearing once reverting to original code after the change.
there is nothing to tricky about the php code im trying to run in index.php as im not that advanced in php myself.
i feel it may be liked to where i am adding the code to the root index.php file, or something with session memory as it /index.php was seperate from / .
any help would be greatly appreciated.
thanks
steve.
XOOPS Version - XOOPS 2.3.2
PHP Version - 5.2.6
MySQL Version - 5.0.67-community
Server API Version - apache2handler
OS Version - WINNT