Bull Owners Business
Skip Navigation Links
 
 
  Top
We've just installed the "Define Mainpage" module!
"Define Mainpage" module v1.3 by Matthijs (mattice@xs4all.nl)

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 those languages)

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...
Later,
Mattice

' . tep_image(DIR_WS_IMAGES . 'stars_2.gif') . ' Mwoah
' . tep_image(DIR_WS_IMAGES . 'stars_3.gif') . ' Okay
' . tep_image(DIR_WS_IMAGES . 'stars_4.gif') . ' Cool!'; $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $somebox_title ); new infoBoxHeading($info_box_contents, true, true); $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $somebox_info); new infoBox($info_box_contents); ?>

This website is powered by the best OpenSource e-commerce solution available on the market today:

" . tep_image(DIR_WS_IMAGES . 'oscommerce.gif') . '

Please contribute to this fantastic project!
Visit http://www.oscommerce.com for more details.'; $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $somebox_title ); new infoBoxHeading($info_box_contents, true, true); $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $somebox_info); new infoBox($info_box_contents); ?>