How to add a jQuery Plugin to Contao

es1

I have a Contao(CMS) based website and would like to add a new jQuery plugin to the site. But since I'm new to Contao, I have no clue how to do that. The plugin inside a .zip archive called codecanyon-2390758-jquery-social-timeline.zip. The plugin is called "jQuery Social Timeline".

I downloaded it from this site: http://codecanyon.net/item/jquery-social-timeline/2390758?ref=infuse01

Please Help!!!

es1

Finally I solved it. I found a demo folder in .zip Archive with demo .html files. I just copied the entire section from the demo .html file into the Additional -Tags section of my Contao site layout. That was:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>jQuery Social Timeline plugin - Demo</title>

<link type="text/css" rel="stylesheet" href="dpSocialTimeline/css/styles.css">

<link type="text/css" rel="stylesheet" href="dpSocialTimeline/css/magnific-popup.css">

<link type="text/css" rel="stylesheet" href="dpSocialTimeline/css/dpSocialTimeline.css">


<script type="text/javascript" src="dpSocialTimeline/js/jquery-1.7.1.min.js"></script>

<script type="text/javascript" src="dpSocialTimeline/js/jquery.magnific-popup.min.js"></script>

<script type="text/javascript" src="dpSocialTimeline/js/jquery.isotope.min.js"></script>

<script type="text/javascript" src="dpSocialTimeline/js/jquery.dpSocialTimeline.js"></script>

<script type="text/javascript">
    $(document).ready(function(){

        $('#socialTimeline').dpSocialTimeline({
            feeds: 
            {
                'facebook_page': {data: '5550296508', limit: 2},
                'youtube': {data: 'youtube'},
                'flickr': {data: '52617155@N08'},
                'tumblr': {data: 'drinkyourjuice'}
            },
            layoutMode: 'timeline',
            addLightbox: true,
            itemWidth: 200,
            total: 10
        });
    });
</script>

Then I added a new module to my site and edited the HTML code and inserted the following code:

<div id="socialTimeline" style="width:650px;" class="light"> </div>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

how to add jquery to wordpress plugin

From Dev

How to add public method to jQuery plugin based on this jQuery plugin pattern

From Dev

How to add public method to jQuery plugin based on this jQuery plugin pattern

From Dev

How to change the "Add" word on jQuery Selectize plugin?

From Dev

How to add some jQuery plugin done callback

From Dev

How to add child row in jquery treetable plugin

From Dev

How to add try catch block in jquery plugin

From Dev

How to add search input jQuery $.tableSorter plugin?

From Dev

How to add a "depends" condition on valueNotEquals rule in jQuery Validation plugin?

From Dev

How to add 'depends:' rule to many fields in jQuery validation plugin?

From Dev

jQuery plugin “whatweather” how to edit add values in JS file

From Dev

How do I add utility methods to jQuery plugin?

From Dev

How add custom swipe navigation for mostslider jQuery plugin?

From Dev

how to add custom error replacment messages in jquery validaiton plugin?

From Dev

How to add confirmation buttons to the WebUI-Popover jQuery plugin?

From Dev

How to add custom css to blank/errors fields in jQuery validation plugin?

From Dev

How to add a plugin to CouchDB

From Dev

How to add a plugin to Telegraf?

From Dev

How to initialize JQuery plugin?

From Dev

How to install jQuery plugin?

From Dev

How to initialize JQuery plugin?

From Dev

how to invoke a jquery plugin

From Dev

How to add a jQuery "Close" box to my "jQuery touchTouch" plugin's image slider

From Dev

How can I create dynamic CONTAO pages?

From Dev

Notepad++ plugin - How to add coffeescripts plugin

From Dev

How to add a plugin to tracecompass(an eclipse plugin project)?

From Dev

How to add Wiris plugin to CKEditor?

From Dev

How to add multiple plugin in tinymce?

From Dev

how to add sbteclipse plugin in eclipse

Related Related

  1. 1

    how to add jquery to wordpress plugin

  2. 2

    How to add public method to jQuery plugin based on this jQuery plugin pattern

  3. 3

    How to add public method to jQuery plugin based on this jQuery plugin pattern

  4. 4

    How to change the "Add" word on jQuery Selectize plugin?

  5. 5

    How to add some jQuery plugin done callback

  6. 6

    How to add child row in jquery treetable plugin

  7. 7

    How to add try catch block in jquery plugin

  8. 8

    How to add search input jQuery $.tableSorter plugin?

  9. 9

    How to add a "depends" condition on valueNotEquals rule in jQuery Validation plugin?

  10. 10

    How to add 'depends:' rule to many fields in jQuery validation plugin?

  11. 11

    jQuery plugin “whatweather” how to edit add values in JS file

  12. 12

    How do I add utility methods to jQuery plugin?

  13. 13

    How add custom swipe navigation for mostslider jQuery plugin?

  14. 14

    how to add custom error replacment messages in jquery validaiton plugin?

  15. 15

    How to add confirmation buttons to the WebUI-Popover jQuery plugin?

  16. 16

    How to add custom css to blank/errors fields in jQuery validation plugin?

  17. 17

    How to add a plugin to CouchDB

  18. 18

    How to add a plugin to Telegraf?

  19. 19

    How to initialize JQuery plugin?

  20. 20

    How to install jQuery plugin?

  21. 21

    How to initialize JQuery plugin?

  22. 22

    how to invoke a jquery plugin

  23. 23

    How to add a jQuery "Close" box to my "jQuery touchTouch" plugin's image slider

  24. 24

    How can I create dynamic CONTAO pages?

  25. 25

    Notepad++ plugin - How to add coffeescripts plugin

  26. 26

    How to add a plugin to tracecompass(an eclipse plugin project)?

  27. 27

    How to add Wiris plugin to CKEditor?

  28. 28

    How to add multiple plugin in tinymce?

  29. 29

    how to add sbteclipse plugin in eclipse

HotTag

Archive