Basket and search fields

Author Message

Kevin Fosse

Wednesday 15 June 2005 3:47:17 am

Hi.

A friend asked if I could help him set up a simple webshop. I jused to do jobs like this years ago, so I said yes. But things sure have changed since the last time I did this.

I heard many good things about EZ and decided to give it a try. I set up the default webshop that comes with the wizard, and then I tried to change the design in several ways. I changed the css files, but felt it didn't give me enough control to customize the way I really wanted the page. Being more old school I wanted tables where I feel I have absolutely control.

So I finally made an override for the main page layout. A standard html file with tables. I just made the navigation menu manually, and it seems to work fine. I added "{$module_result.content}" where I wanted the dynamic content. So far so good.

Since this is a simple page I only need the search field, and the shopping basket. Is there a way to put those two in my tables just like with the dynamic content?

regards

Kevin

edit: typos
edit 2: found this which works, but not when browsing other products http://www.ez.no/community/forum/developer/basket_in_a_box_fetch

Kevin Fosse

Wednesday 15 June 2005 4:37:34 am

Solved the basket problem with this:

http://ez.no/ez_publish/documentation/reference/data_fetching/shop/basket

No all I need is the search field and I'm good to go. :)

regards

Kevin

Edit: and there it was: http://ez.no/ez_publish/documentation/customization/components/search/custom_search_box

Next time I will do a better search before asking :)

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 19 2025 10:00:23
Script start
Timing: Jan 19 2025 10:00:23
Module start 'layout'
Timing: Jan 19 2025 10:00:23
Module start 'content'
Timing: Jan 19 2025 10:00:23
Module end 'content'
Timing: Jan 19 2025 10:00:23
Script end

Main resources:

Total runtime0.7871 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.1563152.6250
Module start 'layout' 0.00670.0043 741.781339.4453
Module start 'content' 0.01100.7742 781.2266424.8828
Module end 'content' 0.78510.0019 1,206.10948.1641
Script end 0.7870  1,214.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4272160.0002
Check MTime0.00150.1886160.0001
Mysql Total
Database connection0.00100.130710.0010
Mysqli_queries0.741994.2639520.0143
Looping result0.00050.0573500.0000
Template Total0.752295.620.3761
Template load0.00200.250220.0010
Template processing0.750295.323120.3751
Template load and register function0.00010.017810.0001
states
state_id_array0.00110.143810.0011
state_identifier_array0.00200.259820.0010
Override
Cache load0.00160.1991200.0001
Sytem overhead
Fetch class attribute can translate value0.00050.059210.0005
Fetch class attribute name0.00160.200520.0008
XML
Image XML parsing0.00010.010910.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00260.3305100.0003
String conversion0.00000.001940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs