chrometweaks.org

I moved my Wordpress blog to a new domain and iPage hosting service.?

Click Here To View All Answers...


My 1st question is: I moved my Wordpress blog to a new domain and iPage hosting service.? Many thanks for any answer. Another question... Im trying to make a new page but I see that there are two files:.

Eg..

Catalog/privacy.php.

Catalog/includes/languages/english/privacy.php.

My question is how are both these files linked together? I cant seem to find the code which has privacy.php (catalog folder) read data from the privacy.php in the english folder?..

Comments (78)

I'm stumped. I'm not so sure what is the right answer. I'll do some poking around and get back to you if I got an anything. You should email the people at iPage as they probably can answer it..

Comment #1

Oh thanx - would have wasted time trying to read all the codes to find the link!..

Comment #2

K say if I was gonna offer it in other languages then how will it be referenced?..

Comment #3

I found this code.

 require(DIR_WS_LANGUAGES$language'/'FILENAME_PRIVACY);.

Now how would I link this up with the faq file in the languages file?..

Comment #4

(1) Add in your /catalog/newfile.php:.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_NEWFILE);.

(2) Define the filename in /catalog/includes/filenames.php.

(3) Create a file with the same name (newfile.php) and place it in /catalog/includes/languages/english/.

Model your files after the pre-existing files..

Comment #5

There is a contribution that I found fantastic for dealing with this issue..

Search for the following in the contributions section, it enables you to change all these files through the admin. It works great..

Privacy_Shipping_Conditions_Update v1.0b.zip.

Craig...

Comment #6

Thanx!.

Guess it pays to read the code and have a buddy like you Acheron, to advise me.

This post has been edited by.

Azziman.

: 29 June 2004, 12:36..

Comment #7

Im trying to make a new page but I see that there are two files:.

Eg..

Catalog/privacy.php.

Catalog/includes/languages/english/privacy.php.

My question is how are both these files linked together? I cant seem to find the code which has privacy.php (catalog folder) read data from the privacy.php in the english folder?..

Comment #8

The former is the actual page your customers will see. The latter is simply the language file for it. It is done that way so that items referenced in privacy.php can be displayed in other languages if you offer them..

If you are only using 1 language and are creating a new page, you can simply hard-code the text with no need for the language file...

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.