Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Help editing the product listing information layout..

Help editing the product listing information layout..

Locked

Views: 1,346

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
14 Sep 2007, 9:28 AM
#1
thomasharding avatar

thomasharding

Zen Follower

Join Date:
Sep 2007
Location:
Manchester, England
Posts:
168
Plugin Contributions:
0

Help editing the product listing information layout..

Hey All..

I'm just wondering how much work would be involved when modifying the placement of product information in the product_listing.php page.

Basically, all I want to do right now is make the product name span across all three rows, as opposed to being squashed into the middle row.

I've got my boss barking up my arse about to get this done for a client, so im finding it hard to search for threads.

The ones I have found however have b0rked up my layout because from what I gather, the changes were based on an older installation.

Can anyone help me?

Thanks,
Tom

14 Sep 2007, 11:12 AM
#2
lastpirate007 avatar

lastpirate007

Zen Follower

Join Date:
Jul 2007
Posts:
137
Plugin Contributions:
0

Re: Help editing the product listing information layout..

hi tom
i saw ur screen shot but cud nt understand wat u want. u just go details in it. try to sketch ur requirements . hope u understand it

14 Sep 2007, 11:33 AM
#3
thomasharding avatar

thomasharding

Zen Follower

Join Date:
Sep 2007
Location:
Manchester, England
Posts:
168
Plugin Contributions:
0

Re: Help editing the product listing information layout..

lastpirate007:

hi tom
i saw ur screen shot but cud nt understand wat u want. u just go details in it. try to sketch ur requirements . hope u understand it

Hey Pirate..

Sorry about my lack of details, I was in a panicked state!

All I want to do pretty much is get the name of the product and move it above all other product details which lie in the 3 columns.

For instance, in very simple html terms (obviously it would be more complex), I would like it to go like this:

<table>
<tr>
<td colspan="3">
Firearm 4 multifuel wood burning stove</td>
</tr>
<tr>

<td><img src="the_product_image.jpg"></td>

<td>Product description goes here</td>

<td>Additional buttons go here</td>

</tr>
</table>

Like I said, I doubt it will be THAT simple, but still :wink:

29 Sep 2007, 5:50 PM
#4
beth_katherine avatar

beth_katherine

Zen Follower

Join Date:
Feb 2007
Posts:
158
Plugin Contributions:
0

Re: Help editing the product listing information layout..

I'd be curious if my answer to your question is correct.

I've been analyzing how php code is written and though I think it's set up very primitively (meaning there's no WYSIWYG option except for changing the code and then uploading and reviewing the change in real life). A php editor with a test viewing option would be very helpful I'm sure. I haven't looked around for MACS but I seem to remember seeing a program for PC's.

So without a WYSIWYG editor you have to move the coding around for your formatting.

To adjust the php code for the layout change you have to first understand how the code matches the layout. As far as I can see the way it's set up is using a set of rules for CSS layout with div styles written within the coding, and again I may be wrong as I'm a newbie in understanding php code.

Right now it's set up for 2 columns (float left, float right) but what you want is to create a single column that spans above the 2 columns across the container of the layout page. To create what you want you would have to first see if it's possible to have a main column above the 3 columns and since no one answered your question it's probably not possible. However I would research it and find out.

I know it's possible to shift around the blocks (price block, attributes blocks ets) on the page and the position of everything really on the page. You might have to create a new block for what you want above everything else. As I said I don't know php very fluently but am learning there are possibilities.

Get a php manual, that will also help.

Beth-Katherine, who has probably confused the whole issue

29 Sep 2007, 6:02 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help editing the product listing information layout..

This post might help on putting the products_name field on its own row as it is already built into the code ... kinda sorta ... :smile:
http://www.zen-cart.com/forum/showthread.php?t=48060&highlight=products_name