Front Page Description
Archived from the Web Auction Discussion forum.
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 — 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’)}
{$product->htmlValue('product_description_01')}
{/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
shannah — Fri Oct 17, 2008 8:26 am
Change
- Code: Select all
- `{if $record->val(‘product_description_01’)}
{$product->htmlValue('product_description_01')}
{/if}`
to
- Code: Select all
- `{if $product->val(‘product_description_01’)}
{$product->htmlValue('product_description_01')}
{/if}`
-Steve
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’)}
{$product->htmlValue('product_description_01')}
{/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 — 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