-
AuthorPosts
-
October 13, 2011 at 12:10 pm #169626
Hello Guys,
I’m building a template for a client of mine with the T3 framework. But I’m having a problem. I want to hide the left module (or the right module) when I click on the read more button from an article on the frontpage.
This is my frontpage.xml
<?xml version="1.0" encoding="utf-8"?>
<layout name="desktop">
<!--Extra css load for this layout-->
<stylesheets>
</stylesheets>
<blocks name="top" style="xhtml">
<block name="absolute" type="modules" style="raw">absolute</block>
<block name="help" type="help" main-inner="1">help</block>
<block name="sponsors" type="sponsors" main-inner="1">sponsors</block>
<block name="header" type="header" style="raw"></block>
<block name="slider" type="slider" main-inner="1">slider</block>
<block name="mainnav" type="mainnav" main-inner="1"></block>
<block name="cpanel" type="usertools/cpanel"></block>
<block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
<block name="top-panel" type="modules" main-inner="1">top-panel</block>
</blocks>
<blocks name="middle" colwidth="25">
<block name="left1" width="35">position-7</block>
<block name="right1" width="25">position-5</block>
</blocks>
<blocks name="bottom" style="xhtml">
<block name="botsl" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
<block name="navhelper" type="navhelper" main-inner="1"></block>
<block name="footer" type="footer"></block>
</blocks>
</layout>This is my default.xml file (for all the other pages)
<?xml version="1.0" encoding="utf-8"?>
<layout name="desktop">
<!--Extra css load for this layout-->
<stylesheets>
</stylesheets>
<blocks name="top" style="xhtml">
<block name="absolute" type="modules" style="raw">absolute</block>
<block name="help" type="help" main-inner="1">help</block>
<block name="sponsors" type="sponsors" main-inner="1">sponsors</block>
<block name="header" type="header" style="raw"></block>
<block name="slider" type="slider" main-inner="1">slider</block>
<block name="mainnav" type="mainnav" main-inner="1"></block>
<block name="cpanel" type="usertools/cpanel"></block>
<block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
<block name="top-panel" type="modules" main-inner="1">top-panel</block>
</blocks>
<blocks name="middle" colwidth="27">
<block name="left1">position-7</block>
<block name="right1">position-5</block>
</blocks>
<blocks name="bottom" style="xhtml">
<block name="botsl" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
<block name="navhelper" type="navhelper" main-inner="1"></block>
<block name="footer" type="footer"></block>
</blocks>
</layout>At this point the left module is flipping when I click on the article item (see my screenshot)
The good one!
.
The bad one!Can you guys help me out?
Thanks in advance.
-
TomC Moderator
TomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 13, 2011 at 1:48 pm #419079I believe you have the ability to assign which modules appear on which pages within the parameters of each module – including those set to display within the left and/or right positions. Have you looked through the individual modules that are giving you issues?
October 15, 2011 at 12:30 pm #419476I’ve checked these settings. But the left module with the program is only assigned to the home menu-button. Is it possible to assign it just to the frontpage en not the page behind it?
Here’s the site: http://91.192.36.136/~futsal
Thanks in advance
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 16, 2011 at 6:37 am #419603<em>@djgoldrush 276086 wrote:</em><blockquote>I’ve checked these settings. But the left module with the program is only assigned to the home menu-button. Is it possible to assign it just to the frontpage en not the page behind it?
Here’s the site: http://91.192.36.136/~futsal
Thanks in advance</blockquote>
Tell you what . . . Send me a PM with temporary access to your site administration and I will take a look to see how you have things configured.October 16, 2011 at 9:07 pm #419689<em>@jgaston269 276245 wrote:</em><blockquote>maybe you should just google it. there are a lot of support forums out there that could maybe help you</blockquote>
Thanks for the tip, but I’m using joomla since the first day and I know Joomla! pretty well. And I’ve looked all over the web for a solution. But I can’t find it. If you have a link with a solution, you’re welcome!
@tomc –> PM send
October 18, 2011 at 10:13 pm #420084I’ve found the error, it was a closing div programming fault of mine! :S
But still I want to remove the left module on reading the full article. Is it possible with this?
<?php $view = JRequest::getVar('view', 0); ?>
<?php if ($view != "article") { ?>
<jdoc:include type="modules" name="user1" style="xhtml"/>
<?php } ?>TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 19, 2011 at 2:48 am #420104I’m so happy it was your fault . . . I was going crazy trying to figure out the issue here. :p
I’m wondering if you tweaked something that is causing that calendar to display on the article pages – because NONE of the configurations either in the module itself or the articles are calling it out for the article pages – so it’s somewhat of a mystery.
I already submitted this as a Support Ticket – and Troy Hall responded to you.
Did you look through the links he provided for you?😎
October 21, 2011 at 7:22 pm #420776Hey, thanx for your time! I’ve used the left module as an iframe. Which is a module on the left side.
And sorry, I didn’t got any messages from Troy Hall.
Can he resend his message?
n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
October 25, 2011 at 10:58 am #421472<em>@djgoldrush 276086 wrote:</em><blockquote>I’ve checked these settings. But the left module with the program is only assigned to the home menu-button. Is it possible to assign it just to the frontpage en not the page behind it?
Here’s the site: http://91.192.36.136/~futsal
Thanks in advance</blockquote>
Yes, you can have any menu on any page with any layout if you use the page assignments combined with template assignments combined with module page assignments.
😀
you can LITERALLY have a different template for every pageSee our wiki and Joomla !.7 docs ( for module / template assignments )
Not sure what happen to the ticket.
-
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 3 voices, and was last updated by n6rej 13 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-