0
Welcome Guest! Login
0 items Join Now

Gantry base template

    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Gantry base template

    Posted 11 years 11 months ago
    • Overrides in
      j2.5 the overrides are in templates/gantry/html/joomla/2.5/
      j3.0 the overrides are in templates/gantry/html/joomla/3.0/
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Gantry base template

    Posted 11 years 11 months ago
    • btw. I think to the easiest way to change img {max-width:100%;} is override it like
      div img {max-width:none;} in a custom css or less file ..
    • 's Avatar

    Re: Gantry base template

    Posted 11 years 11 months ago
    • Henning wrote:
      Overrides in
      j2.5 the overrides are in templates/gantry/html/joomla/2.5/
      j3.0 the overrides are in templates/gantry/html/joomla/3.0/

      Ok, better move my files then and restore the originals. I haven't worked with Gantry framework for a long time so I haven't followed any changes/updates really so thank you for the information. I guess I have to keep an eye on this forum more often.
  • Re: Gantry base template

    Posted 11 years 8 months ago
    • J3.0, rt_chapelco
      I want to override article output.
      The file used in the templates is templates/rt_chapelco/html/joomla/3.0/com_content/article/default.php
      How can I override it? If I change it it will be overrwritten when template upgrade. So where have I to place MY 'default.php' ?
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Gantry base template

    Posted 11 years 8 months ago
    • since that is already an override you must edit that file and backup it before you upgrade the template.
  • Re: Gantry base template

    Posted 11 years 8 months ago
    • So I think you have to provide a way to override your overrides.
      Maybe create `html-custom` folder in the template which will be loaded with a higher priority then your RT overrides.

      Backuping is a bad way, because when having dozens of web-sites it's hard to remember what was changed. Well, why should I explain why not possible override is a bad thing? Everyone knows.

      P.S.
      To allow using `html-custom` folder
      in file
      templates/rt_chapelco/html/base_override.php
      before
      $go_search_paths[] = implode('/', array(
                                             dirname(__FILE__),
                                             'joomla',
                                             $go_jversion->getShortVersion(),
                                             $go_relative_template_override_path
                                        ));
      $go_search_paths[] = implode('/', array(
                                             dirname(__FILE__),
                                             'joomla',
                                             $go_jversion->RELEASE,
                                             $go_relative_template_override_path
                                        ));
       
      add
      // add custom version paths
      $go_search_paths[] = implode('/', array(
                                             dirname(__FILE__),
                                             '../html-custom',
                                             $go_relative_template_override_path
                                        ));
       

      Would you be so kind to add this? This would simplyfy customization.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Gantry base template

    Posted 11 years 8 months ago
    • post that in the requests forum please :-)
  • Re: Gantry base template

    Posted 11 years 8 months ago
    • Where is that forum? I cannot find.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Gantry base template

    Posted 11 years 8 months ago
  • Re: Gantry base template

    Posted 10 years 6 months ago
    • Hi,
      I need to override /modules/mod_rokgallery/templates/slideshow/default.php
      I'm useing Gantry 4.1.24 (framework and template)
      and Joomla 3.3.0
      I've copied /modules/mod_rokgallery/ folder in /templates/gantry/html/joomla/3.0/mod_rokgallery and I've tried to modify templates/slideshow/default.php but doesn't work...
      Can You kindly help me with this?
      Thank you!

Time to create page: 0.062 seconds