BuddahBoy Posted September 15, 2005 Share Posted September 15, 2005 Greets - read through the thread but didn't find an answer to my small question, hope someone can gimme a heads up on this one. On my "Contact Us" page I added text above the contact form fine - this contrib is working good for me - I did install the 4.3 version and had some starange errors in the admin section so I went back to my 3.2.4 files and all is good again. The question I have is, on the "contact us" page, I can't find out where to access the page with the form on it - and the form has "Name:" WITHOUT a field by it and then another "Name:" WITH a field - would like to correct that but can't find where - any help? Thanks much. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 17, 2005 Share Posted September 17, 2005 (edited) Hello, I'm new on the forum (I normaly uses the Dutch forum) and I can't find anything about this problem: I'm using extra pages infobox v4.3 in a mutli language store. The default language is Dutch, and the customer can switch to English. In Dutch everything is working fine, but the problem is when the shop is in English and the customer chooses for example Shipping in the Information box, the whole shop will switch to Dutch again and shows the Dutch shipping info. When the customer choose for English at this moment, the whole shop and the shipping info switches to English..... Please can anyone gif me a solution please To explane what i mean, visit the shop at ToysBezuur.nl Thanks for your reactions.... Ruud Oosthuizen RuMarSiEs.nl Edited September 17, 2005 by rumarsies Quote Link to comment Share on other sites More sharing options...
Guest Posted September 27, 2005 Share Posted September 27, 2005 Hello! I?m very satified with this contribution but I have one more question. I need one more box so i can have separate boxes f?r product info and customer info. Is that possible in an easy way? Quote Link to comment Share on other sites More sharing options...
jbiggs77 Posted September 28, 2005 Share Posted September 28, 2005 Has anyone gotten this to work successfully with STS? I tried to install this earlier and it shifted all my content down and put an extra info box where the content begins. Quote Link to comment Share on other sites More sharing options...
Fredrik.r Posted October 10, 2005 Share Posted October 10, 2005 I need some help with this; The code in boxes/info_pages.php was earlier if($page['pages_title'] != 'Contact Us'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_CONTACT_US; } I've changed it to if($page['pages_id'] != '2'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_CONTACT_US; } Now I want it to be if id=2 show FILENAME_CONTACT_US if id=3 show FILENAME_KUNDTJANST if id=4 show FILENAME_XXXX and so on if the id is none of the ones above use FILENAME_PAGES . '?pages_id=' . $page['pages_id']; Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 10, 2005 Share Posted October 10, 2005 I need some help with this; The code in boxes/info_pages.php was earlier if($page['pages_title'] != 'Contact Us'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_CONTACT_US; } I've changed it to if($page['pages_id'] != '2'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_CONTACT_US; } Now I want it to be if id=2 show FILENAME_CONTACT_US if id=3 show FILENAME_KUNDTJANST if id=4 show FILENAME_XXXX and so on if the id is none of the ones above use FILENAME_PAGES . '?pages_id=' . $page['pages_id']; 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: Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Fredrik.r Posted October 11, 2005 Share Posted October 11, 2005 Thank you! I can't get it to work though. It only works for one of them.. Doesn't "else" need to be beneath all if's? I'm no good at coding php.. :) Sorry, I meant page_type. I want it to track page_type. If page_type=3 use shipping.php, if page_type=2 use contact_us.php and so on. I will then change the droplist in page_manager.php with my own pages, lets say faq.php is page_type 4. Then my clients can modify the pages and Header Tags Controller can put tags in them.. And if my clients want to add new pages, they just choose page type 9 (old pages). As long as they do not change page types that could work, right? Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 11, 2005 Share Posted October 11, 2005 Thank you! I can't get it to work though. It only works for one of them.. Doesn't "else" need to be beneath all if's? I'm no good at coding php.. :) Sorry, I meant page_type. I want it to track page_type. If page_type=3 use shipping.php, if page_type=2 use contact_us.php and so on. I will then change the droplist in page_manager.php with my own pages, lets say faq.php is page_type 4. Then my clients can modify the pages and Header Tags Controller can put tags in them.. And if my clients want to add new pages, they just choose page type 9 (old pages). As long as they do not change page types that could work, right? 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'); Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Mookie_Jam Posted October 11, 2005 Share Posted October 11, 2005 whats wrong?? I only get this error... Error: Page title required. Error: Page title required. Error: Page title required. Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 12, 2005 Share Posted October 12, 2005 whats wrong?? I only get this error... Error: Page title required. Error: Page title required. Error: Page title required. 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: Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Mookie_Jam Posted October 12, 2005 Share Posted October 12, 2005 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: Thanks for the help!! Made the changes in the code, but not sure qhat to do in the SWL :blush: Can you see something wrong? Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 12, 2005 Share Posted October 12, 2005 Thanks for the help!!Made the changes in the code, but not sure qhat to do in the SWL :blush: Can you see something wrong? The table you should be looking at is pages_description table: Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Mookie_Jam Posted October 12, 2005 Share Posted October 12, 2005 I think I can't get it.... >_< :( I made changes to the table as you said, and now it looks this way. But no result and it keeps without working.. Error Error: Page title required. Error Error: Page title required. Error Error: Page title required. No idea how to fix it... Quote Link to comment Share on other sites More sharing options...
Mookie_Jam Posted October 18, 2005 Share Posted October 18, 2005 any clue? :unsure: Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 18, 2005 Share Posted October 18, 2005 any clue? :unsure: When you installed it did you run the sql update file. This would have populated some records with sample data. Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Mookie_Jam Posted October 18, 2005 Share Posted October 18, 2005 When you installed it did you run the sql update file. This would have populated some records with sample data. Yes... Even I tryed it again if maybe I did something wrong and it gaves me the error that the table already exists, so it means I had already done it... Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 18, 2005 Share Posted October 18, 2005 Yes... Even I tryed it again if maybe I did something wrong and it gaves me the error that the table already exists, so it means I had already done it... what about the pages_description table is that have data? Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Mookie_Jam Posted October 18, 2005 Share Posted October 18, 2005 here are the contents of pages and here of pages_description :huh: Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 18, 2005 Share Posted October 18, 2005 here are the contents of pages and here of pages_description :huh: 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. Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Mookie_Jam Posted October 19, 2005 Share Posted October 19, 2005 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. I have deleted the row, tryed to create a new page, and again the same error... Also tryed to change the text for the index file, and also the error: Error Error: Page title required. Error Error: Page title required. Error Error: Page title required. can't understand how I am the only one... Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 19, 2005 Share Posted October 19, 2005 I have deleted the row, tryed to create a new page, and again the same error... Also tryed to change the text for the index file, and also the error: Error Error: Page title required. Error Error: Page title required. Error Error: Page title required. can't understand how I am the only one... 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 >_< Quote If only I could remember that. Link to comment Share on other sites More sharing options...
skipwater Posted October 19, 2005 Share Posted October 19, 2005 I have deleted the row, tryed to create a new page, and again the same error... Also tryed to change the text for the index file, and also the error: Error Error: Page title required. Error Error: Page title required. Error Error: Page title required. can't understand how I am the only one... 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. Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2005 Share Posted October 20, 2005 Hi all, First of all I would like to say: great contribution! Second, when installed I have the following error messages: Page Manager Pages Page Type Sort Order Status Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/smallcra/public_html/test/catalog/admin/page_manager.php on line 591 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 18 Does any-one know how to solve this problem? Thanks in advance! Best regards Geeraard Quote Link to comment Share on other sites More sharing options...
neurotoxic Posted October 25, 2005 Share Posted October 25, 2005 I've installed the contribution, and all seems to be working correctly. However, though others asked before, I've still found to answer as to why there is a 9-page limit? What nebulous reason is there to limit the total number of pages to 9, how is it accomplished and what can we do to circumvent this particularly problematic issue? As I see it, the 9 options offered are somehow supposed to be used as templates, or whatever. But chosing any does not seem to make any difference. So besides being a feature that has no use, it brings with it some weird limit. I know I'm being an ass, but I'm a bit frustrated. I just can't understand how this came to be integrated in a contribution taht would otherwise be very useful. Especialy since it states "Now you can make as many as you want" here: http://www.oscommerce.com/community/contri...ons,2021/page,5 /rant Thank you to anyone who can bring some insight. Quote Link to comment Share on other sites More sharing options...
skipwater Posted October 25, 2005 Share Posted October 25, 2005 I've installed the contribution, and all seems to be working correctly. However, though others asked before, I've still found to answer as to why there is a 9-page limit? What nebulous reason is there to limit the total number of pages to 9, how is it accomplished and what can we do to circumvent this particularly problematic issue? As I see it, the 9 options offered are somehow supposed to be used as templates, or whatever. But chosing any does not seem to make any difference. So besides being a feature that has no use, it brings with it some weird limit. I know I'm being an ass, but I'm a bit frustrated. I just can't understand how this came to be integrated in a contribution taht would otherwise be very useful. Especialy since it states "Now you can make as many as you want" here: http://www.oscommerce.com/community/contri...ons,2021/page,5 /rant Thank you to anyone who can bring some insight. 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) Quote If only I could remember that. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.