Forums / Templates, Stylesheets, Page Layout / I don't understand part of FAQ...

I don't understand part of FAQ...

Locked

Started by usone123 on 20 Aug 2006, 9:56 PM · Views: 1,434

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
20 Aug 2006, 9:56 PM
#1
usone123 avatar

usone123

New Zenner

Join Date:
Aug 2006
Posts:
26
Plugin Contributions:
0

I don't understand part of FAQ...

HI.. Im having a problem and wondering how to fix it and I think this section of one of the FAQs tells me but I don't understand what it's telling me to do.

this is the problem. I don't like the standard list of pages under the information side box. I have no need for a "conditions of use" page. I tried updated everything i could and changing it to be called COMPANY_POLICIES and company_policies.php but i'm just starting to learn PHP and its so different then html.. there is no page that I can find that houses all the info in one spot so I have no idea what I'm doing wrong.

Am I even going to be able to change this or will i have to create a new file and then how do I change the link>? Or is I can do this - how?

the FAQ I found said this -

Calling custom file names - /includes/filenames.php

Example: You create a custom page, about_us and need to call the filename.

Rather than putting a new define in /includes/filenames.php, you should call the filename from the existing directory,

/includes/extra_datafiles.

Create a new filename, about_us_filenames.php and place this file in /includes/extra_datafiles.

In this file, you would have the code:

This file will be called automatically, as would any other file in this directory, thereby telling the system what your custom filenames are.

And maybe I just don't the whole "call your filename" and how would I create a file for the file name.. what do i put in the file? i found the filename.php file but do i just copy that and put it in extra datafiles and just remove all the other stuff....

so confused...

any advice is welcome.... thx :)
Rae

20 Aug 2006, 10:21 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: I don't understand part of FAQ...

Here's another approach:

Since you want to add a page that's not in Zen Cart, use this "About Us" contribution as an example. The Readme in it talks about how to alter it for alternate purposes:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=182

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Aug 2006, 11:20 PM
#3
usone123 avatar

usone123

New Zenner

Join Date:
Aug 2006
Posts:
26
Plugin Contributions:
0

Re: I don't understand part of FAQ...

Thank you so much. Isx this on a sticy/FAQ anywhere because it seems like it should be. It worked, thanks so much.

Now I'm just trying to figure out iof there is a way to remove the "more information" box altogether. Do you know?

Thx :)
Rae

20 Aug 2006, 11:36 PM
#4
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: I don't understand part of FAQ...

Just turn it off and don't let it show off. :smile:

In admin => Tools => Layout Box controller

Column Boxes YOUR_TEMPLATE_NAME

sideboxes/more_information.php

Edit Box

Please make any necessary changes
Box Name: more_information.php

Left/Right Column Status:
ON OFF

A New Starter again

20 Aug 2006, 11:54 PM
#5
usone123 avatar

usone123

New Zenner

Join Date:
Aug 2006
Posts:
26
Plugin Contributions:
0

Re: I don't understand part of FAQ...

That was my easiest update yet! thanks :)

:)
Rae

21 Aug 2006, 12:52 AM
#6
usone123 avatar

usone123

New Zenner

Join Date:
Aug 2006
Posts:
26
Plugin Contributions:
0

Re: I don't understand part of FAQ...

OK spoke too soon. Everything worked perfectly EXCEPT now when i go to that page the text won't change form the main page's text. I've updated the html_includes/custom_template/define_company_policies.php and saved it but it
won't change.

I tried going through the admin site and it says this:

Error: I can not write to this file. Please set the right user permissions on: /home/passion/public_html/kidsbargainoutlet/shop/includes/languages/english/html_includes/custom_template/define_company_policies.php

I have no idea how to set permissions...

any ideas? thanks and sorry for being such a pain...

:)
Rae

21 Aug 2006, 1:02 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: I don't understand part of FAQ...

The directory, files and subdirectories need to be set to 777 for:
/includes/languages/english/html_includes

These can be changed later for security purposes after you are done making your changes ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Aug 2006, 1:21 AM
#8
usone123 avatar

usone123

New Zenner

Join Date:
Aug 2006
Posts:
26
Plugin Contributions:
0

Re: I don't understand part of FAQ...

OK I don't know what you mean.....

21 Aug 2006, 2:15 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: I don't understand part of FAQ...

You used an FTP program to upload those files.
Using the same program, find the file specified in the error message.
Right-click on it, or otherwise find the menu option to adjust "File Properties" or "permissions", and mark the file as read/write/execute.... denoted by 777 in linux terms.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Aug 2006, 3:25 AM
#10
usone123 avatar

usone123

New Zenner

Join Date:
Aug 2006
Posts:
26
Plugin Contributions:
0

Re: I don't understand part of FAQ...

Thanks so much.. you guys/ladies are awesome..

thanks for all the help.. i know ive been a pain :)

Rae