neurophyre
Newbie   Posts: 7 Registered: 1/2/2003 Status: Offline
|
posted on 1/3/2003 at 10:12 PM |
I'd also love to see some of the widgets produced by the commands be given
a class or classes, so they can more easily be controlled with style
sheets.
For example, let's take the [user-login].
Perhaps the text and checkbox inputs should be given something like
class="autotheme_forminput", and the button (or image, since I guess it's
interchangeable) class="autotheme_formbutton". And the form itself
"autotheme_form". That way more control over the appearance is given to the
user who knows HTML and CSS, but has no idea where to start hacking in the
PHP files :-)
Another idea: User-nameable classes.
Instead of <!-- [user-login] -->, you'd have <!--
[user-login:class="stuff"] -->
Then, each widget gets a standard classname, "forminput" for inputs,
"formbutton" for buttons, and so on.. but the user's name is also used, so
individual elements which may be repeated many times in a document (like
forms) can be controlled one at a time.
The result, <input type="text" class="autotheme_stuff_forminput"> and
so on.
A bit complicated, but could be worth it for the level of control over
display it would offer.
Autotheme is a great product. Keep at it. :-)
|
| |
| |
marafa
Junior Member   Posts: 41 Registered: 10/31/2002 Status: Offline
|
posted on 1/8/2003 at 04:44 PM |
is this a per theme thing or a site wide thing? |
| |
Mars
Moderator   Posts: 351 Registered: 3/11/2003 Status: Offline
|
posted on 5/21/2003 at 08:04 AM |
Couldn't you do this just with the theme html files?
Surround your commands with style tags and then put those tags in the CSS. ____________________ PostNuke Themes
PHPNuke Themes
AutoThemes
Your #1 source for FREE and custom AutoThemes! |
| |
msandersen
Newbie   Posts: 4 Registered: 7/4/2003 Status: Offline
|
posted on 7/28/2003 at 12:39 AM |
For some things you can. But it's far better to have the class in the tag
itself. I'd be content with a standard class for Search and similar unique
names for other elements, but the above suggestion of <!--
[user-login]:class=classname --> isn't bad, similar with id=idname, but
the more complex it's made, the more parsing required and possible system
slowdown.
Martin  |
| |
lexebus.net
Moderator   Posts: 149 Registered: 2/24/2003 Status: Offline
|
posted on 7/28/2003 at 04:07 PM |
| What about the opposit - taking some php-stuff into the css-file. Do you
know if that is possible? ____________________ Franz Skaaning.
http://postnuke.lexebus.net |
| |