Community « Discussion forum « Bug tracker «
/index.php how-to question
What's the best way to customize /index.php display differently than /yacs/index.php
I see that the top level index.php is coded to look for /index.php was well as /yacs/index.php. What I would like to achieve is for /index.php to display the cover article and a gadget, while /yacs/index.php displays an article listing (slashdot flavor, probably.)
I tried an experiment/hack with something like
But this didn't seem to work...I got the same markup generated at / and /yacs.
What is a good way to create a different page at / ?
Thanks,
Rod
I tried an experiment/hack with something like
cd yacs
cp index.php ..
vi ../index.php
# edit code logic in index.php to always show cover article
But this didn't seem to work...I got the same markup generated at / and /yacs.
What is a good way to create a different page at / ?
Thanks,
Rod
Problem has been recorded
| Bernard from nearby-an-airport Associate, 6995 posts | Rod, you did the right thing, in my opinion. /index.php and /yacs/index.php are two different scripts, and could be changed separately. By default YACS attempts to maintain exact copies for these files, and you have to change the configuration panel for scripts to avoid the topmost file to be replaced on software update.
|
Rod![]() 52 posts | Bernard: Where in the control panel do make that configuration change for scripts? I'm looking and I don't see it (yet). Thanks, Rod |
| Bernard from nearby-an-airport Associate, 6995 posts |
Rod: Select the configuration panel dedicated to upgrades ... |

