Hot answers tagged

5 votes

Layout override of admin com_users

You should not copy the full view folder, only the template files of a particular view, that you want to override. So for example, the following file needs to be copied: administrator/components/...
FFrewin's user avatar
  • 19.7k
4 votes
Accepted

Category Blog - Layout if the intro image is set

If you mean the intro image that's used in intro_image layout, use the same check as in the layout: <?php $images = json_decode($this->item->images); ?> <?php if (!empty($images->...
Sharky's user avatar
  • 11.1k
4 votes
Accepted

Layout override of admin com_users

I think you might have got muddled up with the template. If you're trying to override the view for the front-end of your website, you need to copy the view files to the front-end template. By default,...
Lodder's user avatar
  • 26.9k
4 votes

Random image in an article

You have to use a more specific CSS selector in order to target only the main image, and not all images added to an article. The main article image (added through the "Images and links" tab in the ...
johanpw's user avatar
  • 13.3k
4 votes

How to use a custom layout with JForm subform fields?

Edited to add subform field type-specific answer: Having looked at it properly, attaching your own layout to the subform field type is super-easy. Create a layouts folder in the same parent ...
Bathmat's user avatar
  • 492
3 votes
Accepted

Where do we set layout value in Joomla

The above code will try to get the layout value from request parameter "layout". If there is no request parameter found, it will use the default value which is "edit". If you want to override the ...
Nagarjun's user avatar
  • 2,991
3 votes
Accepted

How to display tag on top of article and author at the bottom

Set position of info above to keep tags in that position and make an override of com_content/views/article/tmpl/default.php with this changes: Line 76 - remove or comment this statement: echo ...
Kitase88's user avatar
  • 977
3 votes
Accepted

How to fix missing article separator (Joomla 3.4.8)?

From the link you provided it is obvious that in your template there IS NO article-separator HTML element. From the name of your template, 'favourite' I guess it is one of free templates from ...
Mikan's user avatar
  • 3,007
3 votes

How can I assign a module to multiple positions?

I am coming back here to post an alternative suggestion, after I came across an extension that could help with site changes, updates, modification, including template change. The extension is called ...
FFrewin's user avatar
  • 19.7k
3 votes

How can I assign a module to multiple positions?

One way to do this is to create your master module and put it in a custom module position, for example "master-position". Then create a new Custom HTML module for every location you wish that custom ...
Lance's user avatar
  • 533
2 votes
Accepted

How can I assign a module to multiple positions?

Happy dreaming... Not possible - back then (J1.5) and now. But the part of experimentation is still possible. Actually all you have to do is to leave the original site as is and do anything you like ...
FFrewin's user avatar
  • 19.7k
2 votes

How to fix missing article separator (Joomla 3.4.8)?

Then write the css by yourself. Normally this class should be integrated in all modern templates, maybe you do use an override for featured and category blog. More details would be needed, for e.g. a ...
PCo's user avatar
  • 86
2 votes
Accepted

Menu Item - Show only a few articles

You can use the featured articles system represented with a star in content manager and use a "Featured Articles" menu item type to show only the specific articles that you have marked. Then use a ...
Kitase88's user avatar
  • 977
2 votes
Accepted

How to create one page Joomla site?

Any template should work fine with "External URL" menu options linking to appropriate IDs on the page (see example below). You can also create extra IDs in the content where needed by ...
Neil Robertson's user avatar
2 votes

Trying to repair or eliminate "Written by" author field in article view

If you want to show or hide author you dont have to hack the core files as there are predefined option in the administrator panel. Login to Administrator and click on Content article. You will find ...
Amit Ray's user avatar
  • 237
2 votes
Accepted

Random image in an article

This might not be the exact answer you are looking for, but if it is for a full website you are developing and not only for a template that you want to distribute, then the following ideas could work ...
FFrewin's user avatar
  • 19.7k
2 votes

Get Category intro image in the index.php

Knowing a tiny bit about the joomla request-reponse lifecycle will help here. Joomla runs in the following order: 1. bootstrap the application 2. router 3. component (including your own layout ...
jamesgarrett's user avatar
  • 3,299
2 votes
Accepted

How to use a custom layout with JForm subform fields?

To place a subform (Joomla! 3.6+) within another "master" form and use a custom layout: 1) In the master JForm XML file use the subform field type. <field name= "fieldname" description= "...
nimble's user avatar
  • 418
1 vote
Accepted

Gantry5 framework - Where are the core particles located?

Core Gantry5 particles that do not have an override on the template level can be found at: /media/gantry5/engines/nucleus/particles/ Gantry5 is a powerful framework and allows a high level of ...
FFrewin's user avatar
  • 19.7k
1 vote

How to make a onepager?

Just an idea but why not disable the menu and create a custom html component for the menu instead. Switch these out and you can do what you like. Or where the menu placeholder is located in the ...
Nick's user avatar
  • 175
1 vote

Joomla 3.8.1 Neither Alternative Menu Item Nor Layout Reflects on Front End

I know this is a really old post, but I ran across it trying to solve the same issue in Joomla 4. The simple solution was to change the case. The template filename need to be in all lowercase: joomla/...
Scott Talsma's user avatar
1 vote

Adding a title attribute on the image tag - How to customize article's full image layout?

The file you are looking for is located in: [ROOT_DIRECTORY]/layouts/joomla/content/full_image.php To create an override for it, copy it and place it inside: [ROOT_DIRECTORY]/templates/...
FFrewin's user avatar
  • 19.7k
1 vote

Articles list from a category displayed in 2 columns

It's not clear what kind of answer you are seeking here and your question is getting a bit broad - I assume you are asking about directions and will try to provide some. You have a few options to ...
FFrewin's user avatar
  • 19.7k
1 vote

Tagged items listing layout after clicking on a tag is displayed on homepage

Why this is happening? This is happening (showing the tags list page on homepage) because there is no menu item for this particular view. So Joomla, because it needs a menu item for each component's ...
FFrewin's user avatar
  • 19.7k
1 vote
Accepted

Hide tags in category blog layout

In short this is the hierarchy. Menu item layout can be overridden by Article options and the the Article Page itself has the final say so if you will.
norcal johnny's user avatar
1 vote

Get Category intro image in the index.php

Firstly, the only code that should go into index.php is code that should appear on every page. What you want to do is on the category view, so your code should go in the category view override. It is ...
Seth Warburton's user avatar
1 vote

Joomla! 3.6.2 Template Purity III Layout Glossary - second alphabet ordering

The following lines of code are what determine your glossary headings: $items = JATemplateHelper::getArticles($params, $catid, 0); $groups = array(); $other = 'others'; for ($group = 'a'; $group < '...
Michael Yaeger's user avatar
1 vote

Random image in an article

Some ideas: Use the nth or :first selector in css, so only the first image in that area is 100% Add new style/styles they can select via the WYWIWYG using the editor.css file in your template - they ...
RichardB's user avatar
  • 3,082
1 vote

Menu Item - Show only a few articles

In addition to Nicola's answer, there can be other ways to achieve what you are after. A very common one, is to display articles using a module. You could create an article, where you will load that ...
FFrewin's user avatar
  • 19.7k
1 vote

How to create one page Joomla site?

should be possible with the t3 framework http://www.t3-framework.org/ and a core template. For the homepage you can set the template the way you want it,even without menubar if you want to. it's even ...
jswebdesign's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible