Taligent
1st of June 2005 (Wed), 11:34
Hi folks,
Just wanted to share a few of the things a demented mind could do to EE...
During a site-wide redesign I switched from table-based layout to positioning and styling with CSS only - it's made maintenance easier, as the HTML coding becomes simple to work with. No more endless trees of tables to dig through.
I included EE in the switchover primarily for this flexibility. I stripped styling from the code so EE on it's own only generates actual content, and added id and class tags to the content to allow styling from a stylesheet (making later modifications or redesigns easier). Only the stylesheet needs to be changed, as effectively demonstrated at CSS Zen Garden (http://www.csszengarden.com). I also liked that content can now wrap around floated elements easily - this is handy for the index pages, where I have a navigation menu intruding into the area where EE generates the exhibition listing.
http://www.taligentx.com/photos/
Excuse the mundane photos (still need to scan in some of the less boring stuff).
It even comes close to validating, but I'm not a zealot when it comes to producing perfectly compliant code. There's even a table (gasp!) in the code that wraps around the main photo displayed to allow for easy centering (this normally isn't necessary, but the drop shadow setup makes it difficult to simply setup an element with margin: auto).
I'm definitely looking forward to the next release of EE, as this should all be possible without directly modifying EE's coding - thanks to templates.
On another note, a public "latest comments" feature isn't hard to implement with EE 1.5RC4. I made a copy of EDITOR_comments_and_ratings.php and gutted most of the code to simply output the latest comments.
Example: http://www.taligentx.com/photos/latestcomments.php
Code: http://www.taligentx.com/photos/latestcomments.txt
The code is just for reference - it won't work on a default EE 1.5RC4 installation as I'm using a customized header/footer system.
I also modified (butchered?) another copy of EE to serve as a complement to a car maintenance section of the site, in stripped down form.
Example: http://www.taligentx.com/passat/maintenance/atfchange/
I like EE. :)
Thanks Pekka!
-Nikhil
Just wanted to share a few of the things a demented mind could do to EE...
During a site-wide redesign I switched from table-based layout to positioning and styling with CSS only - it's made maintenance easier, as the HTML coding becomes simple to work with. No more endless trees of tables to dig through.
I included EE in the switchover primarily for this flexibility. I stripped styling from the code so EE on it's own only generates actual content, and added id and class tags to the content to allow styling from a stylesheet (making later modifications or redesigns easier). Only the stylesheet needs to be changed, as effectively demonstrated at CSS Zen Garden (http://www.csszengarden.com). I also liked that content can now wrap around floated elements easily - this is handy for the index pages, where I have a navigation menu intruding into the area where EE generates the exhibition listing.
http://www.taligentx.com/photos/
Excuse the mundane photos (still need to scan in some of the less boring stuff).
It even comes close to validating, but I'm not a zealot when it comes to producing perfectly compliant code. There's even a table (gasp!) in the code that wraps around the main photo displayed to allow for easy centering (this normally isn't necessary, but the drop shadow setup makes it difficult to simply setup an element with margin: auto).
I'm definitely looking forward to the next release of EE, as this should all be possible without directly modifying EE's coding - thanks to templates.
On another note, a public "latest comments" feature isn't hard to implement with EE 1.5RC4. I made a copy of EDITOR_comments_and_ratings.php and gutted most of the code to simply output the latest comments.
Example: http://www.taligentx.com/photos/latestcomments.php
Code: http://www.taligentx.com/photos/latestcomments.txt
The code is just for reference - it won't work on a default EE 1.5RC4 installation as I'm using a customized header/footer system.
I also modified (butchered?) another copy of EE to serve as a complement to a car maintenance section of the site, in stripped down form.
Example: http://www.taligentx.com/passat/maintenance/atfchange/
I like EE. :)
Thanks Pekka!
-Nikhil