Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

0racle

Archived
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • Real Name
    Louise

0racle's Achievements

  1. Ok, it's sorted, can't say what I did as I don't rightly know but all working great now, thanks. Now for round two. Take care all
  2. Guess the reason this doesn't work is an old add on, teach me to check the dates!
  3. See totally blonde! I hadn't tried it in firefox before only in i.e. therefore didn't associate the error witht the FAQ which I promise I had read. Right one little thing, I have 3 images on some products but now the pop up works there is no navigation between the 3 images, would a re-upload be needed? Thanks Spooks btw for the pointer and the great add on. Looks brill. Oracle
  4. Hi, I'm probably being very blonde but I'm in danger of turning grey after having tried this add on at least 5 times now! I did a fresh install so had no other add ons, I installed oscthumb which seemed to work fine. Next I did the simple multi image again. I've used a merge program to compare the files and really have tried so help would be much appreciated. On IE I have 3 images but no-pop up box. On firefox I get the pop up but no picture only lines of symbols. Everything is about to go out the window if I can't sort this :( Many thanks Oracle
  5. I'm still having problems with this, below is the code for the page. I have checked everything else so there must be an error in here. Please I really need help. Thanks <? /* mainpage.php ENGLISH by Matthijs - [email protected] This page will be shown on the first page of the catalog (default.php) instead of the standard message. You can write your php/html straight into this. This means you can drop in another table on the main page where you could create (manually) a featured product or just drop in some nice graphics. I've included a small sample below using existing box-code/stylesheets so you get the idea. BE AWARE that changes (and possible errors/typo's) are directly used by the catalog. There is no preview option, changes are directly 'live'. So be carefull. All changed and all fixes have been fixed for current snap shot... */ ?><!-- MAIN PAGE EXAMPLE START //--> <table width="100%" cellpadding="5" cellspacing="0" border=0> <tr> <td class="main" width=50% valign="top" align="right"> <?php $mainpage_title = "We've just installed the \"Define Mainpage\" module!"; $mainpage_info = " \"Define Mainpage\" module v1.3 by Matthijs ([email protected]) <p> This module demonstrates how easy it can be to adapt existing code in OSC.<br> 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.<p> You can edit the contents of this file from within the Admin ( -> CATALOG -> DEFINE MAINPAGE)<br> For other, less advanced layouts choose either German or Spanish from the language menu. (Provided you've installed those languages)<p>If you can't open/edit the /[language]/mainpage.php file you should probably set the right permissions. You'll get a warning anyway. <p>Todo? Future plans? World peace through superior fire power... ehmm.. <br>no I mean a preview option ;)<br> And perhaps make a few templates for the layout...<p> I'd appreciate an e-mail if you use this, I'm curious...<br> Later,<br> Mattice "; $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $mainpage_title ); new infoBoxHeading($info_box_contents, true, true); $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $mainpage_info); new infoBox($info_box_contents); ?> </td> <td width=30% valign="top" align="center"> <? $somebox_title = "Ratings..."; $somebox_info = tep_image(DIR_WS_IMAGES . 'stars_1.gif') . ' Sucks!<br>' . tep_image(DIR_WS_IMAGES . 'stars_2.gif') . ' Mwoah<br>' . tep_image(DIR_WS_IMAGES . 'stars_3.gif') . ' Okay<br>' . 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); ?> <p> <? $somebox_title = "Anouncement:"; $somebox_info = "<center>This website is powered by the best OpenSource e-commerce solution available on the market today:<p>" . tep_image(DIR_WS_IMAGES . 'oscommerce.gif') . '<p>Please contribute to this fantastic project!<br>Visit http://www.oscommerce.com for more details.</center>'; $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); ?> </td> </table> <!-- MAIN PAGE EXAMPLE END //-->
  6. I have redone this 3 times now with the same problem. Everything is in place except the link from Admin Define mainpage goes to a blank page. The page has been uploaded, I even went and re-downloaded the add on to make sure there were no problems with mine but still it's blank. Please has anyone got any suggestions? Thanks in advance
  7. Hope someone can help me. I uploaded the define mainpage add on but when in Admin if I click the link I get a blank page! Any ideas please? Everything else seems ok. Thanks Lou
×
×
  • Create New...