3 Column layout required

  • OTWD
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 2 months ago #94588 by OTWD
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
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.

More
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

Please Log in or Create an account to join the conversation.

More
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
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
  • Elite Member
More
7 years 2 months ago #94623 by OTWD
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