"Define Mainpage" module v1.3 by Matthijs (firstname.lastname@example.org)
This module demonstrates how easy it can be to adapt existing code in OSC.
All I had to do was add one single line to define_languages.php (admin) to make
sure it always looks for the mainpage.php file. Obviously I had to then implement it
in the Admin & Catalog side, but that's not a big deal as you've just found out.
You can edit the contents of this file from within the Admin ( -> CATALOG -> DEFINE MAINPAGE)
For other, less advanced layouts choose either German or Spanish from the language menu. (Provided you've installed
If you can't open/edit the /[language]/mainpage.php file you should probably set the right permissions. You'll get a warning anyway.
Todo? Future plans? World peace through superior fire power... ehmm..
no I mean a preview option ;)
And perhaps make a few templates for the layout...
I'd appreciate an e-mail if you use this, I'm curious...