And the one in your template directory is set to 777?
And the one in your template directory is set to 777?
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!
Also, when you make the change ... look at the path to the file, what do you see where it says:
Editing File:
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!
Hi,
I've discovered that admin is updating the following file:-
includes/languages/english/html_includes/MYTEMPLATE/define_findus.php
and the website is showing the content based on:-
includes\templates\template_default\templates\tpl_findus_default.php
Not sure how I link these up correctly.
Regards,
Andy
First, test something ...
Edit the: define_privacy.php
Do you see the change in the Catalog?
If you see that change, then it is your files that you cloned ...
If you don't see that change, then it is something else moofed up ...
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!
Hi,
The editor works fine on the standard pages, that's what I would expect.
I am new to zencart and have created my first new page, so it's no surprise that is where the fault is, I obviously haven't created the page correctly so that it is editable via admin.
Given the two files I have mentioned (incidentally if delete the file tpl_findus_default, the page the editor is altering still doesn't show as the web page) I must have a problem with my files somewhere, the question is where and how do I fix it ?
I wanted to create a new page (contains html to incorporate a google map) and ensure it is available in the admin page edit dropdown, so that the simple text parts of the page are easily editable for others.
I just wanted to create a page which meets the following criteria:-
1) I can place anything I want in it including PHP/HTML etc (ok)
2) It can be linked to from other pages (ok)
3) It is editable via the admin page editor dropdown (problem)
Does anyone have any ideas ? - I would imagine this is a very basic and common requirement for new users.
Compare your files to the set for Page 2 ...
Check where you stored the defines for the new page, example for page 2 uses:Code:/includes/modules/pages/page_2/header_php.php /includes/templates/template_default/tpl_page_2_default.php /includes/languages/english/page_2.php /includes/languages/english/html_includes/define_page_2.php
Check for the activation key that controls the display, page 2 uses:define('FILENAME_DEFINE_PAGE_2', 'define_page_2');
define('FILENAME_PAGE_2', 'page_2');
DEFINE_PAGE_2_STATUS
Watch for any typos ...
I like Beyond Compare from scootersoftware.com for doing these kinds of comparisons ...
The Developers Tool Kit is also helpful to locate what is on the server ...
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!
Hi,
I found that the only reason my page looked ok in the browser was that I had put the actual page content into the file tpl_findus_default which I have now corrected.
What happens now is that the web page shows no content, I think the reason must be that the line
is not pulling in the correct page for some reasonPHP Code:$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_FINDUS, 'false');
I did find where constant FILENAME_DEFINE_FINDUS is defined and it's in includes/extra_datafiles/findus.php which is as I was told to do according to the guide at http://www.zen-cart.com/wiki/index.p...ting_new_pages
The file define_findus.php contains some text and exists in both
includes/languages/english/html includes and also
includes/languages/english/html includes/MYTEMPLATE
Something is still amiss somewhere, I notice there are no equivalents in the extra_datafiles directory for main_page, page_2 etc. which I thought was a bit odd.
Any ideas ?
Andy