Goanna Posted April 8, 2004 Posted April 8, 2004 I have my index.php file set up so that TEXT_MAIN is displayed inside of an Infobox. It looks like this. <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => tep_customer_greeting()); $info_box_contents[] = array('align' => 'left', 'text' => TEXT_MAIN); new infoBox($info_box_contents); ?> Now, I would like to use the define mainpage contributions, which tells you to use this line. <?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?> How would I go about combining the two? I want to keep the infobox area, but I would also like to use the define mainpage contribution. Any help is greatly appreciated. Thank you.
Goanna Posted April 9, 2004 Author Posted April 9, 2004 Anyone know how to do this? Its been bugging me for quite some time now. I bet its pretty simple to do also.
Goanna Posted April 9, 2004 Author Posted April 9, 2004 Not what I am using. I am using the one that was included in the WYSIWYG editor package, not the standalone one. I guess ill download the regular one now though to see how the statement is formatted. Thanks.
Goanna Posted April 9, 2004 Author Posted April 9, 2004 Okay, well, I looked at a couple other versions of define mainpage, and they all use the same statement in index.php, and the statement does not make them show up in an infobox. If you dont mind, can you show me a copy of your index.php file if you have define mainpage installed, and it shows up in an infobox? Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.