Support Forum

  • Page:
  • 1

Top Shop - Front Page

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello there,

Working on the Top Shop template... I need to move the "Front Page Cappuccino" article below the "New Product" on the right hand side. I simply can't figure it out. I can't find anywhere where they are movable in modules/articles? Any ideas? Thank you in advance.

www.iidevelopment.com/gc/index.php

See original template

www.iidevelopment.com/test/

Sabina
  • Sabina Ramsey's Avatar
  • Sabina Ramsey
  • 6 Month Developer
  • 85 posts
  • Karma: 0
The administrator has disabled public write access.
Sabina,

getting this error,
Parse error: syntax error, unexpected $end in /home/iidevelo/public_html/gc/components/com_virtuemart/themes/JB_Top_Shop/templates/common/productsnapshot.tpl.php on line 48

when I click onto your first link. In addition, when I click onto your second link I don't see anything related to "Front Page Cappuccino" or "New Product"

Ed
  • Ed's Avatar
  • Ed
  • LIfetime Developer - Big Bamboo
  • 1693 posts
  • 45 Thanks
  • Karma: 60
The administrator has disabled public write access.
ok, the error is gone and the site now comes up. Is the articles on the right generated using Joomla or VM? Generally if you alter the created date, it will move stuff around with the newest date first and the rest in a descending date order.

Ed
  • Ed's Avatar
  • Ed
  • LIfetime Developer - Big Bamboo
  • 1693 posts
  • 45 Thanks
  • Karma: 60
The administrator has disabled public write access.
Hi Ed,

I tried to change the date but it does not work. It is like the items is in two separate "areas". I just can't figure out how to change it. ???
  • Sabina Ramsey's Avatar
  • Sabina Ramsey
  • 6 Month Developer
  • 85 posts
  • Karma: 0
The administrator has disabled public write access.
Sabina,

The item, 'Taste Golden Cup’s New Cappuccinos' is residing in the 'content' table and the 'Organic Lavender Earl Grey' is residing in the 'below_content' table. This is why they are showing in this order. OR... the 'Taste Golden Cup’s New Cappuccinos' is your main content and 'Organic Lavender Earl Grey' is in a module position designed to show after the main content. Not sure if this helps or not...

Do you have 'Organic Lavender Earl Grey' as a module and if so, what position?

Ed
  • Ed's Avatar
  • Ed
  • LIfetime Developer - Big Bamboo
  • 1693 posts
  • 45 Thanks
  • Karma: 60
The administrator has disabled public write access.
The "JB Top Shop Latest Products J1.5" is placed on the homepage in "advent2".

No other modules...is located in this position.

It does not matter if I place it "first" in the module list.

How do I place the streaming of the articles on the front page? Maybe I simply have to do this in the html?

Sabina
  • Sabina Ramsey's Avatar
  • Sabina Ramsey
  • 6 Month Developer
  • 85 posts
  • Karma: 0
The administrator has disabled public write access.
You are right Ed,

This is the current code:

<div id="main_wrapper">
<div id="main_mid" >
<?php if($this->countModules('left')) : ?>
<div id="left">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
<?php endif; ?>
<?php if($this->countModules('advert1')) : ?>
<div id="front_left">
<jdoc:include type="modules" name="advert1" style="xhtml" />
</div>
<?php endif; ?>
<div id="main_content">

<div id="pathwaydiv">
<jdoc:include type="modules" name="breadcrumb" style="xhtml" />
</div>
<div id="main_body">
<jdoc:include type="modules" name="banner" style="xhtml" />
<div class="clear"></div>
<div id="content">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>
<div class="clear"></div>
<?php if($this->countModules('advert2')) : ?>
<div class="below_content">
<jdoc:include type="modules" name="advert2" style="xhtml" />
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>

It says:

"<div class="below_content">
<jdoc:include type="modules" name="advert2" style="xhtml" />
</div>

How can I change this is in the most efficient way?
  • Sabina Ramsey's Avatar
  • Sabina Ramsey
  • 6 Month Developer
  • 85 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Sabina,

If I understand correctly, you want to move the 'below' module poition above the main content area?

You shoudl be able to do that just by copy'n'pasting:

"<div class="below_content">
<jdoc:include type="modules" name="advert2" style="xhtml" />
</div>

to immediately above:

<div id="content">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>

Of course, you should make a backup copy of that file first ;)
  • Seth's Avatar
  • Seth
  • Moderator
  • 8358 posts
  • 225 Thanks
  • Karma: 202
The administrator has disabled public write access.
Yeeeahhhaaaa! It looks marvelous! Thank you very much!!!

Sabina
  • Sabina Ramsey's Avatar
  • Sabina Ramsey
  • 6 Month Developer
  • 85 posts
  • Karma: 0
The administrator has disabled public write access.
B)

No problems Sabina.

FYI, re-arranging module positions is soooo much easier with the newer ZGF based templates, no messing around with index.php required ;)
  • Seth's Avatar
  • Seth
  • Moderator
  • 8358 posts
  • 225 Thanks
  • Karma: 202
The administrator has disabled public write access.
Sabina,

So glad you and Seth were able to get this done. Was called away for the evening and was worried that your cry for help would go unanswered... Thanks Seth!

Ed
  • Ed's Avatar
  • Ed
  • LIfetime Developer - Big Bamboo
  • 1693 posts
  • 45 Thanks
  • Karma: 60
The administrator has disabled public write access.
Thank to both! I just can't wait until this project is closed... so I can start another adventure!

I am sure you will hear from me soon again.

Sabina
  • Sabina Ramsey's Avatar
  • Sabina Ramsey
  • 6 Month Developer
  • 85 posts
  • Karma: 0
The administrator has disabled public write access.
Let us know when it's all finished :)

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers