Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
VirtueMart ForumVirtueMart Dev/Coding CentralDevelopment Projects, Modifications, Hacks & Tweaks (Moderator: MikeUK)shop.browse inversing category description with products
Pages: [1]   Go Down
Print
Author Topic: shop.browse inversing category description with products  (Read 967 times)
elran
Newbie
*
Posts: 3


« on: November 22, 2010, 10:46:00 AM »

Hi,

on the page that shows the products inside a category, i'm trying to have the listing of products (file browse_1.php) before the category description (can't find that file).

from what i understand i should be looking in the shop.browse.php (which calls browse_1.php).

am i searching in the right direction?

can't find an obvious answer inside the shop.browse.php file because of limited knowledge of php...


thx,

JVT
« Last Edit: November 23, 2010, 06:30:41 AM by elran » Logged
elran
Newbie
*
Posts: 3


« Reply #1 on: November 23, 2010, 05:26:20 AM »

it seems that the file categoryChildlist.tpl.php is responsible for displaying the category description.

I still can't find where to look in the shop.browse.php file to put the products first, any clue?

Logged
elran
Newbie
*
Posts: 3


« Reply #2 on: November 23, 2010, 06:29:52 AM »

Well, found an answer on this forum, in this thread:
https://forum.virtuemart.net/index.php?topic=77687.0

so i've cut the code in the file "components/com_virtuemart/themes/default/templates/browse/includes/browse_header_category.tpl.php"

to insert it in the file
"components/com_virtuemart/themes/default/templates/browse/includes/browse_notables.tpl.php"

Logged
Pages: [1]   Go Up
Print
Jump to: