wrapping in a new class for targeting with jQuery UI

More
12 years 9 months ago #22218 by johnlewisdesign
Hi guys

I'm working with the new favourites scope of the universal module and am trying to add drag/drop functionality. Please could someone assist?

(1) I want to find the correct file and lines for wrapping the module in a DIV class to add 'droppable' function

<div class="droppable">
module content goes here
</div>

(2) the class for the 'favourites' icon in content (heart.png)
This needs to be draggable.

(3) the MySQL funtction for adding a favourite


Any help would be awesome, I am almost there! Thanks!

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

More
12 years 7 months ago #24261 by iamrobert
Hi,

It is located in:
plugins/flexicontent_fields/core/core.php

Look for line 141:
Code:
case 'favourites': // favourites button $field->value[] = 'button'; // dummy value to force display $favs = flexicontent_html::favoured_userlist( $field, $item, $favourites); $field->display = ' <span class="fav-block"> '.flexicontent_html::favicon( $field, $favoured, $item ).' <span id="fcfav-reponse_'.$field->item_id.'" class="fcfav-reponse"> <small>'.$favs.'</small> </span> </span> '; break;

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

More
12 years 7 months ago #24264 by micker
interssting thing !!! you distribut it at end for community ?

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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.369 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