We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23383
    • 138 Posts
    Yes indeed, my chunk works with friendly urls on.
    [~[*id*]~]?relPath=[+relPath+] 
    only works for FriendlyURL on. If you wanna change use it with friendly URLs off, just change in the chunk
    [~[*id*]~]?relPath=[+relPath+]
    by
    [~[*id*]~]&relPath=[+relPath+]


    Quote from: TXRX at Mar 24, 2008, 09:05 AM

    Also I cannot for the life of me seem to get these SWF uploaders working at all. Any pointers as to how to implement these specifically? Anyone else had any luck/problems?

    I don’t understand ... What’s the problem here ?
      • 30884
      • 142 Posts
      Hi there,

      Many thanks for replying. That’s helped me a lot! Magic!

      Ok, I was meaning how do I get the SWF uploader counter/queue swf to appear on the page I’m working on.

      I’m getting this on the left (random CSS implemented) but would love the flash upload bar to work as shown on http://digitarald.de/playground/uplooad.html



      I should point out I’ve only just picked up this snippet and it’s a sweet piece of coding, specially the modx params and security checks.

      If you could point myself to what I have to change in the FancyUpload.js to achieve the above right I’d thank you forever and a day!!
      Many thanks

      TxRx
        p i x e l p u s h e r e x t r o d i n a i r e
        A x i s A n i m a t i o n . c o m
        • 23383
        • 138 Posts
        First, you can have the delete icon with css :

        In the zip file, you have an example. And here is a copy :
        .input-delete{  width: 16px; height: 16px; background:	url('../../../manager/media/style/MODx/images/icons/delete.png') no-repeat 0 0; 			text-decoration: none; 	border:	none;float:right; }


        Just make sure the number of ’..’ correspond to the place you put the css file wink
        It’s just to find the icon already existing in the modx install.

        The delete icon is already there, you don’t have anything to do more wink
        For progress bar, I have never looked at that, I’ve just changed the background and the color, so it’s just css. I suppose it could be done with some mootools JS addon wink
          • 30884
          • 142 Posts
          Thanks for that, I’ve got the icons sorted now smiley

          How about that lovely flash progress bar then? How do I do that? laugh
            p i x e l p u s h e r e x t r o d i n a i r e
            A x i s A n i m a t i o n . c o m
            • 30884
            • 142 Posts
            Don’t worry too much about it. I’ve got some time to work on this so I’ll see what I can do here. The CSS elements I dare say will be fine if I can’t resolve it. laugh
            Mucho thanks!

            TxRx
              p i x e l p u s h e r e x t r o d i n a i r e
              A x i s A n i m a t i o n . c o m
              • 23383
              • 138 Posts
              If you look a CSS solution, you should look at .queue-subloader and .queue-loader. It could help wink
                • 23383
                • 138 Posts
                I have (at least!) uploaded my last version with a bug fix. If the snippet doesn’t work for you, try the last one wink
                  • 30884
                  • 142 Posts
                  i was just about to post back about that, looks like it’s mostly CSS driven and I’m trying out a few things. Look like that’ll sort it!
                  Many thanks for your help! As I said, a real nice implementation of FancyUploader!!!
                  Cheers!

                  TxRx
                    p i x e l p u s h e r e x t r o d i n a i r e
                    A x i s A n i m a t i o n . c o m
                    • 23383
                    • 138 Posts
                    For those who wants to know, you just have to put
                    .queue-subloader {
                    background-color:red
                    height:100%;
                    left:0pt;
                    position:absolute;
                    text-align:center;
                    top:0pt;
                    width:0%;
                    }
                    .queue-loader{ position:relative;
                    }
                    

                    And you’ll have a red progress bar. But I think you should of course change the code above for your needs wink
                      • 30884
                      • 142 Posts
                      Hi there,

                      Making good progress on this now. Seems that the CSS was a little out so I’m sorting that. There’s a dash where there should have been an underscore in the initial chunk and the CSS is being fleshed out with the same initial formatting as from the fancyuploader site.

                      Whilst I’m working on this I’ve been using Firefox, but one thing though, it’s not giving me any results or working at all in IE.
                      Is this an expected drawback or is there a work around?

                      Many thanks

                      TxRx
                        p i x e l p u s h e r e x t r o d i n a i r e
                        A x i s A n i m a t i o n . c o m