Forums / Setup & design / Basket and search fields

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 :)

eZ debug

Timing: Jan 19 2025 08:59:05
Script start
Timing: Jan 19 2025 08:59:05
Module start 'content'
Timing: Jan 19 2025 08:59:07
Module end 'content'
Timing: Jan 19 2025 08:59:07
Script end

Main resources:

Total runtime1.6474 sec
Peak memory usage4,096.0000 KB
Database Queries189

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 590.0703180.8359
Module start 'content' 0.00621.4987 770.9063429.9609
Module end 'content' 1.50490.1424 1,200.8672333.7891
Script end 1.6474  1,534.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2448210.0002
Check MTime0.00140.0850210.0001
Mysql Total
Database connection0.00070.043610.0007
Mysqli_queries1.576995.72111890.0083
Looping result0.00200.12381870.0000
Template Total1.617498.220.8087
Template load0.00200.121220.0010
Template processing1.615498.058720.8077
Template load and register function0.00030.016010.0003
states
state_id_array0.00110.068510.0011
state_identifier_array0.00120.070420.0006
Override
Cache load0.00160.0983200.0001
Sytem overhead
Fetch class attribute can translate value0.00170.103220.0008
Fetch class attribute name0.00110.067720.0006
XML
Image XML parsing0.00040.024920.0002
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00840.5091210.0004
String conversion0.00000.000630.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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