- Posts: 312
- Thank you received: 5
3 Column layout required
- OTWD
- Topic Author
- Offline
- Elite Member
Less
More
7 years 2 months ago #94588
by OTWD
Success consists of going from failure to failure without loss of enthusiasm.
3 Column layout required was created by OTWD
Hi Tuan
I am trying to make the column layout view into 3 columns instead of 2
I have made an overrride templates/my templatei/html/com_eventbooking/common/events_columns.php and have tried
Forcing span4 - this makes the col narrower but still in 2 col layout - can you help?
I am trying to make the column layout view into 3 columns instead of 2
I have made an overrride templates/my templatei/html/com_eventbooking/common/events_columns.php and have tried
Code:
$numberColumns = JFactory::getApplication()->getParams()->get('number_columns', 2);
if (!$numberColumns)
{
$numberColumns = 2;
}
$baseUri = JUri::base(true);
$span = 'span4';
//$span = 'span'.intval(12 / $numberColumns);
$numberEvents = count($events);
$count = 0;
?>
Forcing span4 - this makes the col narrower but still in 2 col layout - can you help?
Success consists of going from failure to failure without loss of enthusiasm.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
7 years 2 months ago #94594
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic 3 Column layout required
Could you please send us the link to the page so that we can look at it?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
7 years 2 months ago #94595
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic 3 Column layout required
BTW, you should not have to edit the code. When you create menu item, there is a parameter to allow you to enter Number Of Columns you want and it should work as expected. Don't try to edit code for this case
Tuan
Tuan
The following user(s) said Thank You: OTWD
Please Log in or Create an account to join the conversation.
- OTWD
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 312
- Thank you received: 5
7 years 2 months ago #94623
by OTWD
Success consists of going from failure to failure without loss of enthusiasm.
Replied by OTWD on topic 3 Column layout required
Sweet thanks I found that afterwards sorry !
Success consists of going from failure to failure without loss of enthusiasm.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.