Questions tagged [template-override]

A Template Override is a file in your Joomla template directory that is loaded instead of the normal core Joomla file. This is done in order to change the layout or functions of certain parts of Joomla, without changing the core files, because these are updated and overwritten whenever Joomla is updated.

Filter by
Sorted by
Tagged with
5
votes
1answer
611 views

Creating search for a category page

I want to create a search module in joomla for a category page. Default module such as "Search" or "Smart Search" gives result on their own page rather in the same page from where it is requested. ...
5
votes
1answer
730 views

Joomla menu module - display levels in separate panels

I'm trying to make a Joomla menu module to behave like the menu from this site: http://wachtel.de/backoefen/etagenoefen.html. What's important is that every menu level is displayed in single panel - ...
2
votes
2answers
2k views

How to move print/email to be inline with article title for blog view?

for single article view I've moved the print/email function up to be inline with the title, instead of being located below the title in top-right corner of the content. Did this my moving the code ...
2
votes
1answer
321 views

Overriding Content Gallery Layout to Contact Gallery Layout

we have on our template the possibility to creat an Gallery View for Content / Categories. it looks like the following: so and now - i'm trying to get the same view for the contacts. In contacts ...
1
vote
1answer
483 views

How can I access articles from subcategories in a blog layout?

I'm trying to create a blog override to display all subcategories (of the current category) as a sort of secondary nav/filter, and and then display only the articles of the selected/active subcategory....
5
votes
1answer
2k views

How can I completely and safely remove the subject field in com_contact?

I work mainly in overrides as much as possible, so am using /templates/.../html/com_contact/contact/default_form.php I know I can just remove the code that shows the subject line: <div class="...
3
votes
3answers
2k views

How to override layout files properly

In Joomla 3.x we can use the JLayout class to override the files located in ROOT/layouts folder According to this doc http://docs.joomla.org/J3.x:JLayout_Improvements_for_Joomla! all we need to do ...
3
votes
2answers
2k views

List All Categories (com_content/views/categories) alternative layout not working

OK so I'm trying to create an alternative menu item layout and it doesn't seem to be working. I'm using the latest version of Joomla 2.5. What I did: created folder structure: mytemplate/html/...
2
votes
1answer
3k views

JLayout: Overriding joomla.edit.params layout only for com_content

I am looking for a way to override the joomla.edit.params layout only for the com_content, which is rendered with the: JLayoutHelper::render('joomla.edit.params', $this) on the: administrator/...
2
votes
1answer
2k views

Removing the space between header and nav on Protostar

I use Protosar template on Joomla. I have tried for days now and I can't figure out how to remove the space/padding/margin between header tag and nav tag. I have done everything including zeroing ...
2
votes
1answer
2k views

How can I Include an article's Links in the blog intro text

I would like to include the article Links (as set in the Images and Links tab) below the intro text shown in the blog layout, above or below the 'Read more' link. I've tried including this from the ...
0
votes
1answer
267 views

What is the purpose of page heading?

In Joomla each page can have page heading and page title both at the same time. I'm very puzzled at why that is so. I simply don't understand what's page heading supposed to be. Categories have ...
1
vote
1answer
151 views

How do you extend Content Category

I can create overrides or alternate layouts in template/html/component/ but how can I extend the query based on params in my new layout? How can I extend the model without breaking core?
3
votes
2answers
272 views

Parse Article Content for Template Layout

I want to create a layout (or override) that i can run a foreach loop on the div's of certain classes. Is there a method in joomla to help me? I have seen a little about php HTML DOM parser but I ...
3
votes
2answers
3k views

Layout Overrides: Intro Image Link

I have searched everywhere for this answer but I can't find it. I really like the new layout overrides in Joomla 3 but I want to be able to add a link to the intro_image.php file so that when a user ...
5
votes
3answers
4k views

How to add category image to module mod_article_categories

How can I add the category image to the categories listed using the J3.3.1 core module mod_articles_categories? I think I have to create a module override in template/my-template//html/...
1
vote
2answers
1k views

Create new menu type, define fields, metadata.xml

I want to create a custom com_tags/tags layout, however I need to keep the parent_id field for the menu item. What I have done is create: /templates/mytemplate/html/com_tags/tags/species.php /...
4
votes
1answer
881 views

Link to content article with specific layout

I'm trying to link to a content article and force a specific layout override to be used in the display, however I'm having some troubles. I've tried the following: JRoute::_("index.php?option=...
6
votes
1answer
284 views

Creating a Global Parameter for Modules

Is it possible to create a Global Configuration option for all the modules? So for example, Every Module has a Title field, If i wanted to add a "Module Tag Line" field to every module? In reality ...
4
votes
3answers
5k views

How to get parent category title for Tag view

I want to get my current article's category and parent category link into my page. I get the category via the following code: $db = JFactory::getDbo(); $id = $item->core_catid; $db->setQuery("...
1
vote
2answers
837 views

Article Alternative Layout not appearing as option

I want to create an alternative layout for an article in Joomla 2.5.16. In my template's override folder I duplicated the current template override file (default.php) and renamed to myarticle.php. But ...

1 2
3