Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: is there an override to includes/filenames.php?

    got it... the file define_about_us.php did exist but was placed in includes/languages/german/html_includes/MY_TEMPLATE/define_about_us.php

    this was working in the frontend as the override system successfully displayed the content of this defined page.

    i copied the file to
    includes/languages/german/html_includes/define_about_us.php and now i can select it in define pages editor.

    i just compared this structure to about_us mod and noticed that the mod uses the same file twice
    includes/languages/german/html_includes/MY_TEMPLATE/define_about_us.php
    includes/languages/german/html_includes/define_about_us.php

    but i do not understand this redundancy as both files have the same content. by using the define pages editor i will edit includes/languages/german/html_includes/define_about_us.php
    but it will always be overridden by includes/languages/german/html_includes/MY_TEMPLATE/define_about_us.php

    on one hand i want to use the override system but on the other hand i want to make use of the page editor. but will the editor affect the override file also or is a change by define page editor senseless because i need to edit the override file by hand?
    zen me!

  2. #2
    Join Date
    Aug 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: is there an override to includes/filenames.php?

    i just did a test and edited this content with page define editor. it seems that
    includes/languages/german/html_includes/define_about_us.php is required for seeing the page in editors dropdown selection.
    but the changes affect only the override file at
    includes/languages/german/html_includes/MY_TEMPLATE/define_about_us.php.
    is this correct?

    i assume if i'd remove the override file then the changes will directly affect the file at includes/languages/german/html_includes/define_about_us.php. somehow confusing for the start but i think i understood so far for now.
    zen me!

 

 

Similar Threads

  1. v151 override \includes\modules\pages\shopping_cart\header.php.php??
    By tlyczko in forum General Questions
    Replies: 7
    Last Post: 27 Nov 2012, 06:12 PM
  2. Replies: 3
    Last Post: 12 Sep 2012, 10:51 PM
  3. how to override includes > modules > pages > page_folder > header_php.php
    By monkeytown in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Feb 2008, 05:45 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