Buenos días torvista
I'm desperately trying to add new pages to my bi-lingual (Greek/English) site at http://athenscollectibles.info. I'm still very new at Zen Cart and initially I thought of using EZ-pages until... I discovered that this feature does not support more than one language, so it's out of the question.
I spent hours reading the forums and there are various workarounds but none of them seems straightforward. I have come across to a few add-ons for adding pages to the "More Information" box which is now populated with the example Page 2, Page 3 and Page 4. But I soon decided against them as they were developed 3-4 years ago and the developers disappeared from the forums a few months after the module was released.
After a more careful search, I found your module and it looks to be what I need. Before installing it, may I please ask a couple of questions to make sure that I won't mess everything up?
-
Is this compatible with v1.3.9d (I see that it is "Designed for v1.3.x" and the answer is most probably "yes" but just wanted to have your OK).
-
Now, to come to the second point: the module is designed to add an "About Us" page in English and Spanish. I am not a programmer/developer but the changes needed to change Spanish to Greek are within my capabilities. However, when I'm through with it and want to add another page, could you tell me if the following course of action is correct. For the purpose of this example, suppose that I want to create a new page called "Payments":
a) copy all xxx_about_us_xxx files to xxx_payments_xxx files and make the appropriate changes to their contents.
b) add a definition to the information.php file as follows:
if ([B]PAYMENTS[/B] <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_[B]PAYMENTS[/B]) . '">' . BOX_INFORMATION_[B]PAYMENTS[/B]. '</a>';
}
```
c) copy the install_about_us_page.sql file to a new install_payments.sql file and change its contents from
```php
## The following may be run via phpMyAdmin rather than in Zen Cart Admin (if it gives an error)
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function)
VALUES ('Define About Us Status', 'DEFINE_ABOUT_US_STATUS', '1', 'Enable the Defined About Us Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', 25, 59, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');
to
## The following may be run via phpMyAdmin rather than in Zen Cart Admin (if it gives an error)
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function)
VALUES ('Define [B]Payments[/B] Status', 'DEFINE_[B]PAYMENTS[/B]_STATUS', '1', 'Enable the Defined [B]Payments[/B] Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', 25, 59, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');
```
I see that most of my questions are answered in the readme.txt file included with the module, but just wanted to make sure that I understand everything correctly, particularly the change required to information.php files as in 2b above.
I hope to get a reply to this post and start installing the module as soon as possible. I'm really getting anxious to do it as it looks simple and nice.
Tener un buen día y saludos desde Atenas, Grecia!