Jump to content
Hugo RSF

Contribution Issue

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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 by rumarsies

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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'];

Share this post


Link to post
Share on other sites
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:


If only I could remember that.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites
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.

page.gif

 

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');


If only I could remember that.

Share this post


Link to post
Share on other sites

whats wrong??

 

I only get this error...

 

Error: Page title required.

Error: Page title required.

Error: Page title required.

Share this post


Link to post
Share on other sites
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://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:


If only I could remember that.

Share this post


Link to post
Share on other sites
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?

temp9kn.th.jpg

 

The table you should be looking at is pages_description table:

pages_description.gif


If only I could remember that.

Share this post


Link to post
Share on other sites

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...

 

temp6qf.jpg

Share this post


Link to post
Share on other sites
any clue? :unsure:

 

When you installed it did you run the sql update file.

 

This would have populated some records with sample data.


If only I could remember that.

Share this post


Link to post
Share on other sites
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...

 

temp1lw.th.jpg

Share this post


Link to post
Share on other sites
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...

 

temp1lw.th.jpg

 

what about the pages_description table is that have data?


If only I could remember that.

Share this post


Link to post
Share on other sites
here are the contents of pages

 

and here of pages_description

 

temp7nh.th.jpg

 

: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.


If only I could remember that.

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites
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 >_<


If only I could remember that.

Share this post


Link to post
Share on other sites
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.


If only I could remember that.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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)


If only I could remember that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×