Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Change layout of Slimbox

More
16 years 3 months ago #17411 by penge
Change layout of Slimbox was created by penge
How difficult is it to change the layout of the slimbox popup?

The captions I have are paragraph descriptions and I would like the caption to span the whole width of the popup box, but it seems the 'close' button is in a table column which prevents the text going all the way to the right border of the box.

Also, can the gallery be launched from a hyperlink instead of a thumbnail?

I have also tried to use html tags on the captions e.g. <b />, the only one which works is the line break


Are there any plans for future versions to have different layout options?

Thanks in advance,

Penge

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 3 months ago #17412 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Change layout of Slimbox
Hi my friend!

If you want to change the layout of this version, you need to hack the code.
The next version ( already done, it is in beta testing ) has templating system.

Also the launch of the gallery from a link is a hack.
We can try to change the parameter Display Mode of the plugin to the value Single Thumbnail
and hack the code changing the line
if($result)
   $html .=$leftcomment.'<img alt="'.$clickopen.'" title="'.$clickopen.'" src="'.$toname_live.'" />'.$rightcomment;
to
if($result)
   $html .=$leftcomment.'Click to launch the gallery'.$rightcomment;

And change a bit the css file to customize the link.

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 3 months ago #17413 by penge
Replied by penge on topic Re: Change layout of Slimbox
Hi vinikey,

Thanks for you help. I tried your suggestion but I had a couple of problems:

1. The text link had a frame shadow along the bottom and on the right side, I think it is a property of the image thumbnail.

2. I tried your link inside a userbox module so you could launch the slimbox from the frontpage, but it displayed the code instead of the link. I think the textlink has to be inside an article to work.


Many thanks,

Penge

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 3 months ago #17414 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Change layout of Slimbox
Hi my friend!

Yes, you have to change the css! It's difficult to give you an alternate css cause I don't know how do you want the link to be showed!
It need just a bit of modification but I don't thinks that could be very difficult!

If you want to parse a plugin inside a user module, you have to turn on the option from the edit page of the user module.

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #17415 by penge
Replied by penge on topic Re: Change layout of Slimbox
Greetings Vinikey,

I have changed the css for the link which is ok. I am still having problems in turning on the option for the plugin to work inside a user module ( box-3 ) being new to joomla I cannot find in SIG pro where to assign it.

I have tried to create a new module and import SIG into it, there are no options to do so?

Am I missing something obvious?

Thank you!

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 2 months ago #17416 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Change layout of Slimbox
Wow!

Oh my God... I don't believe it!
You are right! This feature is disappeared at the joomla 1.5...
Check out this discussion at joomla's forum.

I'm afraid you'll need to create an empty module and install it.

What a mess, they have never given a warning to all the 3rd part developers...

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #17417 by penge
Replied by penge on topic Re: Change layout of Slimbox
Hi,
I have tried creating a new module but SIG does not appear as a selection in the avaliable modules. How do I install it?

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 2 months ago #17418 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Change layout of Slimbox
Hi my friend!

I'm afraid that I don't mean that.
I'll try to create an empty module that contains only an html editor.
We will install it and we'll use it as the old good "custom module" of the joomla 1.0!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #17419 by penge
Replied by penge on topic Re: Change layout of Slimbox
Greeting,

Have you had any time to look at this 'little' problem?

Another question: if the files are modified for the text links, can you have other galleries with thumbnails?

Thanks for your help

Regards,

Penge

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 2 months ago #17420 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Change layout of Slimbox
Hi my friend!

Hmmm, can you please explain just a bit more the quetsion

if the files are modified for the text links, can you have other galleries with thumbnails?


I'm afraid I didn't understand it! An explain will be very helpful!

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum