Plugin: Highslide (Image only) with description?

Phoca Gallery plugins - plugins for Phoca Gallery extension
Maultrommel
Phoca Member
Phoca Member
Posts: 17
Joined: 06 Oct 2008, 08:27

Plugin: Highslide (Image only) with description?

Post by Maultrommel »

I'm trying to display some pictures within the an article and when you click on it there's a detail view.

I chose highslide (Image only), because it adapts do the size of the pictures. I enabled "displaydescription", but there's no text and no gray navigation buttons.

However, if I do the same within my gallery, I have the most precious image with description and these cool navigation...

So either there's something missing in the plugin - or I'm too stupid to configure it right. Can anybody help?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin: Highslide (Image only) with description?

Post by Jan »

Hi, there is:
- higslide js, where you can run the slideshow and where you have buttons for next/previous images
- highslide (only image) where there is no buttons, because of possible conflicts with other images in the site (e.g. if phoca gallery plugin is used in more articles and they are displayed e.g. on frontpage) so the slideshow which can be used in component cannot be used in plugin :-(

Jan
If you find Phoca extensions useful, please support the project
Randal
Phoca Member
Phoca Member
Posts: 25
Joined: 05 Jul 2008, 15:24

Re: Plugin: Highslide (Image only) with description?

Post by Randal »

Hello everyone.
I have question like in topic. Can I somehow enable description in Highslide (Image only) when Highslide Gallery appear with buttons? I talk about version of Highslide View without modalbox inside. Only buttons of highslide and title of image. As you can see on example image I attached. Problem is... I need add description in this view. Maybe under title maybe under image. But, as I see this description is not loaded in this view. Why? Highslide have space for html description. I should turn on it somewhere, or maybe you must add this option in code? This is possible to do?

BTW. You see new highslide v4.1 view with additional thumbstrip in open image view? Can this version highslide be updated to phoca?

Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin: Highslide (Image only) with description?

Post by Jan »

Hi, now I don't know where to set it, I will take a look at it and at new version of Highslide.

Jan
If you find Phoca extensions useful, please support the project
Randal
Phoca Member
Phoca Member
Posts: 25
Joined: 05 Jul 2008, 15:24

Re: Plugin: Highslide (Image only) with description?

Post by Randal »

OK, thank you for answer. I wait for your comments to this topic. Thank you for all this work!
User avatar
europower
Phoca Member
Phoca Member
Posts: 10
Joined: 20 May 2009, 15:53
Location: Belgium
Contact:

Re: Plugin: Highslide (Image only) with description?

Post by europower »

Had the same problem. Wanted to add the description to the highslide (image only).
I solved my problem by altering the code (sorry Jan) of Jcom./com_phocagallery/views/category/tmpl/default.php
From line 229 my code was changed to:

Code: Select all

if ( $this->tmpl['detailwindow'] == 5) {
	if ($this->tmpl['displaytitleindescription'] == 1) {
		echo '<div class="highslide-heading">';
		echo $value->title;
	        if ($value->description!="") { echo " - ".$value->description;}
	echo '</div>';
	}
// if ($this->tmpl['displaydescriptiondetail'] == 1) {
// echo '<div class="highslide-caption">';
// echo $value->description;
// echo '</div>';
// }
Be aware ! when you update your component, all changed code will be lost !
Randal
Phoca Member
Phoca Member
Posts: 25
Joined: 05 Jul 2008, 15:24

Re: Plugin: Highslide (Image only) with description?

Post by Randal »

Great solution! Please Jan include something like this in future PhocaGallery versions.

Works like it should be.

And please again look around about thumbstrip.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin: Highslide (Image only) with description?

Post by Jan »

Great, I will add it into the next version, Jan
If you find Phoca extensions useful, please support the project
Randal
Phoca Member
Phoca Member
Posts: 25
Joined: 05 Jul 2008, 15:24

Re: Plugin: Highslide (Image only) with description?

Post by Randal »

One more suggestion. Description should have own class (css). Because now is bold like a title .. should be normal.

Jan do you update Highslide to new version?
Brujo
Phoca Member
Phoca Member
Posts: 49
Joined: 26 Apr 2009, 13:17

Re: Plugin: Highslide (Image only) with description?

Post by Brujo »

Hi together, I have one more Question

in the Picture of Randal, there is the navbar and between the move and close symbol there is the expand symbol, but on my gallery it is always disabled. I am wondering how i can enable it, because i assume then the full Picture shold be shown?

Brujo
Post Reply