Event Details in Full Page
Event Details in Full Page
by budd77 » Wed Jun 04, 2008 6:44 am
Hi,
My event detail page has left & right modules displayed.
I want to have event details in full page getting rid of right/left modules.
How can I do that?
Thanks
My event detail page has left & right modules displayed.
I want to have event details in full page getting rid of right/left modules.
How can I do that?
Thanks
- budd77
- Posts: 3
- Joined: Wed Jun 04, 2008 6:39 am
Re: Event Details in Full Page
by Thomas » Wed Jun 04, 2008 6:57 pm
Change your template and generate the left/right modules only if you are not in the JEvents detail view.
- Thomas
- Site Admin
- Posts: 611
- Joined: Mon Feb 18, 2008 11:51 am
Re: Event Details in Full Page
by budd77 » Thu Jun 05, 2008 3:21 am
Thanks for your reply Thomas.
Do I need to do any coding for this?
Can you please suggest?
Bud
Do I need to do any coding for this?
Can you please suggest?
Bud
- budd77
- Posts: 3
- Joined: Wed Jun 04, 2008 6:39 am
Re: Event Details in Full Page
by Thomas » Thu Jun 05, 2008 5:16 pm
Your template file index.php is a php file and you need to do a little coding there. I give you an example for the beez template.
This template already determines whether to show the right column or not. At head of the file you'll find:
Here you add a line to suppress the right column for JEvents in detail view:
The coding depends on the template.
This template already determines whether to show the right column or not. At head of the file you'll find:
- Code: Select all
$showRightColumn = $this->countModules('user1 or user2 or right or top');
$showRightColumn &= JRequest::getCmd('layout') != 'form';
$showRightColumn &= JRequest::getCmd('task') != 'edit'
Here you add a line to suppress the right column for JEvents in detail view:
- Code: Select all
$showRightColumn = $this->countModules('user1 or user2 or right or top');
$showRightColumn &= JRequest::getCmd('layout') != 'form';
$showRightColumn &= JRequest::getCmd('task') != 'edit';
$showRightColumn &= ((JRequest::getCmd('task') != 'view_detail') || (JRequest::getCmd('option') != 'com_events'));
The coding depends on the template.
- Thomas
- Site Admin
- Posts: 611
- Joined: Mon Feb 18, 2008 11:51 am
Re: Event Details in Full Page
by budd77 » Fri Jun 06, 2008 11:33 pm
Thanks for your reply Thomas.
I will give it a go this weekend and let you know.
Bud
I will give it a go this weekend and let you know.
Bud
- budd77
- Posts: 3
- Joined: Wed Jun 04, 2008 6:39 am
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users

