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

PayPal Zahlung - Link nachträglich?
Hi Daniel, wenn der Bezahlvorgang mit PayPal nicht abgebrochen wird. z.B. d...
0 Replies
Posted on Wednesday, 13 November 2024
  • New
  • New comments not appearing on refresh
    Hello, Several users of my customers site are reporting that they don't see ne...
    3 Replies
    Posted on Friday, 25 October 2024
    SEO Transfer
    Hi We would like to try again as cms2cms did not work. We have installed Joom...
    1 Replies
    Posted on Wednesday, 02 March 2022
    Can the comments forms show on category blog pages
    I recently changed my blog page from showing only article intros to full article...
    2 Replies
    Posted on Monday, 21 October 2024
    • #category blog
    • #CComment 6
    Email notifications not being sent to admin when n
    I am not receiving notifications of new comments by email and I have searched th...
    6 Replies
    Posted on Thursday, 24 November 2022