Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

skipwater

Archived
  • Posts

    41
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by skipwater

  1. 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. 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.
  3. 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)
  4. 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.
  5. 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 >_<
  6. 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.
  7. what about the pages_description table is that have data?
  8. When you installed it did you run the sql update file. This would have populated some records with sample data.
  9. The table you should be looking at is pages_description table:
  10. Take a look at this if you have not seen it yet. http://www.oscommerce.com/forums/index.php?s=&...ndpost&p=687679 Also check what is in the sql record to see if the page title is there. :thumbsup:
  11. 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');
  12. 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:
  13. 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?
  14. 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.
  15. 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?
  16. 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> '; } } } ?>
  17. More info need: <_< Place php echo statements in the code to see where and what file is failing.
  18. 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)
  19. 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 //-->
  20. 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.
  21. 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:
  22. 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:
  23. 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?
  24. 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.
×
×
  • Create New...