Questions tagged [layout]

questions about the layout (appearance) of the Joomla website

Filter by
Sorted by
Tagged with
11
votes
9answers
6k views

How to create page only with modules and no component?

In joomla, I need to link every page to a component view. How can I create a page with no component output on it? Example : On my home page I only want a module output. For this, I can link the home ...
8
votes
4answers
618 views

How can I assign a module to multiple positions?

There already exists a couple of questions on this, but they are mostly about actually wanting multiple copies of the same module on a page. My problem is the layout and templating. Templates often ...
7
votes
3answers
909 views

Standard CSS classes / id naming conventions

When building a custom component, and while designing the layout file to render the view, I'm having difficulty determining what CSS classes / id's to use in my HTML elements to ensure it takes ...
7
votes
1answer
326 views

Is it possible to assign a color to a single article

I want to be able to assign a color code to seperate articles. Such that the border or background of an article changes color, like; Article A = Purple Border Article B = Green Border Article C = Red ...
6
votes
2answers
3k views

How to use a custom layout with JForm subform fields?

I want to reuse some forms in my component. The subform field does the job. However, I need to remove some fields and/or field groups when displaying the subform. I tried to use the JForm methods ...
5
votes
2answers
7k views

Show image using file_get_contents in a popup window

I am trying to show an image in a popup window using file_get_contents function and an echo statement. Here is the code I have in the first view <a href='javascript:window.open("index.php?option=...
5
votes
2answers
2k views

Menus and layout a mess on mini upgrade 2.5.28 to 3.3.6

I'm running a lamp stack on ubuntu 14.04. Just upgraded my local site from 2.5.28 to 3.3.6. It upgraded okay but all the menus are messed up. The formatting is shocking! Can anyone advise as to why ...
4
votes
4answers
453 views

Random image in an article

I've built my own template so that when someone creates an article, the image on the top ( like an intro image ) has a width of 100% and its own height ( could be 200px or whatever ). Now someone ...
4
votes
1answer
5k views

Creating multiple layout overrides for category blog layout

I have looked at other questions on this matter, but would like to be clear on what is the 'correct' approach to this. Example: https://stackoverflow.com/questions/13715665/joomla-override-category-...
4
votes
3answers
358 views

How can I have multiple layouts for a View that are available as a menu option such as &layout=xxx?

I need to be able to specify different layouts of the same View by way of the Menu item, resulting in a url having &layout=blahblah appended. - NOT using a template override. i.e.: index.php?...
3
votes
2answers
972 views

How to fix missing article separator (Joomla 3.4.8)?

I have a Joomla website that missing article separator (featured article menu,and category blog to be precise),while my other Joomla site the article separator still showing up. Both updated to Joomla ...
3
votes
2answers
2k views

How do I change the appearance of the search results page?

Can anyone offer some guidance on how to change the look of the Search Results page? Right now there is no visual separation and everything looks very condensed and cluttered making it hard to view. ...
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 ...
3
votes
3answers
396 views

Joomla Tags in 2 Columns - RocketTheme Template

I'd love to know how I can create Joomla tags in two columns. Example of what I have: http://visualedgehosting.com/dfw-chimera/leadership/ Appreciate any help in advance,
3
votes
2answers
327 views

Where to edit category blog layout for alternative menu item

I've made my own version of blog.php, blog_item.php and blog.xml for my own category blog menu item. And I've changed a few things so far. But I need to change it so that the intro image is above ...
3
votes
1answer
687 views

Articles With No Menu Item

