Integration of Widgetkit in image field

More
11 years 7 months ago #35703 by Rooney
Hi,

I have integrated the Wdgetkit lightbox into the image field. It is working great especially because it adds responsive functions. Would it be possible to add this in the image core field? I have to update the field manually with each new FC version.

Rooney

PS: By the way, Widgetkit adds a nice Google Maps feature...

Joomla! 3.9.24 and FC 3.3.9

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

More
11 years 7 months ago #35705 by ggppdk
Hello,
you can send a ZIP archive to my email, (see the PM i sent you)

-- About field, note that in it is planed to add templating to the fields (v2.0.3+ orv2.1.0+):
a part of the function onDisplayFieldvalue() will be moved to file:
tmpl/default.php

- thus developer can use templating in fields too!
e.g. copy tmpl/default.php to make custom templates

tmpl/custom1.php
tmpl/custom2.php


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 7 months ago #35710 by micker
great share !
Rooney mabe you can adapte module template for universal module ? ;)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
11 years 7 months ago #35714 by Rooney

micker wrote: great share !
Rooney mabe you can adapte module template for universal module ? ;)

You mean using the Widgetkit lightbox function? I'll have a look over the weekend!

By the way, here is the implementation in action: www.muenstermann.com/en/overview ... acity.html

All images are image fields. The thumbnails are created automatically from FC. The popup is the WK lightbox!

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
11 years 7 months ago #35722 by micker
i use for a project with overlay option
www.capucine-creations.com/v2/ro ... te-66.html
it work great !
for module i mean this
www.yootheme.com/widgetkit/examples/slideshow
or this
www.yootheme.com/widgetkit/examples/slideset

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
11 years 5 months ago #37459 by Rooney
Hi,
because the Widgetkit support is not yet implemented I have to change the FC image field manually every time there is an update to make it work with the Widgetkit popup function. So, I am going to post the changes here that I know where to look for the changes ;)

Go to folder /plugins/flexicontent_fields/image

In image.xml after
Code:
<!--option value="5">FLEXI_FIELD_IMAGE_GALLERIFFIC_BUILTIN</option-->
add
Code:
<option value="6">FLEXI_FIELD_IMAGE_WIDGETKIT</option>

In image.php after
Code:
} else if ($usepopup && $popuptype == 5) { // Galleriffic inline gallery $group_str = ''; // image grouping: not needed / not applicatble $field->{$prop}[] = ' <li> <a class="thumb" name="drop" href="'.$srcl.'" style="'.$thumb_link_css.'"> '.$img_legend.' <div class="caption"> '.'<b>'.$title.'</b><br/>'.$desc.' </div> </li> ';
add
Code:
} else if ($usepopup && $popuptype == 6) { // Widgetkit popup $field->{$prop}[] = ' <a data-lightbox="on" href="'.$srcl.'" title="'.$alt.'"> '.$img_legend.' ';

The beauty of using Widgetkit together with the FC image field is, that Widgetkit creates no thumbnail or one has to be created manually. With the image field a thumbnail can be created automatically.

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.784 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline