multiple layouts for article

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
robwuk
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Mon Jun 30, 2008 3:43 pm

multiple layouts for article

Postby robwuk » Fri Apr 13, 2018 9:31 am

Hi, i want to have a different layout for articles on a different part of my site

Currently all my articles have the headline at the top of the acticle

I want to create a layout for an article that moves the title somewhere else but only for the articles i select

is this possible?

Cheers

Rob

JohnSmithers
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 163
Joined: Mon Feb 11, 2013 9:22 am

Re: multiple layouts for article

Postby JohnSmithers » Fri Apr 13, 2018 9:49 am

You could potentially hide the title in the "options" and then add another header using HTML with the editor in the content section?

robwuk
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Mon Jun 30, 2008 3:43 pm

Re: multiple layouts for article

Postby robwuk » Fri Apr 13, 2018 9:58 am

Yes that's what i have done for a number of articles but the problem with this, i no longer have titles when the artles are displayed elsewhere, if i do enale to show titles on another part of the site, it then shows the article title and then my extra title added to the active, which can look a little odd

The fact i get a dropdown on the layout indicated there must be a way of using another layout, i know you can use another template but i dont want the job of creating more templates to just to an article tweak

Rob

JohnSmithers
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 163
Joined: Mon Feb 11, 2013 9:22 am

Re: multiple layouts for article

Postby JohnSmithers » Fri Apr 13, 2018 10:42 am

Could you create copies and and them to different categories?

User avatar
Jaydot
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Sun Jun 04, 2017 12:11 pm
Location: The Netherlands
Contact:

Re: multiple layouts for article

Postby Jaydot » Fri Apr 13, 2018 1:05 pm

You can have the article title show/not show on a per page basis (set it in the options for the appropriate menu-item), but that won't solve the double-title issue on the pages where the title is set to show.
The only thing I can think of is a CSS solution: add a CSS class to the titles you add manually, and hide that class for the pages where the title is set to show.
The fact that an opinion is widely held is no evidence whatsoever that it is not utterly absurd.
Personal website: https://jaydot.nl

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 24525
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: multiple layouts for article

Postby Per Yngve Berg » Mon Apr 16, 2018 8:09 am



Return to “Templates for Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 3 guests