Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    94
    Plugin Contributions
    0

    Default Define pages editor not editing the correct file

    So in the admin I am adding some text to define_conditions.php, but my edits are not appearing on the conditions page. The URL for my conditions page is http://www.banberryplace.com/index.p...age=conditions.

    This is what is in the conditions.php page:
    Code:
    define('NAVBAR_TITLE', 'Fabric Terminology');
    define('HEADING_TITLE', 'Fabric Terminology');
    
    define('TEXT_INFORMATION', 'Your Conditions of Use information should be on this page.');
    ?>
    Incidentally I don't see the text "your Conditions..." text either. Suggestions?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Define pages editor not editing the correct file

    The editor will tell you at the top what the file path to the file being edited is and If you have another template set you should also have created these files for your template at /includes/languages/english/html_includes/your_template/ and make them writeable or 777
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2006
    Posts
    94
    Plugin Contributions
    0

    Default Re: Define pages editor not editing the correct file

    Quote Originally Posted by kobra View Post
    The editor will tell you at the top what the file path to the file being edited is and If you have another template set you should also have created these files for your template at /includes/languages/english/html_includes/your_template/ and make them writeable or 777
    Yep. When I go into the define pages editor anything that I have added/changed is there, and I am editing the file in the template over ride folder.

    It seems like the issue is in the file being called by index.php?main_page=conditions

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Define pages editor not editing the correct file

    I should have spotted this from you OP.

    You are editing the incorrect files....

    What is the path to the file referened as conditions.php

    The file that the editor edits is /includes/languages/english/html_includes/apple_zen/define_conditions.php

    The listing for the name is in /includes/languges/apple_zen/english.php in this section:
    Code:
    // information box text in sideboxes/information.php
    
      define('BOX_HEADING_INFORMATION', 'Information');
      define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
      define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
      define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');
      define('BOX_INFORMATION_CONTACT', 'Contact Us');
      define('BOX_BBINDEX', 'Forum');
      define('BOX_INFORMATION_UNSUBSCRIBE', 'Newsletter Unsubscribe');
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Aug 2006
    Posts
    94
    Plugin Contributions
    0

    Default Re: Define pages editor not editing the correct file

    Quote Originally Posted by kobra View Post
    I
    What is the path to the file referened as conditions.php
    /public_html/includes/languages/english/apple_zen/conditions.php

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Define pages editor not editing the correct file

    terrill,

    if you are using the defines pages editor it will point to
    includes/languages/english/html_includes/apple_zen/ FILE NAME
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Aug 2006
    Posts
    94
    Plugin Contributions
    0

    Default Re: Define pages editor not editing the correct file

    Quote Originally Posted by Merlinpa1969 View Post
    terrill,

    if you are using the defines pages editor it will point to
    includes/languages/english/html_includes/apple_zen/ FILE NAME
    Right - that is kind of the crux of my issue. My edits are not being reflected in my cart....

  8. #8
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Define pages editor not editing the correct file

    whats in the includes/templates/apple_zen/templates/tpl_conditions_default.php
    Zen cart PCI compliant Hosting

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Define pages editor not editing the correct file

    Not sure if all you edits are in an override dir but you have stated that you edited /public_html/includes/languages/english/apple_zen/conditions.php and maybe others that you did not need to edit as I tried to point out in my first post and then merlin asked you
    Quote Originally Posted by Merlinpa1969
    whats in the includes/templates/apple_zen/templates/tpl_conditions_default.php
    And you did not respond with the contents so this is becoming a circle.

    If you have adhered to the overrides for all of your edits so the the core files are not altered - try switching to the "classic" template and then select conditions.
    Make sure that the html_includes/classic files are writeable and edit from the admin the define_conditions.php file and see the result.

    If this produces favorable results you then need to look at the files you have edited for the cause
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Aug 2006
    Posts
    94
    Plugin Contributions
    0

    Default Re: Define pages editor not editing the correct file

    Quote Originally Posted by kobra View Post
    Not sure if all you edits are in an override dir but you have stated that you edited /public_html/includes/languages/english/apple_zen/conditions.php and maybe others that you did not need to edit as I tried to point out in my first post and then merlin asked you

    And you did not respond with the contents so this is becoming a circle.

    If you have adhered to the overrides for all of your edits so the the core files are not altered - try switching to the "classic" template and then select conditions.
    Make sure that the html_includes/classic files are writeable and edit from the admin the define_conditions.php file and see the result.

    If this produces favorable results you then need to look at the files you have edited for the cause
    I thought I respoded to Merlin - that file does not exist in that path. Thanks. I'll try switching to the classic template.

 

 

Similar Threads

  1. v150 Define Pages Editor not editing overriden pages
    By llaen in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 May 2023, 01:41 AM
  2. Replies: 9
    Last Post: 19 Apr 2012, 05:56 PM
  3. why can I not edit any of the pages in Define Pages editor?
    By touchclothing in forum General Questions
    Replies: 5
    Last Post: 20 Aug 2009, 04:21 PM
  4. Define Pages Editor: File does not exist:
    By iann in forum Customization from the Admin
    Replies: 4
    Last Post: 28 Apr 2008, 09:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg