Closed (fixed)
Project:
e-Commerce
Version:
4.6.x-1.x-dev
Component:
product
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2007 at 00:27 UTC
Updated:
6 Jun 2007 at 19:21 UTC
Greetings,
I would like to change the title (products) that shows up within the main products page - just above the table layout of the different products. I have looked for a while and have not been able to find it. Any advice on where / what table / what file I could look?
Thanks
ambiance7
Comments
Comment #1
simeYou need to retheme theme_product_view_collection
Comment #2
(not verified) commentedComment #3
B-Dot commentedHi,
I have exactly the same question as the first person who posted here.
I understand your answer, insofar as I understand about theme overrides and template.php.
I have been looking at the function 'theme_product_view_collection' on lines 23-67 of product.module in the hope that something would leap out at me. Unfortunately, nothing does.
Could you possibly elaborate a little more on how to achieve this change? It would be much appreciated.
Thanks,
B-Dot
(I am running Drupal 4.7)
Comment #4
simeOnly briefly as it's well documented.
1. copy theme_product_view_collection() into template.php
2. rename it mytheme_product_view_collection()
3. change it to be how you'd like.
Comment #5
simeOh, to change the title you might need to use, somewhere in the theme function:
drupal_set_title("my new title");
Comment #6
brmassa commentedComment #7
brmassa commented