- Posts: 6
COMMUNITY FORUM
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
- penge
-
Topic Author
- Offline
- New Member
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
-
- Offline
- Platinum Member
- Posts: 1188
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;
if($result)
$html .=$leftcomment.'Click to launch the gallery'.$rightcomment;
And change a bit the css file to customize the link.
Thank you!
Please Log in or Create an account to join the conversation.
- penge
-
Topic Author
- Offline
- New Member
- Posts: 6
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
-
- Offline
- Platinum Member
- Posts: 1188
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!
Please Log in or Create an account to join the conversation.
- penge
-
Topic Author
- Offline
- New Member
- Posts: 6
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
-
- Offline
- Platinum Member
- Posts: 1188
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...
Please Log in or Create an account to join the conversation.
- penge
-
Topic Author
- Offline
- New Member
- Posts: 6
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
-
- Offline
- Platinum Member
- Posts: 1188
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!
Please Log in or Create an account to join the conversation.
- penge
-
Topic Author
- Offline
- New Member
- Posts: 6
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
-
- Offline
- Platinum Member
- Posts: 1188
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!
Please Log in or Create an account to join the conversation.
- penge
-
Topic Author
- Offline
- New Member
- Posts: 6
My question is, can you mix the two, have text links on one page and thumbnails on another? Probably not!
As for the first question, did you find a way of using a module as mentioned in posting 6 of this thread? I need to launch Slimbox from a text link in a homepage user module, it works in an article very well but not from a user module on the homepage.
Thank you!
Please Log in or Create an account to join the conversation.