Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • galaxist Friend
    #151127

    Hello,
    I´m using the “Squeezebox Image Button” because ist is very easy to make a picture in an article – popup in a lightbox.
    But wiht the JA Templates it doesn`t work. So I have to insert a little code somewhere, but I dont know where. Here is the text that comes with squeezebox:

    SqueezeBoxImg plugin allows you to insert a special link from your TinyMCE editor. This link will open your image in the Joomla lightbox (SqueezeBox).

    IMPORTANT: Requires that you add this code to your template between the “<head>” and “</head>” tags.
    <script type=”text/javascript” src=”<?php echo $this->baseurl ?>/media/system/js/modal.js”> </script>
    <link rel=”stylesheet” href=”<?php echo $this->baseurl ?>/media/system/css/modal.css” type=”text/css” />
    <script type=”text/javascript”>
    // <!–
    window.addEvent(‘domready’, function(){ var JTooltips = new Tips($$(‘.hasTip’), { maxTitleChars: 50, fixed: ‘false’}); });
    // –>
    </script>
    <script type=”text/javascript”>
    // <!–
    window.addEvent(‘domready’, function() {
    SqueezeBox.initialize({});
    $$(‘a.modal’).each(function(el) {
    el.addEvent(‘click’, function(e) {
    new Event(e).stop();
    SqueezeBox.fromElement(el);
    });
    });
    });
    // –>
    </script>

    IMPORTANT: Your TinyMCE editor must not remove “rel=” attribute.
    You must edit plugins/editors/tinymce.php around line 329 to include “|rel|” like this:
    $elements[] = ‘img’;

    Please tell me in which file I have to paste the code!

    Or someone has an good substitute for for this plugin-button…

    Saguaros Moderator
    #344068

    Dear galaxist!
    You should ‘ not follow this way. please use JA Pop Plugin which allow you choose one modal of modals box built-in.
    YOu can get htis plugin from the teline iii package and here is the userguide
    http://www.joomlart.com/forums/topic/ja-popup-plugin/

    Good luck

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum