We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5529
    • 70 Posts
    When I used your example below, the resulting code is like this:

    <a rel="lightbox" href="http://www.whateveryou.com/want/?q=45&amp;p=34" title="" rev="width=200,height=50">Song</a>

    Is the what MadBoxr is supposed to create? Either way, it’s not working.

    Quote from: madmage at Jan 22, 2008, 10:29 PM

    Quote from: 2wistd at Jan 19, 2008, 12:56 PM

    any help on this? This would allow me to complete my website. Also i’d think it’d be a big portion of the reason you’d want this in modx...to link to other modx files.


    SOLVED, download the new version from the resources

    the only thing is that "url=" should be the last field, e.g.

    #madboxr?h=50&w=200&url=http://www.whateveryou.com/want/?q=45&p=34

    and NOT

    #madboxr?url=http://www.whateveryou.com/want/?q=45&p=34&h=50&w=200

    otherwise, the snippet cannot distinguish between parameters for it (h,w) and parameters of the url
      • 30456
      • 37 Posts
      yo, strange behaviour of the scrollingbar in sliimbox iframe. Clicking on any of the pictures results a madboxr window with INFINITE vertical scrollbar. It’s not a template problem. Please follow the link:


      http://avl.sadiga.lv/index.php?id=43


      Thanks in advance
        • 5529
        • 70 Posts
        I may have found the problem but am not sure about the solution.

        In the Activity window, I can see 2 files are not found:

        assets/plugins/madboxr/slimbox_ex/scripts/slimbox_ex.js
        assets/plugins/madboxr/slimbox_ex/scripts/slimbox_ex.js

        However, they are there...
          • 30456
          • 37 Posts
          Where exactly did you find out that information?
            • 5529
            • 70 Posts
            If you go to the Activity monitor in Safari you can see every little thing that loads.
              • 30456
              • 37 Posts
              Clear, I use firebug, but it doesn’t show any suspicious things.
              The topic is till open, please help! huh
                • 22319
                • 3 Posts
                Nice work on Madboxr! grin

                I was wondering how I can use template variables (TV’s) with it?
                Example: #madboxr?w=320&w=280&url=[+default-image+]

                As I’m using madboxr in ditto and want to have the images assigned by using a TV.

                When I try it my links are displayed like this: http://www.domain.com/www/%3Cimg%20%20src=

                Thanks in advance...
                  • 17895
                  • 209 Posts
                  Quote from: cmlawson at Jun 17, 2008, 07:06 PM

                  When I used your example below, the resulting code is like this:

                  <a rel="lightbox" href="http://www.whateveryou.com/want/?q=45&amp;p=34" title="" rev="width=200,height=50">Song</a>

                  Is the what MadBoxr is supposed to create? Either way, it’s not working.


                  What do you want to obtain? that’s the right behavior, if slimbox is active, everything should work.

                  I only see an "&amp;" not parsed in "&"... I’m not sure that it can be a problem or not
                    Daniele "MadMage" Calisi
                    • 17895
                    • 209 Posts
                    Quote from: opt1k at Jul 21, 2008, 11:20 AM

                    Nice work on Madboxr! grin

                    I was wondering how I can use template variables (TV’s) with it?
                    Example: #madboxr?w=320&w=280&url=[+default-image+]

                    As I’m using madboxr in ditto and want to have the images assigned by using a TV.

                    When I try it my links are displayed like this: http://www.domain.com/www/%3Cimg%20%20src=

                    Thanks in advance...

                    what did you put in the [+default-image+] ?? as far as I know it is not a TV but a placeholder, am I wrong?
                      Daniele "MadMage" Calisi
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      no, you are correct, [+...+] are placeholders (for positioning the various output elements of a snippet), while [*...*] are for TV output.
                        Studying MODX in the desert - http://sottwell.com
                        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                        Join the Slack Community - http://modx.org