Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    red flag Override the tpl_modules_upcoming

    HI

    I am attempting to override the above mentioned file. I followed to the best of my abilities the Tutorial"How do I set up the template overrides"

    I created a folder called /includes/templates/hebrew/templates and place the updated tpl_module

    I also added the hebrew template via the admin panel (however the classic shows as default).

    The changes in the tpl file are not showing on the website...

    Any suggestions?



    Regards
    Meir Rotfleisch
    May The Power of the Zen Be With You!
    http://www.discoverwellness.biz

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Override the tpl_modules_upcoming

    I also added the hebrew template via the admin panel (however the classic shows as default).
    In admin, did you go to tools, template selection,
    change classic template to hebrew(nameofyourtemplate)?

  3. #3
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    Default Re: Override the tpl_modules_upcoming

    Hi Misty..

    The only choice I have is a dropdown with only "Classic Contemporary Green" available.
    Meir Rotfleisch
    May The Power of the Zen Be With You!
    http://www.discoverwellness.biz

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Override the tpl_modules_upcoming

    Quote Originally Posted by mrrcomp View Post
    Hi Misty..

    The only choice I have is a dropdown with only "Classic Contemporary Green" available.
    If you have created your own custom template, which includes copies of all the files in Classic folder..
    then upload your new template folder, named hebrew,containing copies of Classic template files, to .. i.e.
    /includes/templates/hebrew/
    If you have correctly done this exercise..
    then you should see your hebrew template appear via admin/tools/template selection option, drop down box...
    YOU WILL NEED to adjust the template_info.php file to reflect
    name of your new template i.e hebrew
    BACKUP Classic template folder BEFORE you start copying/altering
    anything...

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Override the tpl_modules_upcoming

    You don't actually have to copy all the files in all the /classic/ folders.

    To create a very basic custom template (you can build from there), you need:
    • includes/languages/YOUR_TEMPLATE/english.php
    • includes/languages/english/YOUR_TEMPLATE/index.php
    • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    • includes/templates/YOUR_TEMPLATE/images/logo.gif
    • includes/templates/YOUR_TEMPLATE/css/stylesheet.css


    Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  6. #6
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    Default Re: Override the tpl_modules_upcoming

    Hi Afo

    Wellll... I copied the files as you mentioned and created the hebrew folder under templates..

    I put the tpl_modules_upcoming.php in the common directory

    I picked the hebrew template from the admin but still its not showing on the site..

    urggggggg....

    Regards

    but still its not showing the corrected version.
    Meir Rotfleisch
    May The Power of the Zen Be With You!
    http://www.discoverwellness.biz

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Override the tpl_modules_upcoming

    I think I see your problem.

    Quote Originally Posted by mrrcomp View Post
    I created a folder called /includes/templates/hebrew/templates and place the updated tpl_module
    The folder should be /includes/templates/hebrew. Try moving anything you have in /includes/templates/hebrew/templates/ to /includes/templates/hebrew/ and see if that helps.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  8. #8
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    Default Re: Override the tpl_modules_upcoming

    Hi Mary..

    I moved everything as you suggested still the "upcoming" module is the default english one! urgggg!!!!

    Regards


    Meir
    Meir Rotfleisch
    May The Power of the Zen Be With You!
    http://www.discoverwellness.biz

  9. #9
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Override the tpl_modules_upcoming

    Meir, did you create includes/templates/hebrew/template_info.php and edit it to give your template a name? You can copy the template_info.php from either the /classic/ or /template_default/ folders. This is what allows your template to be selected in the admin. If you can't select the template from the admin, the files won't be overridden.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  10. #10
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    Default Re: Override the tpl_modules_upcoming

    Hi Afo,
    I have no problem picking the new template in the Admin...But still that template is stubborn and won't be overwritten....

    Suggestions??
    Meir Rotfleisch
    May The Power of the Zen Be With You!
    http://www.discoverwellness.biz

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How ti use the override to change the template?
    By cerisebleue in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Jan 2011, 04:08 PM
  2. Override the Contact Us page?
    By Cindy2010 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Sep 2010, 11:56 PM
  3. Trying to override the stylesheet on the index page only.
    By bigjoed in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Mar 2009, 02:33 PM
  4. override the override? I am confused
    By chakotay2 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Nov 2008, 02:07 PM
  5. Am I (trying to) override the override?
    By Green333 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Sep 2008, 11:43 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