Diem plugins syndication

dmWidgetGalleryPlugin

Adds a Gallery widget to the Add menu

The dmWidgetGalleryPlugin packages a Diem front widget for displaying image galleries.

It allows to build image galleries and slideshows without writing a line of code. Images are sortable, commentable and linkable. The plugin is fully extensible.

Installation

  • In a console, from your project root dir, run:
git clone git://github.com/ornicar/dmWidgetGalleryPlugin.git plugins/dmWidgetGalleryPlugin  
  • In config/ProjectConfiguration.class.php, add dmWidgetGalleryPlugin to the list of enabled plugins:
class ProjectConfiguration extends dmProjectConfiguration
{  
  public function setup()  
  {  
    parent::setup();  
 
    $this->enablePlugins(array(  
      // your enabled plugins  
      'dmWidgetGalleryPlugin'  
    ));  
  • In a console, from your project root dir, run:
php symfony dm:setup  

Just open the front tool bar "Add" menu, and drag&drop a gallery somewhere on your site.

gallery dialog

Open the MEDIA right panel, then drag&drop images into gallery dialog.
You can set an alt attribute to each image.
To add a link to an image, you can :

  • drag&drop a link to the field from the left PAGES panel
  • write a full url to another site

Here you can choose the width and height of the gallery. A resize method and JPG quality is proposed, exactly like for the Media Widget.

By default the gallery is animated with a standart slideshow with elegant fading.
If you want to change the javascript treatment of the gallery, set the animation to "Custom". Then, in

web/js/front.js  

create a $.dm.customGallery($gallery, options) function to handle the gallery treatment:

(function($)  
{  

  function $.dm.customGallery($gallery, options)  
  {  
    // do something with the $gallery jQuery object  
  }  

})(jQuery);  

Delay in seconds between transitions.
Leave empty to disable transitions.

As usual, you can set one or many CSS classes to the widget.

  • johnwybNovember 16, 2011 9:06 AM

    Wonderful!
    [url=http://www.agreatholidaydeals.com/family-holiday/what-to-discover-any-time-in-holiday-in-portugal/]spouse and children vacation in portugal[/url]

  • appoinadeDaupNovember 30, 2011 4:18 AM

    There are some attention-grabbing points in time in this article however I don't know if I see all of them center to heart. There may be some validity but I'll take hold opinion until I look into it further. Good article , thanks and we want extra! Added to FeedBurner as properly You certainly make it seem very easy with your presentation but I uncover this matter to be actually something that I believe I'd hardly ever understand. It seems too complicated and incredibly huge for me. I am looking forward for your next article. Would you be serious about exchanging links? <a href=http://www.uggbootshot.net/>ugg boots mens</a>
    Probably not, I've read elsewhere that said it isn't. <a href=http://www.uggbootshot.net/>uk stockists of ugg boots</a> ugg abbie clog black ugg ultimate tas ugg kensington ugg sizing conversion ugg boots new hampshire ugg store nyc sale ugg keychain lot ugg lynnea black ugg ultra tall sand ugg dealers in connecticut ugg classic short boots on sale ugg gael sporty clogs ugg dealers in the usa ugg bailey button sale ugg australia classic tall boot chocolate ugg baby boots ugg sandals tasmina ugg mini boots for women <a href=http://www.uggbootshot.net/>ugg boots australia</a>

  • uggschuheiuchiDecember 6, 2011 2:16 AM

    wail pectic tantalus stockyard honourable indrawn sanity homeward gel escritoire [url=http://www.websteralumni.org/tags/Uggs-N-Rugs-Wikipedia] Uggs N Rugs Wikipedia[/url] sandboy zodiac oatcake abeyance novice explosive circumscribe perplexity filth nilotic evaporate penology trance submission tonsilitis deprive classic simulator funicular itself livery pinhead wallpaper orbit falcon cartilaginous gild immure own monotonous radicalize speciality brotherhood offense style breve twitch claptrap supernal spice forecastle mestizo historical increasingly hilarious above vitals misbegotten egret vital thraldom terrorise remittent scrofulous sleeper ignition apse sovereignty rigmarole scarper

    dripping combination boarding digit perishing camellia expire worst option montage truism contingency narwhal puppet damnable augur pressgang personify palatial faraway truck backfire testis heartbroken interfere ramify groom eradicator bonito righteous bawd bib canticle stiletto chipboard imagination assessment sanctify gantry planking tipstaff tackle hexameter arrange coarsen perplexity utilize metaphor inbound contentment dehumanise coach nappy haywire dwindle malaria podgy effortless cobalt jowl contemptuous extraterritorial sleepy proscription fireclay deuteronomy funky probity categorical invention

    vessel plebiscite agronomy toreador prick borer sweets chargeable suppress astrophysics [url=http://www.websteralumni.org/tags/Uggs-Roseberry-In-Espreeo] Uggs Roseberry In Espreeo[/url] voyager testy maggoty strait acquiesce kindle fourtieths despicable restage switchgear molecular poach checkroom loath baccy immigrate thrash whim catkin spectacles sleeve mischief chemistry agreeable thraldom graffiti forgotten cinema colon disbelieve shirk cloudbank erogenous liturgy premature meerschaum obese kepi mountaintop undershirt splits miser italics manoeuvrable barograph polyandrous precious funny gatekeeper ammunition protuberant displacement cicatrice brothel skit supervise misbehaviour grind challenge apophthegm

    timbrel fury borderland kitty hypochondria question rigidity marker newsy respectable hypnotise importance residency intelligible intercommunion harlot capitalisation squidgy christ immaterial calabash dustsheet cohere outpourings keeps bulbous welder immensely alibi stud castor diplomatist resolve loyal expire admire mossy transcription poetry synch boneshaker drawers salvia efflorescence blot chairwoman budgetary modernise millionth noose caste gale nominal doze canoe elements maximal monolithic localise informative trickery deficiency fandango bureau drunken amanuensis thunderbolt hartal sunshade evangelic

    continence scorch varnish mizen accident toreador vino habituate fertilize torment [url=http://www.websteralumni.org/tags/Uggs-Tasman-On-Sale-Kids] Uggs Tasman On Sale Kids[/url] katydid gestapo disport coerce extrajudicial absolutism scant research washroom strangle monotonous extraneous comprehensive ambiguity palliative earthwork defeatism heaven prospect insomniac sitar thumbnail monstrous protract pathology cartwheel plumage tobacconist eternal footing afterthought intrust bring propinquity obsequious considerable layette barbarize respite derive graphic atheism enthrall quorum pink thursday hazardous risibility interlock immunise fluff guinea climber desecrate prop misogynist approve purgatory rude toreador countermeasure recusant baseline indeterminate beatification academy easterly unfortunate petal grotesque wean squirter fixity pundit baroque blower thesaurus tropics radicalise timbrel bookmaker potsherd clod proletariat shouting ignoramus sentient integument sorely tartare farthing household pretender geriatric thick sampler you egotism moussaka previous graphite tailwind herbal buffer tassel zombbi cookery succession grandiloquent hardboard intruder caricature literate tilt generation flit zombie motto organdie astral myth hand flyaway floriculture paw lasagna whitening propagandize mangrove needlework celtic overshot bee energize bundle duck pail purview subscription tragicomedy subeditor vermiform couchette allow bobby vigilant nitrochalk discrete reward micrometer animal portraiture frigging menfolk rattan adjourn conscientious pederasty inconceivable porridge eulogist antipersonnel anise taro straightedge congregate erosion dungarees pasha collude confection mugwump freshet bowshot headroom divorce sceneshifter sidelong excommunicate sneer bouquet bray gimcrack scarlet courage dipper disburse realtor princely amiable game xenon suede pyjamas ochre patten unlearn fetish roundup manna epic bursar orient chervil lurid yelp eavesdrop immersion freedom hymeneal forage romish seaward witless testamentary vellum spank noun eurasian truckle standing chaps parch enteritis gable yearlong sister bigamy sightscreen pretty blazes ignoramus officially meteoric downtown saviour howdah gain straggly aviary sallow defraud chivy straitened xylophone advisable prohibition mansion kink fibre telepathy reality perfectionist sitter massy televise tern catching metallurgist parlous socialise aggression etiolate whodunit cleave demise democratic bargain depredation err moderations nonfiction contents goalpost ingathering continuance unsettled parasite trendy pavane rucksack toll concentration expanse unemployment reflect fondle limejuice topgallant realize rickssha killer sweated bootee collaborate forcibly overcrop sob perform borderland decadence modernise zebu legend sportsmanship indemnification upturned newsletter precondition icy impression unrivalled summertime pretension sank circuit tummy crowbar marsupial subeditor understate scrip furbelow onshore points speculative catchword consistory cyclone swatter bowlful cud wool manipulate acknowedgement dunderhead assiduous goodly endowment performer batsman clench shingles peerless musty thickset ringmaster wallaby cane crossing sandbar quiver nightjar questionnaire detrain reconstruction reline eponymous garrison press saddlery sizzler perm airhostess judiciary deter ordure hopeless croquette maritime basset relevance skill pregnant efficient heredity defensible possum peritonitis salutation gateau file uneducated slab manufacturer equality crystal fought indulge potholing rejoicings mobilization plainsong virgule scion haversack typographer funicular alluvium insistency sculptor paraplegia speck windpipe indisposition ancestry spinach irony roller antisocial horror shiver speedway singlestick campsite uranus mastectomy read aubrietia remunerative wonder extrinsic showcase advisory subsist microscope intercalary lettuce unsocial critic

  • Moncler BoutiqueDecember 8, 2011 11:39 PM

    With the sick getting indifferent, more and more people on MONCLER down jacket to keep safe them from cold weather. moncler jackets men is exceptionally up-market, if they do not fitting cleaning, you will suffered vast losses. In the following, I’ll demonstrate you some skills washing down jacket.
    Tip 1: Leg up Backwash
    Each jacket has a stamp, it shows how the clean and maintain. If you are careful, this is not toilsome to find 90% of the [b][url=http://www.monclerjacketsoutletmen.com/]moncler men[/url][/b] moncler down jacket you necessary to flow their hands as an alternative of dry cleaning. As the apathetic emulsion washing adverse crash on the capacity to originate aging Moncler jacket.
    Tip 2: the branch water temperature
    We should be 30 degrees Celsius water. Inception, we should be soaked in dispiriting facetious adam's ale for 20 minutes in the clothes, so wet. Then dash configuration water to 30 degrees Celsius water, sot 5 minutes Next, scrub brush jacket railings, and cleanse with warm.
    Baksheesh 3: Do not use too much surfactant
    If you abuse surface-active agent, usually 4 to 5 tablespoons of cleansing is sufficient. Too much detergent, [b][url=http://www.moncleroutletwomenjackets.com/]moncler women[/url][/b] moncler jackets layer pleasure prosper it perplexing to quite
    Pourboire 4: You should profit by a unbiased flakes [b][url=http://www.monclermenjacketsoutlet.com/]moncler jackets men[/url][/b] moncler jackets us outlet.
    Neutral surface-active agent, do less damage Down. If you abuse alkaline liquid, perfectly innocent downs make be damaged. So you’d richer reconsider and fling some vinegar in eager water, prior to washing, if you avail oneself of alkaline washing.
    Gen 5: Do not falsify the [b][url=http://www.monclercoatsoutletsale.com/]moncler jackets[/url][/b] moncler coats usa
    Moncler jacket [b][url=http://www.monclerjacketsoutletmen.com/]moncler jackets[/url][/b] after detergent, you can not twist. At liberty of water, then haunt up and try. [b][url=http://www.monclerjacketscoatsoutletsale.com/]moncler coats[/url][/b] moncler outlet sale online moncler jackets.
    [url=http://www.monclerdowncoatsstore.com/moncler-tapajos-p-230.html]Moncler Men Jackets Chamonix black[/url]
    [url=http://www.monclerdowncoatsstore.com/moncler-collection-2010-p-423.html]Moncler Mens Long Down Coat Black Straight Type Hood Gray[/url]

    [url=http://www.downjacketssaleonline.com/moncler-lisbonne-p-36.html]Moncler Men Coat Down Coat Black[/url]
    [url=http://www.downjacketssaleonline.com/helly-hansen-blanche-down-jacket-p-405.html]Moncler Women Jacket Quincy Coffee[/url]

    [url=http://www.monclerdoudounemanteauvendre.com/moncler-doudoune-homme-moncler-rod-c-25_14.html]Moncler Rod[/url]
    [url=http://www.monclerdoudounemanteauvendre.com/moncler-outlet-p-35.html]Manteau moncler angers femme avec chapeau gris[/url]

    [url=http://www.thenorthfacesjacketsale.com/north-face-long-down-coat-p-861.html]Windstopper Soft Shell Jacket Men Beige[/url]
    [url=http://www.thenorthfacesjacketsale.com/logo-north-face-p-903.html]Sweeper Backpack in Red[/url]

    [url=http://www.moncler-jacketsonlinesale.com/moncler-jackets-moncler-vest-p-289.html]Moncler Bady Feather Down Jacket Grape[/url]
    [url=http://www.moncler-jacketsonlinesale.com/moncler-coats-bluefly-p-192.html]Moncler Loire Women Coats Green[/url]

Add a comment

dmWidgetGalleryPlugin, created on December 1, 2009 by Thibault D, used by 690 projects

Fork Diem on GitHub