I was hoping somebody could explain this to me as I cannot seem to get my head around it. I have a website with numerous articles and categories, all displayed at mydomain.com/blog My homepage (...
2
votes
2answers
2k views

Layout override of admin com_users

I am trying to override the layout views of com_users in the admin side. I have copied all view of com_users ie: com_users/views/user/... and copied it to the administrator template ie: ...
2
votes
2answers
1k views

Get Category intro image in the index.php

I want to display the intro image of my categories on the category page. I have a template override for the category blog. Because of the layout, I need to place the code outside of the override - ...
2
votes
2answers
154 views

Menu Item - Show only a few articles

I have a general question. I want to show for instance four articles ( or ten, the number doesn't matter just so much as I want ) that are in a category "articles". So the problem is that in the ...
2
votes
2answers
711 views

How to create one page Joomla site? [duplicate]

what is the good way to create one page Joomla site? I just need one or two module for each menu item. So, that would be okay with one page site. I have a thought using external link as menu item, ...
2
votes
1answer
790 views

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

I would like to display the tags at the top of the article but the author at the bottom. One way to do that would be to tweak the split option for Position of Article Info in Article Manager Options, ...
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
2answers
352 views

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

I'm trying to figure out where in the heck is the "Written by" tagline displayed at the top of each news article...basically, which css/php/whatever file holds the layout for articles and would ...
2
votes
2answers
759 views

Module positioning layout

I'm using the following theme based on helix3 framework and I'm encountering some issues on the positioning of the main content. I have a row with 2 columns, the one the side is fine because it's a ...
2
votes
1answer
337 views

Joomla layout difference edit.php and default.php

I had already created some custom components in the past and how it is, at the beginning you cannot understand all things in detail. But with continuing always new question arise. Could someone ...
2
votes
1answer
720 views

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

I want the full image of an article to use the value of an alt attribute in a title attribute, too. I have been searching everywhere and just can't find the correct file. The file which provides the ...
2
votes
1answer
205 views

Use yootheme layouts on an already running joomla site

I'm using yootheme's solar on my website and I want to change it for the stage theme, I want to make my site to look just like this: http://yootheme.com/demo/joomla/stage but it's impossible since ...
2
votes
1answer
696 views

Different Article alternative layout for each category

As the title show I want to have different Article Layout for each Category. For example Article 1 (category A)-> layout_1 Article 2 (category A)-> layout_1 Article 3 (category A)-> layout_1 Article ...
2
votes
1answer
382 views

countModules in module chrome function

I'm using grid layout and I need to calculate column width depending on amount of active modules in a position. I'm assigning the css class within my module chrome. What I was doing till now was ...
2
votes
1answer
326 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 ...
2
votes
0answers
88 views

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

Within mytemplate, I created an alternative menu and an alternative layout for the com_content articles view, and neither reflects on the front end. For com_content, in my template, I created the ...
2
votes
1answer
26 views

Show content from all users for a given Category [closed]

I'd like to create a layout that lists the article content from a chosen category.and subcategory for specific users. I've been looking into overriding the blog layout but I'm not familiar with what ...
2
votes
0answers
33 views

Layout Override shows up as menu Item but not as category layout [duplicate]

I have created a layout override starting from the blog template and added it in mytemplate\html\com_content\category : galleries.php galleries_item.php galleries.xml I can create a new menu item ...
1
vote
1answer
424 views

Category Blog - Layout if the intro image is set

I would like to add a tag around the intro text, but only if the article has an intro image. It's easy to add markup around the image in the intro_image layout file. And in the file blog_item.php, I ...
1
vote
1answer
139 views

Where do we set layout value in Joomla

I am eager to know where we set the layout value in joomla. When I used the code $this->input->get('layout', 'edit', 'string'); I am getting a value, which I dont know from where it comes. ...
1
vote
2answers
407 views

3 column layout will not display after settings are made

I have created my own template and want my category articles to display in 3 columns. I have set these setting to display in 3 columns in the global configuration and the menu settings. It all still ...
1
vote
1answer
395 views

Display list of files under categories on K2 in visually-appealing ways

Using K2 component. Did not like default look of files listed under categories (http://www.wilddusk.com/wild-india) with images of directories. How one can explore other visually-appealing way?
1
vote
2answers
10k views

How do you change the width of the container size of the default Protostar template that comes with Joomla 3.3.6

The default (container) width of the protostar template is set for 960px, in the default responsive Static layout. I need the protostar template to remain in the responsive Static layout, yet with the ...
1
vote
1answer
453 views

Separate custom fields in com_content from the options tab

With a content plugin and the onContentPrepareForm trigger, I inject custom extra fields into article's edit page. The problem is that my Custom Fields Tab binds with the Article's Options Tab (...
1
vote
1answer
79 views

Gantry5 framework - Where are the core particles located?

I am trying to customize my Gantry5 Header and Menu. I searching for the menu particle but I can't find in my template. Where is the core menu particle located? Some extra info about what I am ...
1
vote
1answer
72 views

How to make a onepager?

I have a bit of a problem creating a one page template. I'm half way there, I get stuck with the menu links. Here is what I do, I'm using Helix Ultimate: 1- create the required rows in the template I ...
1
vote
1answer
427 views

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

I have installed a Cloud Tags module to display most used tags on my site. I would expect that when clicking on any of the Tags on the module, to see a page with a list layout that will show all ...
1
vote
1answer
417 views

Hide tags in category blog layout

I have some category blog menu items with a couple of articles showing in a blog layout. The articles are tagged and those are showing above each article preview as well as in the articles themselves....
1
vote
1answer
4k views

How To List All Articles for Menu » Articles » List All Categories type

When creating a new menu item type that is "Article » List All Categories" – how can I display all of the actual articles for each sub-category? As of right now, each sub-category being listed has a ...
1
vote
1answer
236 views

Use of com_checkin and $canChange and $canCheckin in listview

I 'm writing a listView's default layout for my component in which I 'm implementing Joomla's publish & unpublished feature in which user can publish an item on single click on check box. I am ...
1
vote
1answer
906 views

Edit blog_style_default_item_title.php

I would like to edit the file blog_style_default_item_title.php so that the head of the articles appeared in the publication date and the label disappeared "published:" Can you help me, what is the ...
1
vote
0answers
20 views

Custom layout path for fields

I have a central library \libraries\mylib\ containing some models, tables, helpers and stuff all of my components use. I also have a folder there containing some custom fields i use. It is simple to ...
1
vote
0answers
62 views

Adding viewport metatag breaks my template layout

I have separate templates for desktop/tablet and phone. I don't feel that viewport meta is needed in my mobile template, but without it Google is saying: Error: The page is not mobile friendly ...
1
vote
0answers
97 views

How to get SEF URL from JRoute when layout set in menu item

I've set up my component which has one view and several layouts. For each layout I've added a views/myview/tmpl/layoutname.xml file which sets the layout via a hidden variable, like so: <field ...
1
vote
0answers
36 views

j2store add to cart widgetkit

I'm trying to add J2Store cart to widgetkit grid stack layout with the following code in my administrator/components/com_widgetkit/plugins/widgets/grid-stack/views/widget.php file. require_once(...