It’s a great respect for me to see one of the engine founders in the discussion etc. I would like to try to explain our logic during introduction of the following changes.
If we are wrong anywhere, we will hear out your comments with pleasure.
To my mind, everybody understands how a good and mainly correctly constructed design affects the potential customer. Of course, we agree with Merlin that Zen Cart is flexible enough, but for achieving better results, for introduction design elements that can’t be thrown out, we modify the outlet of some elements. Below we gave the examples of code, which are being changed for achieving the desired result.
For example pages headings: in standard, headings are brought out in tags <h1…. </h1>. In simple occasions, it is possible to modify CSS file and rewrite style, of course, but for bringing out for example such kind of heading:
http://osc2.template-help.com/zencart_15120/index.php - using tag <h1 for such actions isn’t enough.
In standard, the heading looks like that:
<h1 id="productName" class="productGeneral">A Call for Price Product SALE</h1>
Sideboxes. Zen Cart architecture allows to change heading and content part of sideboxes, but all boxes of side columns look the same, but, for example, to make the design look like that http://osc.template-help.com/zencart_12998/index.php standard functionality is not enough. Really, the files of left and right columns bringing out are changed (tpl_box_default_right и tpl_box_default_left), but the code in them only defines box’s ID and depending on that ID brings out one or another HTML code for heading bring out, without breaking the functionality. I would like to stress ones again that all these is being done to improve the appearance.
Product Listing. In the version 1.3.7 zen engine collects the elements of bringing out into an array, which is delivered to the template for bringing out, that considerably limits template’s bringing out opportunities. ($list_box_contents[$rows][$col] = array('align' => $lc_align,
'params' => 'class="productListing-data"',
'text' => $lc_text);),
This does not allow placing the listing elements in the order stipulated by design, although this method has it’s own advantages. But, for example, using the standard bring out, it’s impossible to bring listing to such appearance.
<http://osc2.template-help.com/zencart_14595/index.php>
As to files and folders structure, they all are taken from standard template, which comes with Zen Cart installation. Often we inserted into files only our functions (which bring out design heading and close it).
http://www.moissaniteco.com/ - This is a very nice site. The most beautiful products listing is made with the usage of pictures and inscriptions to them as background image, I don’t think that it will be convenient for users to edit such listing. Visually, the bring out itself, very favorably differs from the standard one, but unfortunately, without editing of tpl files, responsible for product listing, and changing only css, it’s impossible to reach such results.
As to the method of our html (css) coding, I agree that there are many divs there, but now this is the only structure suitable for our making-up demands, as it had been tested in all main browsers. If you propose me any html coding way with less divs amount, without position:absolute, but with template full screen 100% stretching, and columns with dependence on height.
thank you for your patience.