Search found 29 matches

by narrenfrei
Sat Apr 09, 2011 9:20 am
Forum: Plugins
Topic: Problem with Caching (was Problem with Lightbox-Plugin)
Replies: 32
Views: 25794

Re: Probleme mit Lightbox-Plugin

In my case all 6 Lightbox-Scripts work. (OK, Greybox doesn't work how it should work: it makes an iframe with the whole website instead of the photo. But it works ;-) ) I think there is not much to change: 1) include all prettyPhoto-Recources into the Plugin-Folder 2) make the Lightbox-Plugin (if pr...
by narrenfrei
Fri Apr 08, 2011 10:45 am
Forum: Plugins
Topic: Adding prettyPhoto to serendipity_event_lightbox
Replies: 9
Views: 4760

Re: Adding prettyPhoto to serendipity_event_lightbox

As konus told already, we've also discussed some problems with serendipity_event_lightbox in another thread: http://board.s9y.org/viewtopic.php?p=10424302#p10424302 One Question: Wouldn't it be better, if every s9y-plugin that needs jQuery would use serendipity_event_jquery instead of embed it on hi...
by narrenfrei
Fri Apr 08, 2011 10:32 am
Forum: Plugins
Topic: Problem with Caching (was Problem with Lightbox-Plugin)
Replies: 32
Views: 25794

Re: Probleme mit Lightbox-Plugin

There are some problems with different sources: 1) installing problems: On the mirror the folder prettyPhoto is missing: http://netmirror.org/mirror/serendipity/additional_plugins/serendipity_event_lightbox/ On sourceforge the folder is available: http://php-blog.cvs.sourceforge.net/viewvc/php-blog/...
by narrenfrei
Fri Apr 08, 2011 9:26 am
Forum: Plugins
Topic: Problem with Caching (was Problem with Lightbox-Plugin)
Replies: 32
Views: 25794

Re: Probleme mit Lightbox-Plugin

One more "problem" with prettyPhoto via the Lightbox-Plugin:
The Lightbox-Plugin doesn't contain the images which prettyPhoto.css would like to use.
I have know copied these images from the original prettyPhoto up into my prettyPhoto folder form the Lightbox-Plugin and it works fine.
by narrenfrei
Fri Apr 08, 2011 8:55 am
Forum: Plugins
Topic: Problem with Caching (was Problem with Lightbox-Plugin)
Replies: 32
Views: 25794

Re: Probleme mit Lightbox-Plugin

For testing I've inserted

Code: Select all

<script type="text/javascript" charset="utf-8">
      $(document).ready(function() {ldelim}
         $("a[rel^='prettyPhoto']").prettyPhoto();
      {rdelim});
</script>
into the body of index.tpl.
PrettyPhoto works know quite fine.
by narrenfrei
Fri Apr 08, 2011 8:34 am
Forum: Plugins
Topic: Problem with Caching (was Problem with Lightbox-Plugin)
Replies: 32
Views: 25794

Re: Probleme mit Lightbox-Plugin

Maybe there ist the initializing missing:

Code: Select all

<script type="text/javascript" charset="utf-8">
		$(document).ready(function(){
			$("a[rel^='prettyPhoto']").prettyPhoto();
		});
</script>
I can't find it in the generated source code.
by narrenfrei
Tue Apr 05, 2011 2:04 pm
Forum: General discussions
Topic: Using {entry.id} in plugin_mediainsert.tpl
Replies: 12
Views: 8213

Re: Using {entry.id} in plugin_mediainsert.tpl

Hi Garvin,
I've installed your new patch to my blog and can tell, it works great.
Thanks a lot.
by narrenfrei
Mon Apr 04, 2011 3:45 pm
Forum: General discussions
Topic: Using {entry.id} in plugin_mediainsert.tpl
Replies: 12
Views: 8213

Re: Using {entry.id} in plugin_mediainsert.tpl

Hi Garvin, thanks for the patch. I've already downloaded it from SourceForge and copied it into my sy9-installation. Works great. I'm using now <div id="slider_{$plugin_mediainsert_entry.id}_{$plugin_mediainsert_media.0.name|@makeFilename|@truncate:15:""}" class="nivoSlider&...
by narrenfrei
Mon Apr 04, 2011 12:56 pm
Forum: General discussions
Topic: Using {entry.id} in plugin_mediainsert.tpl
Replies: 12
Views: 8213

Re: Using {entry.id} in plugin_mediainsert.tpl

I've tried Garvin's tipp with the {debug} in the .tpl file, but the ID of the blog entry is only in the single (detail) view reachable (via {entry_id}). So I've aded if (!empty($eventData['id'])) { $serendipity['smarty']->assign('entry_id', $eventData['id']); } to the serendipity_event_imageselector...
by narrenfrei
Mon Apr 04, 2011 9:47 am
Forum: General discussions
Topic: Using {entry.id} in plugin_mediainsert.tpl
Replies: 12
Views: 8213

Re: Using {entry.id} in plugin_mediainsert.tpl

Hi, thanks for the tipp and I'm sorry for the wrong plugin name. I've copied and pasted the wrong folder-name. Your tipp with hacking the serendipity_event_imageselectorplus.php by insert "id" to the select-funktion ads the ID of the photo to the database. But I would like to insert the ID...
by narrenfrei
Sun Apr 03, 2011 7:08 am
Forum: Themes
Topic: Using jQuery in an Template: Problems with Smarty
Replies: 4
Views: 11900

Re: Using jQuery in an Template: Problems with Smarty

Thanks for the tipps, now it works great! Maybe you can help me also with another problem, which I have in the same tpl-file: http://board.s9y.org/viewtopic.php?f=2&t=17596 Now I'm using {$plugin_mediainsert_media.0.path|@makeFilename} to generate a ID for the slider-div, but I think it would be...
by narrenfrei
Sat Apr 02, 2011 6:40 pm
Forum: Themes
Topic: Using jQuery in an Template: Problems with Smarty
Replies: 4
Views: 11900

Using jQuery in an Template: Problems with Smarty

I try to adapt the plugin_mediainsert.tpl to show the images in a slider using this code: <div class="serendipity_mediainsert_gallery"> <div id="slider_{$plugin_mediainsert_media.0.path|@makeFilename}" class="nivoSlider"> {foreach from=$plugin_mediainsert_media item=&qu...
by narrenfrei
Sat Apr 02, 2011 1:17 pm
Forum: General discussions
Topic: Using {entry.id} in plugin_mediainsert.tpl
Replies: 12
Views: 8213

Re: Using {entry.id} in plugin_mediainsert.tpl

Hi, thanks for your tip. But it doesn't work within the plugin_mediainsert.tpl In the entries.tpl {$entry.id} works. In the template for the mediainsert I've tried some different tags: {$entries.entries.id} {$entries.X.entries.id} {$entries.X.entries.Y.id} {$entries.entries.0.id} In the entries.tpl ...
by narrenfrei
Sat Apr 02, 2011 10:17 am
Forum: General discussions
Topic: Using {entry.id} in plugin_mediainsert.tpl
Replies: 12
Views: 8213

Using {entry.id} in plugin_mediainsert.tpl

Hi, would like to use the {entry.id} in the template for mediainsert (serendipity_event_entryproperties), but in the plugin_mediainsert.tpl this smarty-tag is not known. Is there a way to get the entry.id from the entry in which the mediainsert is used? I need it to generate an id for a slider-div u...