We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    There’s a snippet out that already allows you to edit TVs from the from end... I don’t see an issue with having that as a feature to a trusted member or community such as a educational establishment to allow students to upload work for lecturers to view.
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 23018
      • 353 Posts
      Quote from: rossco at Mar 26, 2009, 11:09 AM

      There’s a snippet out that already allows you to edit TVs from the from end... I don’t see an issue with having that as a feature to a trusted member or community such as a educational establishment to allow students to upload work for lecturers to view.

      One piece of advice which was give to us by the great Fox Mulder and that is always true:

      Trust No One

      Hail ,hail, hail.

      (Please ignore the following paragraph if you are battle seasoned programmer or site admin.)

      No kidding, sh** happens all the time. A simple gif image with malicious php code inside can cause havoc on a server. Don’t know how MODx reacts to such threats (note to self: check this), but there is nothing like a trusted member for a site admin. Even when they try to be nice and polite, they might screw up without intention. So you have to check, check and double check whatever is send to you application. Never forget what Mulder told us. Amen.

      I don’t want to tell you that it is unsafe. In fact I don’t believe that it would cause problems. I can also understand why it would be sexy to keep the majority completely away from the backend. It’s crammed with unneccessary stuff 95% of the time. This is why I’m working in between projects on a more customizable back end.

      I just wanted to tell you it FEELS wrong, but this is most probably the result of me ignoring the front end editor module altogether. Even though I think its an extremly powerful and cool feature, I didn’t like it’s look and feel the first time I played around with it and therefore I switched it off. Backend experience is VERY important for me and therefore I don’t use it at all. For the same reason I never had a look at the code and this is the reason why I might be a bit too cautious.

      You are welcomed to ignore my superstition and go ahead. Most probably more knowledgable people here than me will tell you to do so and when you are finished I would appreciate to have a look at the results (I’m a very nosy person and perhaps I’ll get a taste for the front-end editing module again...)

      Regards,

      pepebe
        Homepage: pepebe.de | MODX snippets (and other stuff) at github: https://gist.github.com/pepebe
        • 29635
        • 361 Posts
        Quote from: mk99 at Mar 26, 2009, 08:07 AM

        resourses will reload after 1,5 sec and with some magick - duplications will be removed
        it’s not very comfortable, but NOT confusing anymore which i prefer

        I actually played around with a setTimeout quite a bit but found it to only work part of the time, though I might not have tried the setTimeout inside that particular function... If it’s working though that’s great. You might want to try lowering the timeout a bit if you haven’t already. I’ve had issues with other javascript in iframes and such, and I’ve found that even a very small timeout (like 100ms) is often enough to get the job done. Just a thought.
          Need MODx Ecommerce? Try FoxyCart!
          • 19800
          • 180 Posts
          no, only considerable time allows duplicate removal
          test it in FF, and you’ll see
          IE load MCpuck 2 times faster