1. John Holland
  2. General
  3. Friday, 20 March 2015
  4.  Subscribe via email
Mandatory information about my setup:

Have I searched the tickets before posting? No
Have I searched the forum before posting? No
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Tiles version: (unknown)
Direct link to the page that shows the issue: (unknown)


Description of my issue:
Follow up to yesterday's ticket. Just looking for a precise answer, since the suggestion can't be correct.

> For example you can use the default template and place your override in:
> templates/html/mod_tiles/default.php

1. So, like most joomla overrides, when you say "templates" you don't mean the multiple mod_tiles template folders, right?

2. If so, which is the folder where I put the mod_tiles file template.css to override:
a. /templates/[DEFAULT TEMPLATE]/html/mod_tiles/default.php
b. /templates/[DEFAULT TEMPLATE]/html/mod_tiles/default/
c. /templates/[DEFAULT TEMPLATE]/html/mod_tiles/templates/default/
d. /templates/[DEFAULT TEMPLATE]/css/mod_tiles/default/
e. /templates/[DEFAULT TEMPLATE]/css/mod_tiles/templates/default/

Thanks
Responses (1)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Look at the code of default.php
It has this call on line 21:

JHTML::_('stylesheet', 'media/mod_tiles/templates/default/template.css');


If you go down the rabbit hole and inspect the stylesheet function in the JHTML class you'll see that they are trying to load an override for this file in
$path = JPATH_THEMES . "/$template/$folder/$file";
or in the media directory etc.

The easiest thing you could do here if you don't know where the system is looking for this file is to just change the path to the file.
Instead of media/mod_tiles/templates/default/template.css, change it to templates/your_template/css or templates/your_template/html/mod_tiles/css

Whatever you want.

I don't really understand your first question. A module override in joomla looks like this. Your module has the following structure:
mod_tiles/tmpl/default.php
To create an override for default.php you need to create default.php in your template in the following path:
templates/your_template/html/mod_tiles/default.php

That's it.

Cheers,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Question regarding custom fields
How do I access custom fields after I have created them?...
0 Replies
Posted on Wednesday, 24 April 2024
  • New
    • #custom fields
    Google no index für bestimmte Seiten/Details
    Hallo ich habe eine kleine Frage: wo kann ich einstellen, dass Google die Seite...
    0 Replies
    Posted on Wednesday, 24 April 2024
  • New
  • Language parameter in the link to the comment
    Hello. 1) I have a multilingual website (3 languages). If someone added a comme...
    1 Replies
    Posted on Saturday, 06 April 2024
    categories icon in header
    Hi! I saw this in the promo, but I can't find how to set it up. https://compo...
    0 Replies
    Posted on Monday, 22 April 2024
  • New
    • #style
    • #Categories
    Questions on new installation...
    Working on getting this set up... https://eastend2024.joepolecheck.com/rumma...
    3 Replies
    Posted on Wednesday, 17 April 2024
  • Resolved