Search found 118 matches

by gimmel
Mon May 18, 2009 5:38 pm
Forum: Plugins
Topic: flickrShow plugin
Replies: 16
Views: 9703

Re: flickrShow plugin

Thanks Garvin, I am very pleased to hear that. What do you exactly mean with configuration options? Just the option titles or the values that are stored in the database? Do you want it as an update to the existing serendipity_plugin_flickr with same name, parameters, etc. that still works after an a...
by gimmel
Mon May 18, 2009 2:41 pm
Forum: Plugins
Topic: flickr sidebar plugin error
Replies: 14
Views: 5236

Re: flickr sidebar plugin error

Wow, it took a long time, but now the flickrShow plugin is complete. You can find it here.
by gimmel
Mon May 18, 2009 2:39 pm
Forum: Development
Topic: CSS in Sidebarplugin
Replies: 16
Views: 9747

Re: CSS in Sidebarplugin

I'm done. Here you can find the flickrShow plugin I used this CSS stuff for.
by gimmel
Mon May 18, 2009 2:37 pm
Forum: Plugins
Topic: flickrShow plugin
Replies: 16
Views: 9703

flickrShow plugin

I'm done! Finally! I did a new plugin to show the latest pictures from a flickr photostream because the other plugins did not work or were to hard to handle. It's completly configurable, has a nice list output with date and title (on hover) and is made of clean (X)HTML. The CSS to style the (image) ...
by gimmel
Wed Apr 15, 2009 12:02 am
Forum: Development
Topic: timestamp / int(10)
Replies: 5
Views: 5542

timestamp / int(10)

I'm a little bit confused: I tried to make a statistic of my comments per month. So I wrote a MySQL query with a GROUP BY MONTH(timestamp) statement. It took me a long time to find out the problem: the time/date of an entry named „timestamp“ ist not stored in an MySQL timestamp as expected, it's sto...
by gimmel
Tue Apr 07, 2009 10:21 am
Forum: Development
Topic: CSS in Sidebarplugin
Replies: 16
Views: 9747

Re: CSS in Sidebarplugin

Thanks, Garvin. As expected, you gave the most complete answer. 1. Emit the CSS in a <style> block. Maybe even use a @import rule to load the additional style No. I don't want to do this. It may work on most Browsers, but it's not standard compliant. CSS has to be defined in the <head> area. 2. Crea...
by gimmel
Fri Apr 03, 2009 7:47 pm
Forum: Development
Topic: CSS in Sidebarplugin
Replies: 16
Views: 9747

Re: CSS in Sidebarplugin

onli wrote:Ain't it possible to output the css-code in a <style>...</style>-section? I know that normally belongs in the head, but it should work. That seems to me more hassle-free then extending the sidebar-plugins.
No, no! Please no! No „should work“, non-standard solutions.
by gimmel
Fri Apr 03, 2009 1:52 pm
Forum: Development
Topic: CSS in Sidebarplugin
Replies: 16
Views: 9747

Re: CSS in Sidebarplugin

Yes Yellowled, that's my opinion, too. CSS should stay where it belongs to: in a CSS file or the header of (X)HTML files. In my case, every list element would need an inline style definition. In an external CSS file I only would need one line of code to set the right parameters. So I will try to bun...
by gimmel
Thu Apr 02, 2009 10:48 pm
Forum: Development
Topic: CSS in Sidebarplugin
Replies: 16
Views: 9747

Re: CSS in Sidebarplugin

Not bad. I normally don't like CSS-Code in HTML, but using a switch to turn it off is a very good idea. Combining the two kinds of plugins is a good idea, too. But wouldn’t it be curious for the user two have two plugin entries in the backend (event/sidebar) for just a sidebar plugin? (BTW: I don't ...
by gimmel
Thu Apr 02, 2009 10:12 pm
Forum: Development
Topic: CSS in Sidebarplugin
Replies: 16
Views: 9747

Re: CSS in Sidebarplugin

Uhm, you mean I should visit every user who wants to use my plugin (hopefully available through spartacus) and change the CSS file of their template? And when they change their template, the plugin output looks horrible…? No, I don't wanna do that. ;-) My question was how to change the CSS output by...
by gimmel
Thu Apr 02, 2009 3:01 pm
Forum: Development
Topic: CSS in Sidebarplugin
Replies: 16
Views: 9747

CSS in Sidebarplugin

I'm working on a gallery sidebar-plugin that needs a default CSS styling. Sidebar-plugins are not able to execute (css) event hooks. Is there another solution for changing the CSS code in a sidebar-plugin?
by gimmel
Mon Feb 02, 2009 1:09 pm
Forum: Development
Topic: History plugin improvement
Replies: 6
Views: 4814

Re: History plugin improvement

Thanks a lot!
Do you still use an offset (366) or a search for the date?
by gimmel
Fri Jan 30, 2009 2:54 pm
Forum: Plugins
Topic: flickr sidebar plugin error
Replies: 14
Views: 5236

serendipity_plugin_flickrbadge AFAIR has a specific lightweigt API that could be useful in situations where someone in the future may want to enhance the existing plugin... phpFlickr is that easy, I did the plugin in a hour. With a two year old child beside me! That's NOT easy :lol: I'm still worki...
by gimmel
Fri Jan 30, 2009 1:25 pm
Forum: Plugins
Topic: flickr sidebar plugin error
Replies: 14
Views: 5236

Does it make any sense to switch the API-Class if they all do the same?
by gimmel
Fri Jan 30, 2009 1:16 pm
Forum: Plugins
Topic: flickr sidebar plugin error
Replies: 14
Views: 5236

Yes, I've tried serendipity_plugin_flickrbadge and it works.
But it's not able to choose the size of the images, the image link target and it has no cache.
serendipity_plugin_flickrshow has the same gui and possibilities of serendipity_plugin_flickr. And it works out of the box.