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

eZ debug

Timing: Jan 18 2025 02:17:05
Script start
Timing: Jan 18 2025 02:17:05
Module start 'content'
Timing: Jan 18 2025 02:17:06
Module end 'content'
Timing: Jan 18 2025 02:17:06
Script end

Main resources:

Total runtime1.3116 sec
Peak memory usage4,096.0000 KB
Database Queries209

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.7031180.8359
Module start 'content' 0.00551.1796 769.5391686.0859
Module end 'content' 1.18520.1264 1,455.6250337.0938
Script end 1.3116  1,792.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2822210.0002
Check MTime0.00140.1065210.0001
Mysql Total
Database connection0.00040.032410.0004
Mysqli_queries1.237994.38242090.0059
Looping result0.00200.15372070.0000
Template Total1.282397.820.6411
Template load0.00160.124820.0008
Template processing1.280697.635720.6403
Template load and register function0.00010.011010.0001
states
state_id_array0.00090.064810.0009
state_identifier_array0.00160.124020.0008
Override
Cache load0.00140.1079420.0000
Sytem overhead
Fetch class attribute can translate value0.00180.140360.0003
Fetch class attribute name0.00110.082980.0001
XML
Image XML parsing0.00170.126660.0003
class_abstraction
Instantiating content class attribute0.00000.001380.0000
General
dbfile0.00370.2843350.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs