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

Integration of Google Map in Jomsocial
Hi team, I would like to know if the version of Hotspot allows to display at ...
4 Replies
Posted on Wednesday, 07 September 2022
Links aus Veranstaltungsübersicht funktionieren ni
Nach der Migration von Joomla 3.10 auf Joomla 5.0.3 treten folgende Probleme auf...
3 Replies
Posted on Monday, 08 April 2024
Issues uploading photos
I figured out my other issues and this is the only one I can't seem to find an a...
1 Replies
Posted on Friday, 21 June 2024
Marker adapted to level of zooming
Hello, I'd like to be able to display a marker showing the number of users on a ...
0 Replies
Posted on Monday, 20 May 2024
Download and install locations from Google
Is there anyway that you can download a list of locations from Google Maps and t...
0 Replies
Posted on Monday, 20 May 2024