Nout - Zon Executive Posted October 25, 2010 Report Share Posted October 25, 2010 Is it possible to implement pages sub directories. Such as index.php/pages/training/b747 will show core/pages/b747.htm index.php/pages/operations/fleet will show core/pages/fleet.htm I am getting a lot, a lot and a lot of custom content, and being able to pop it all in sub directories would be very useful. Regards, Nout Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 25, 2010 Administrators Report Share Posted October 25, 2010 I would build a module to accomplish what you are trying to do, then you can just drop your tpl files into your skin folder. something like file -> root/core/modules/Mycontent/Mycontent.php <?php class Mycontent extends CodonModule { function b747() { $this->render('b747.tpl'); } function b737() { $this->render('b737.tpl'); } } then build your pages and name them b747.tpl and b737.tpl and drop them in your skin folder You can then reach the pages simply by linking to www.mysite.com/index.php/Mycontent/b747 and www.mysite.com/index.php/Mycontent/b737 you can add as many functions (read pages) as you would like 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.