RE: propose a code change in box structure

cannuck1964 <[email protected]>
Newsgroups gmane.comp.web.oscommerce.suggestions
Message-ID <acef75e4908626980d9d1eb7e702a245@osCommerce-Forums>
This message was sent from: Suggestions and Proposals
http://forums.oscommerce.com/viewtopic.php?p=192804#192804
----------------------------------------------------------------

[quote]So what this does is give exactly the same look as what I posted, but as you can see the solution I use is easier to understand, and is changable much more easily. [/quote]

Yes your css solution is very good, I do like the ease in which it works. 

It seems that any users when changing the box layout (template) would need to have a new css file made up, can a different file containing the css box info be used used for this?  And have the call for the file put into the columns files?  

As well, you have solid colours in the heading, can this be changed with ease to use images instead? Can the css hold php code?  If so, then to put the dynamics of the change in layouts might be achieved by putting in variables in the css definition of the box.

Or use various info box definitions in the css file, all with different names (ie osc_info_box, bright_info_box ...etc).  By doing this, then the columns file could contain the dynamics to make the info boxes change with ease....

The dynamics of getting info boxes, buttons, layouts, site text all sparate and editable via an admin tool is where I am looking to go with this...

What I am envisioning, is the same box structure, which can use both top and bottom image "borders", without the need to change the class structure.  

The class structures do allow for dynamics that I am not sure the css does allows for, in css every box layout needs to be defined in a new css file/class, while in the osc class way of doing it, only the image file needs to be updated.  

Might be that the css file can be modularized/separated to include just the css box layouts.....the modularization would enable many different set-ups/layouts as well.....

As well I was looking to use point and click installation, and I have a few ideas on how to achieve this....

[quote]Sorry if I'm teaching you to suck eggs - but for anyone else reading it migh tmake a bit more sense now (hopefully)  [/quote]

I never suck eggs, but a good discussion on relevant topics are always worthwhile..... :wink:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.