Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

skipwater

Members
  • Content count

    41
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by skipwater

  1. skipwater

    Contribution Issue

    In the file catalog/includes/column_left.php you will see the infoboxs listed just change the order in the list. Example: require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); // at bottom of list require(DIR_WS_BOXES . 'information.php'); // at top of list require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php');
  2. Thanks for the info :thumbsup:
  3. I am working on the same issues. You will find that the status comes from the payment section. What I am trying to do is if the customer is downloading demo software I would like to do it this way. 1. Customer adds demo software to cart. 2. Checkout if no account then create one else login. 3. Once customer is in system then goto download file link. Sounds simple Ha! So if anyone has tried this or has a work around lets here about it.
  4. skipwater

    Contribution Issue

    I have been running $Id: page_manager.php,v 1.73 2003/06/29 22:50:51 hpdl Exp $ for more then a year and have over 40 pages running under 5 different page types (info boxes) and 6 to 8 External link types pages. Yes, I agree this package is very limited if you can only use the admin section. But if you can edit and add records to the sql table and add some code to the php pages. It will allow the end user to modify and edit the pages with there browser. B)
  5. skipwater

    Contribution Issue

    You might want to look at CRE LOADED 6.15 I have used this for a couple customers and it has the page control plus tons of other options already built in.
  6. skipwater

    Contribution Issue

    At this point there is something missing. The only suggestion I have at this point is back up your sql database and the delet the page tables and then reload the tables. Then check the page code that was added to osc or just replace it. Good Luck >_<
  7. skipwater

    Contribution Issue

    You might have a bad record ID 10 no data. This might be your error because no data in Page title. If you delete it you must delete the matching record in page table. So you might just want to place sample data in for now.
  8. skipwater

    Contribution Issue

    what about the pages_description table is that have data?
  9. skipwater

    Contribution Issue

    When you installed it did you run the sql update file. This would have populated some records with sample data.
  10. skipwater

    Contribution Issue

    The table you should be looking at is pages_description table:
  11. skipwater

    Contribution Issue

    Take a look at this if you have not seen it yet. http://forums.oscommerce.com/index.php?s=&...ndpost&p=687679 Also check what is in the sql record to see if the page title is there. :thumbsup:
  12. skipwater

    Contribution Issue

    You need to setup the admin section. If I remember the external link section did not work so you may have to edit the sql table pages_description with phpmyadmin or what ever you use to work on your mysql data base. And add the external file name to /includes/filenames.php example: // FAQ define('FILENAME_FAQ', 'faq.php');
  13. skipwater

    Contribution Issue

    This might help? I used the same approach as the original code. The reason was who wants to keep track of page IDs. if($page['pages_title'] != 'Contact Us'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_CONTACT_US; } if($page['pages_title'] != 'System Registration'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_CREATE_REGISTER; } if($page['pages_title'] != 'Frequently Asked Questions'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_FAQ; } In the admin section you will define the matching page titles. This should get you going :thumbsup:
  14. skipwater

    Contribution Issue

    Line 392 You have <td class="main"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></td> Should be <td class="main"><?php echo $page_check[pages_html_text]; ?></td> This might fix?
  15. skipwater

    Contribution Issue

    Not good :( disable WYSIWYG in the admin and use info pages index. If you really need WYSIWYG index then you will have to edit out the hard coding that info page adds to handle the index page and others that are in the drop down list in the admin.
  16. skipwater

    Contribution Issue

    Is there a image error box if so where is it looking for the image. And is that where you have the image you want displayed?
  17. It looks like you have an extra } see below if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; // Try Removing this } // } else { // create category/product info $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>'); $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; // Add neccessary JS for WYSIWYG editor of category image if($action=='edit_category'){ if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){ echo ' <script language="JavaScript1.2" defer> var config = new Object(); // create new config object config.width = "250px"; config.height = "35px"; config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;"; config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . '; config.toolbar = [ ["InsertImageURL"] ]; config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '"; editor_generate("categories_image",config); </script> '; } } } ?>
  18. skipwater

    Contribution Issue

    More info need: <_< Place php echo statements in the code to see where and what file is failing.
  19. skipwater

    Contribution Issue

    Found the answer to your question: php addslashes The PHP directive magic_quotes_gpc is on by default, and it essentially runs addslashes() on all GET, POST, and COOKIE data. Do not use addslashes() on strings that have already been escaped with magic_quotes_gpc as you'll then do double escaping. The function get_magic_quotes_gpc() may come in handy for checking this. B)
  20. skipwater

    Contribution Issue

    Under admin page manger you should have a index page already there all you have to do is add the text you want. This is how your index page should look. This is page manager: Displays page manager text echo $page_check[pages_html_text]; This is New Products: Displays Products that meet new status. include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); This is Upcoming Products: Displays Products that meet upcoming status. include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); <!-- page manager --> <tr> <td class="main"><?php echo $page_check[pages_html_text]; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> </table></td> </tr> </table></td> <?php } ?> <!-- body_text_eof //-->
  21. There was a very good explanation how to fix this on this board but I do not remember where. So bear with me on my memory of the statement. What is happing the mail and newsletter code is translating the new lines you use to form your message wrong. The work around is to have just a stream of data with no new lines. Example: This is a normal email layout. Dear Sir, It has been a long time since we have spoke. This email is to contact you in reference to a show that we are having in your city. Please replay to this email if you are able to join us. This is how you should insert it into osc email newletter. Dear Sir,It has been a long time since we have spoke.This email is to contact you in reference to a show that we are having in your city.Please replay to this email if you are able to join us. To my knowledge no one has fixed the code. If you find that someone has fixed the new line errors. Post the fix.
  22. To start let me say this is one of the best contributions for osC. I have been searching for an example of "Link To File" file manager that is used with HTML WYSIWYG V1.7 By Lee Nielsen : MaxiDVD. I have read where it talks about the extra uses that it could be used for. And I have a simple application for Link to File that I am trying to do. What I would like is to be able to call "Link to File" from the Products URL: field the same way Jypsy calls the image manager from the Products Image: field. Has any one seen or heard of any other use of Link to File. That you could point me to. Any help in this matter would be appreciated. :thumbsup:
  23. skipwater

    Contribution Issue

    I would suggest to install WYSIWYG Editor 1.7 with all of it's updates. There was a bug in all these types of editors that doubled up on the escape codes "\". If I remember this happened when you viewed the code as HTML and source and back again. Or was it preview then back to edit. Sorry :huh: just don't remember. I did not use the editor that came with Extra Pages because WYSIWYG Editor 1.7 allows you to use it with email, newsletter, catalog products etc. If you enter this in without html on: <FONT face="Georgia, Times New Roman, Times, serif" size=4>This is a test</FONT> It should display like this: This is a test Here is a screen shoot of WYSIWYG config menu: After all done and said it the HTML editor that is giving you the trouble. Hope this helped :thumbsup:
  24. skipwater

    Contribution Issue

    Let me just say this contribution rocks :D This contribution combined with these others allow any user to create and maintain there web pages other then just the products. Here is what I am using and have no issues at all. Extra Pages Infobox Version 4.1 http://www.oscommerce.com/community/contributions,2021 WYSIWYG HTMLArea (MULTI-LINGUAL) http://www.oscommerce.com/community/contributions,1347 WYSIWYG HTMLArea Extra Pages Patch WYSIWYG HTMLArea Patch Sitemap with Extra Pages Mod http://www.oscommerce.com/community/contributions,2208 Compatibility with Extra Pages-InfoBox CROSSOVER (again+1) With this install you do not need /catalog/admin/editor at all. Niel when you open your MYSQL PAGES DESCRIPTION is there data?
  25. I don't know the osc rules on coding :? Yes it might be better to do that way. But the way it is the user can not change the group that the admin assigned them to. Only the admin can set the customer groups and customers within the group.
×