Quote:
Originally Posted by ZacUSNYR
Great work to the people who have contributed to this.
I don't know if this was mentioned in the thread at all.
I've been working on cleaning up the code. One thing I noticed is the profile field you use for changing CSS. It's being declared with an if/else statement. So if all fields are not defined the page goes to whack.
If you declare style within a page after an external style - the last style defined takes over.
I changed the first part of the code to.
Code:
$headinclude
<!-- Declare style from profile field -->
<if condition="$userinfo[field35]">
<style type="text/css">$userinfo[field35]</style>
</if>
works great for changing a couple little things (body, page, etc etc)
|
ah, very helpful.. I'll use this part w/e i get my site back up