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

Comment text
When I reply to a comment as an admin, my reply is shown in bold text. It looks ...
3 Replies
Posted on Sunday, 29 December 2024
  • New
  • Profile image for admin not showing
    Hi, profile image for administrator is not showing in comment. https://www.hu...
    2 Replies
    Posted on Friday, 13 December 2024
    CComment - field - website address
    Hello In previous versions of CComment, it was possible to enable a field in ...
    1 Replies
    Posted on Saturday, 14 December 2024
    Comment input field is not displayed
    If I want to leave a comment on a post, I click on the button and a new page wit...
    5 Replies
    Posted on Friday, 20 December 2024
    HotSpots Pro 6.0.12 crashes on FrontEnd with Conso
    Hi there, Not sure what happened but all of a sudden nothing shows up and giv...
    3 Replies
    Posted on Wednesday, 11 December 2024