Possibe to Have user1, user2, user3 entire page

Clean, super flexible and multipurpose Joomla template with detailed design
GK User
Sat Mar 22, 2008 5:27 pm
Hey guys/gals,

I am wondering if it is possible to have either module positions user1,user2, and user 3 span the entire page and have the "right" module position below.

Or if possible, I think this may be easier to create a new module position that goes between the "header" and "user1,2,3, and right".

The reason I want a this is so that my google ads will show up entirely. Right now I have it is "user1" position and it spans across to the right position. The ad is cut off by 70px.

I think the best thing for me and others maybe would be to have a new module position between the header and user123, and right.

Is this possible? If so can you tell me how.

Thank you very much.

My site is http://www.evolutionofgolf.com
User avatar
Fresh Boarder

GK User
Mon Mar 31, 2008 8:06 pm
Could someone please look into this. I would really appreciate it! Thanks in advance.
User avatar
Fresh Boarder

GK User
Fri Apr 04, 2008 9:49 am
Hello,

For my part, I would be interested by extending User1 and reducing User2 :)

In a generic way, I would like to know how we can modify in the .CSS the settings for the modules position.

Thank you.
User avatar
Junior Boarder

Seichinha
Fri Apr 04, 2008 1:57 pm
Replace this code on the index.php on the template folder

Code: Select all
 
<?php if ($this->countModules('header')) : ?>
<div id="header">
<jdoc:include type="modules" name="header" style="rounded" />
</div>
<?php endif; ?>
<div id="l_w<?php echo $lw ?>">
<div id="l_w-wrap<?php echo $bg ?>" class="clearfix">
<?php if ($this->countModules('user1') or $this->countModules('user2') or $this->countModules('user3')) : ?>
<div id="user_position-1">
<div>
<div>
<div class="clearfix">
<?php if ($this->countModules('user1')) : ?>
<div class="<?php echo $u[1]; ?>">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user2')) : ?>
<div class="<?php echo $u[2]; ?> <?php echo $b1 ?>">
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user3')) : ?>
<div class="<?php echo $u[3]; ?> <?php echo $b2 ?>">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php endif; ?>


With this one:

Code: Select all
[<?php if ($this->countModules('header')) : ?>
<div id="header">
<jdoc:include type="modules" name="header" style="rounded" />
</div>
<div id="user_position-1">
<div>
<div>
<div class="clearfix">
<?php if ($this->countModules('user1')) : ?>
<div class="<?php echo $u[1]; ?>">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user2')) : ?>
<div class="<?php echo $u[2]; ?> <?php echo $b1 ?>">
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user3')) : ?>
<div class="<?php echo $u[3]; ?> <?php echo $b2 ?>">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div id="l_w<?php echo $lw ?>">
<div id="l_w-wrap<?php echo $bg ?>" class="clearfix">


This should do the job.

Don't forget to backup file before

This change is only valid to J!1.5 version.

Cheers ;)
User avatar

GK User
Sun Apr 06, 2008 4:34 pm
Thank you very much Seichinha for your very valuable answer and your very detailed code.B)

I deeply appreciate your help and I am sure it will give a solution to all other users of Cutting-Edge in Joomla 1.5.

Unfortunatly for me, as I am using VirtueMart with this template, I am still in Joomla 1.1.
If you have another way to solve that problem in 1.1 mode, it would be great.
Anyway thank you for your time and work.

Cheers
User avatar
Junior Boarder

GK User
Sun Apr 06, 2008 5:46 pm
Consult,

Can't you upgrade your virtuemart. I am waiting for the final release that will be 1.5 native on April 9th. I have the latest release and it seems to working. I would suggest upgrading if possible.
User avatar
Fresh Boarder

Seichinha
Sun Apr 06, 2008 6:16 pm
The lastest version of Virtuemart 1.1 RC3, it seens that is working fine on J!1.5.
But we will wait a little more because still not official stable.

Consult, just give some minutes and today you will have it to Cutting Edge J!1.0.15
User avatar

Seichinha
Mon Apr 07, 2008 2:35 am
Ok Guys

There it is.
I prepare a text file with instrutions to both versions.

There a little fix to does how done the change on J!1.5 version.
So i recommend refrase the change code.
(not a big deal, but it's better to do it)

Have fun ;)
User avatar

GK User
Mon Apr 07, 2008 10:28 am
Thank you very much Seichinha for the code.

I will test it today and I will let you know how it works.
Later ...:)
Now it's done. Indeed there is now enough space for having a correct display of Photoslide in user1 and another content in User2. So it has solved the problem raised.

The only negative point is that it seems that the place is now divided in half. It's user 1 with 50% of the space and either user 2 or user 3 with 50%. If all three are present, we have again the problem of user1 overidden by user2.

In fact, I was planning to have user1, 2, 3 in a kind of floating-dynamic managment where when user1 with photoslide is used, I can tune on the display of user2 and user3 content in order to get in the same row user1, 2 & 3. It will greatly add flexibility to the template. The basic idea would be to be able to use User1 with 60% and user2 & 3 with 20% for both. If it can be done without overlapping over user1, it would be great.

Anyway thank you very much for your work and proposal.
Maybe the problem I am still encoutering can be fixed by something else but I wonder how :unsure:

Cheers
User avatar
Junior Boarder

GK User
Thu Dec 18, 2008 3:26 pm
Hi How can I add a left column into the template ?
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.