Forums / Setup & design / Grrrrr! Help before I collapse.

Grrrrr! Help before I collapse.

Author Message

stan dickinson

Friday 18 April 2003 1:00:34 am

Hi all.
Problem is in shop section. I want to view products etc. but not have shopping basket, wishlist and submit etc. on the view page, just the product and info. I have tried and tried and you are my last resort to figure this out. Also to take the date and time out in the news section would help too.

Many many thanx for anyone who can help this dumb one who is desperately trying to learn.

Thanks - Dank U wel - danke

Stan

Paul Borgermans

Friday 18 April 2003 1:35:54 am

That's a template issue: you should do fine by removing the appropriate parts there.

Check

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/howtos

for how to turn on debugging to see which templates are used.

Alternatively, create your own templates and even your own classes for products.

Happy learning,

(Groetjes)

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

stan dickinson

Saturday 19 April 2003 11:13:59 pm

Hey!!!! great idea and helped me lots, Thanks.

However on the books page I still can't figure it out as it gives the line 'product information' and I am stuck as to where and how the Add to Basket, Wish List boxes get there.

Any help would be appreciated.

I am using windows version and I also can't see create new class boxes in admin setup when I want to create a new class, and if I want to delete a class it asks me if I am sure but doesn't give me a clickable box to confirm that I am. I have re installed ezpublish to see if it was a install problem - no luck.

Regards all

Claus Jensen

Wednesday 21 May 2003 2:01:32 am

I have the opposite problem with the "Add to basket" and "Add to Wish list" buttons. I want to show them in my user-site, but cant find out how. I've studied the admins template and demo-site templates, but didnt find anything useful. Anybody knows how to "turn" this on?!? Please let me know... :)

regards,
claÜs

Bård Farstad

Wednesday 21 May 2003 2:35:10 am

I'll try to clearify a bit about how the content actions work. A content action a term for "active" datatypes, i.e. datatypes that enables the users to perform an action to the objects. All datatypes can have a content action, e.g. collect information and add to basket.

The content actions are defined in the datatypes and when you have one datatype which has a content action it will be shown in the template as a button.

To show the list of content actions dynamically in the template you can use the code:
{section name=ContentAction loop=$node.object.content_action_list show=$node.object.content_action_list}
<input class="button" type="submit" name="{$ContentAction:item.action}" value="{$ContentAction:item.name|wash}" />
{/section}

If you have a products and it has a price you can just use the code:
<input type="submit" name="ActionAddToBasket" value="Add to basket" />

--bård

Documentation: http://ez.no/doc

Luc Chase

Friday 24 October 2003 4:06:05 am

Bård,
are the content actions definable in the site_admin area? i.e. where does one define the content_action_list?

The Web Application Service Provider