Front Page Description

A place to discuss and receive support for the Web Auction application.

Front Page Description

Postby zedimus » Wed Oct 15, 2008 11:20 am

Hi

Is there a way to limited the amount of the description that is shown on the front page that lists all the production in the auction.

I would like it be alot shorter and only show a few key words, then when you click it you will see the full description on products page.

Thanks
David
zedimus
 
Posts: 29
Joined: Tue Jan 15, 2008 2:37 pm

Postby zedimus » Thu Oct 16, 2008 1:18 pm

I am also trying to add a second product description to the main product page not the index page.

In my db i added product_description_01 to the product setting, This added the box to the add product page. and i can see the box and info on the admin index page.

I then added
Code: Select all
{if $record->val('product_description_01')}    
<div>
      {$product->htmlValue('product_description_01')} </div>
{/if}


to template/view_product.html

i cant see the second product box of info on the product page, IS there something that i am missing?

Thanks
David
zedimus
 
Posts: 29
Joined: Tue Jan 15, 2008 2:37 pm

Postby shannah » Fri Oct 17, 2008 8:26 am

Change
Code: Select all
{if $record->val('product_description_01')}   
<div>
      {$product->htmlValue('product_description_01')} </div>
{/if}

to

Code: Select all
{if $product->val('product_description_01')}   
<div>
      {$product->htmlValue('product_description_01')} </div>
{/if}


-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby zedimus » Tue Oct 21, 2008 8:54 am

That didnt work for me I even tryed changing it to this

Code: Select all
{if $product->val('product_description_01')}   
<div>
   {$product->htmlValue('product_description_01')} </div>
{/if}


and that didnt work. Is there any other files i need to edit or add other then the Database and view_product.html ?
zedimus
 
Posts: 29
Joined: Tue Jan 15, 2008 2:37 pm

Postby zedimus » Tue Oct 21, 2008 10:09 am

I got this to work You code was correct, it was my custom theme that was blocking the new product info box from showing up.

Thanks
David
zedimus
 
Posts: 29
Joined: Tue Jan 15, 2008 2:37 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 18 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved