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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 04:58:51
Script start
Timing: Jan 18 2025 04:58:51
Module start 'layout'
Timing: Jan 18 2025 04:58:51
Module start 'content'
Timing: Jan 18 2025 04:58:52
Module end 'content'
Timing: Jan 18 2025 04:58:52
Script end

Main resources:

Total runtime0.9794 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.0469152.6250
Module start 'layout' 0.00530.0039 741.671939.4609
Module start 'content' 0.00920.9686 781.1328681.0078
Module end 'content' 0.97780.0015 1,462.140616.1641
Script end 0.9793  1,478.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3260160.0002
Check MTime0.00120.1256160.0001
Mysql Total
Database connection0.00070.066710.0007
Mysqli_queries0.913093.2174720.0127
Looping result0.00100.1004700.0000
Template Total0.948796.920.4744
Template load0.00190.198820.0010
Template processing0.946896.670620.4734
Template load and register function0.00020.019110.0002
states
state_id_array0.00080.080710.0008
state_identifier_array0.00080.078620.0004
Override
Cache load0.00160.1641420.0000
Sytem overhead
Fetch class attribute can translate value0.00060.064050.0001
Fetch class attribute name0.00130.137780.0002
XML
Image XML parsing0.00190.192550.0004
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00100.1054240.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs