Old 04-06-2004, 12:40   #1 (permalink)
Meilad
Registered User
 
Join Date: Jun 2004
Posts: 3
Editing a script

Heya.

Atm I'm running a site selling comp products and stuff right.

Basically I'm trying to make it so I can like edit the products through admin rather than editing the page for the listing of products.

I found this script and dloaded the free version. Fulls like $300 -_-!!

http://www.siliconsys.com/content/a...ons/phpcatalog/

Only problem is I can't get the products onto the next line! Like I can list the products going down the page but if I want to list them like this the | | on the sides represent the visible page limit ->

| product - product - product - product |
| product - product - product - product |
| product - product - product - product |

Thats how I wanna list them but I can't because in the template file you can only specify the layout of one product listing and it then repeats that for as many products as you specify per the page.

Like in the template file it has {product_img} {product_price} & {product_name} If I could just specify like {product_img_1} etc I could then create one template file with like 5 column table and put the product_1 etc in each field to achieve the above thing.

Problem is I don't really know php/mysql which is what the scripts based on -_- Just wondering if anyone is able to edit it to achieve this???? Else does anyone know a script similar to this but able to split products into a columns etc.

Thanks.

NB: This is the code for the template if it's of any use:

Code:
<!-- START list --> <table cellpadding="0" cellspacing="0" border="0" width="100%"> {search_msg} <tr> <!-- BEGIN row --> <td width="100%" align="center"> <table cellpadding="0" cellspacing="0" width="100%"><tr> <td align="center" valign="center" height="166" width="200"> <img src="{thumb_path}" title="{product_name}" align="middle" border="1">&nbsp;&nbsp; </td></tr><tr background="images/newbg2.jpg"><td background="images/newbg2.jpg"> <table cellpadding="0" cellspacing="0" border="0" width="100%" background="images/newbg2.jpg" style="border-top:1px #000000 solid;border-bottom:1px #000000 solid;border-right:0px #000000 solid;border-left:0px #000000 solid;"> <tr background="images/newbg2.jpg"><td class="listvalue" background="images/newbg2.jpg" valign="top" align="center" height="36" width="100%"><b>{product_name}<br>{f_product_price}</b></td></tr> </table></td></tr></table></td> <!-- END row --> <tr></table> </tr> </table> <!-- FINISH list -->
  Reply With Quote
Old 04-06-2004, 14:18   #2 (permalink)
mike_m
Work faster microphone ..
 
mike_m's Avatar
 
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,708
make life easier for yourself and use http://www.oscommerce.com

it's free too.
__________________
  Reply With Quote
Old 04-06-2004, 17:35   #3 (permalink)
secretagentgel
Senior Member
 
secretagentgel's Avatar
 
Join Date: May 2004
Location: new york, ny
Posts: 118
Send a message via ICQ to secretagentgel Send a message via AIM to secretagentgel Send a message via MSN to secretagentgel Send a message via Yahoo to secretagentgel
put a <br> in there somewhere.

corey
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8