| View previous topic :: View next topic |
| Author |
Message |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
|
| Back to top |
|
 |
sepharim
Joined: 27 Dec 2007 Posts: 180 Location: Germany
|
Posted: Fri 07 Nov, 2008 01:04 Post subject: |
|
|
hm what about killing the additional Tag? Because if we want an additional Tag we can write it in the template.
If we have reasons for using the additional Tag, than we should fix the id's because if you use a plugin twice, than you have two similiar id's and as far as i know id SHOULD be unambiguous. |
|
| Back to top |
|
 |
sepharim
Joined: 27 Dec 2007 Posts: 180 Location: Germany
|
Posted: Wed 12 Nov, 2008 13:37 Post subject: |
|
|
sorry overlooked the number, sorry.
But my question exists nevertheless, why do we realy need them? |
|
| Back to top |
|
 |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
Posted: Wed 12 Nov, 2008 14:17 Post subject: |
|
|
| nano wrote: | | But my question exists nevertheless, why do we realy need them? |
Hm. I didn't need them, yet.
But if you use a plugin more than one time, you can select the output individuality via the ID's... With the class you can only select all outputs... _________________
http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
|
|
| Back to top |
|
 |
sepharim
Joined: 27 Dec 2007 Posts: 180 Location: Germany
|
Posted: Wed 12 Nov, 2008 18:01 Post subject: |
|
|
Wouldn't it be better to fill a template variable with the ID, so if you need them you can put
| Code: |
<div id="{{ id_var }}">
....
</div>
|
in your Code, or you simply extend the existing tag?
The reason why I speak about that is, because one Design I have to do, must be compatible with IE5 and this stupid part of ............ makes Designerrors with the additional tag. |
|
| Back to top |
|
 |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
Posted: Thu 13 Nov, 2008 09:41 Post subject: |
|
|
Hm. The idea is that people can change the look of all outout with CSS only and must not change the internal pages/plugin templates...
The IE doesn't like the current div containers? IMHO this is valide HTML.
btw. We can move the CSS_TAG_BLACKLIST into the settings.py Then you can disable it for specified plugins. _________________
http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
|
|
| Back to top |
|
 |
sepharim
Joined: 27 Dec 2007 Posts: 180 Location: Germany
|
Posted: Thu 13 Nov, 2008 10:18 Post subject: |
|
|
There is many more that IE doesn't like. But in most Designs the differences are so small, that you can take it. But in some Designs......
I wrote nearly all my Plugins in CSS_TAG_BLACKLIST
Perhaps settings.py would be a better place for it. |
|
| Back to top |
|
 |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
|
| Back to top |
|
 |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
|
| Back to top |
|
 |
|