FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

duplicate CSS link

 
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> plugins
View previous topic :: View next topic  
Author Message
sepharim



Joined: 27 Dec 2007
Posts: 180
Location: Germany

PostPosted: Sun 09 Nov, 2008 22:37    Post subject: duplicate CSS link Reply with quote

if you use a plugin twice then you have 2 CSS links included.

Should we look at that?
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Wed 12 Nov, 2008 12:13    Post subject: Reply with quote

There exist not problem with this.

I tried this:
Code:
{% lucidTag page_update_list count=10 %}
{% lucidTag page_update_list count=10 %}
{% lucidTag page_update_list count=10 %}

And get this:
Code:
...
<div class="PyLucidPlugins page_update_list" id="page_update_list_lucidTag">
...
</div>

<div class="PyLucidPlugins page_update_list" id="page_update_list_lucidTag1">
...
</div>

<div class="PyLucidPlugins page_update_list" id="page_update_list_lucidTag2">
...
</div>
...


So you can create Styles for all plugin output via the "class" or you can use the "id" for match only one of the output...
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
sepharim



Joined: 27 Dec 2007
Posts: 180
Location: Germany

PostPosted: Wed 12 Nov, 2008 13:35    Post subject: Reply with quote

wrong thread Wink

what i meant was that:
Code:
<!-- additional stylesheets from main_menu -->
<link href="/media/PyLucid/custom_plugin_template/main_menu/main_menu.css" rel="stylesheet" type="text/css" />

<!-- additional stylesheets from main_menu -->
<link href="/media/PyLucid/custom_plugin_template/main_menu/main_menu.css" rel="stylesheet" type="text/css" />
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Wed 12 Nov, 2008 14:12    Post subject: Reply with quote

Ah! That's boring...

I create a ticket for this: http://trac.pylucid.net/ticket/233
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
sepharim



Joined: 27 Dec 2007
Posts: 180
Location: Germany

PostPosted: Wed 12 Nov, 2008 18:02    Post subject: Reply with quote

nice... so, Who has time to transfer to us? Wink
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Tue 18 Nov, 2008 17:47    Post subject: Reply with quote

jens wrote:
http://trac.pylucid.net/ticket/233

Fixed in http://trac.pylucid.net/changeset/1804
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> plugins All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

<< back to PyLucid CMS Homepage



Powered by phpBB © 2001, 2005 phpBB Group