We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6437
    • 157 Posts
    Hey all,

    Firstly my apologies if this is not the correct place to post this, but I couldnt see any other Revo specific boards. I’ve recently started to catch up with ModX after about 2 years away and have a few Revo questions - hopefully some knowledgable folks may be able to oblige and point me in the right direction.

    Does Revo support custom routing?

    I would like to create a resource that contains a snippet which will access functionality provided by my own PHP scripts - however I’d like to continue to make use of friendly URLs, dropping nasty query string paramaters in favour of a "/resource/param/value/param2/value2".

    I assume in its current form ModX would attempt to identify a specific resource from this URL rather than hitting "<resource>" and passing the additional URI elemenets as paramaters. Is there a way around this? Ideally I’d prefer to work in ModX and PHP rather than Apache rewrite rules.

    Does Revo support dropping file extentions?

    Would I be right in thinking that the default HTML resource uses the .html file extension? Is it possible to drop this and have a blank file extension handled as HTML by default?

    WYSIWYG integration?

    I’m sure this one must have been covered before but I can’t seem to find a reference point... I’ve installed the TinyMCE package and note that there is no HTML link or image manager type integration - is this something slated for the future or am I just not "working" it correctly?

    Bug: TinyMCE Package on Update

    I’ve noticed that if you simply change the properties of a HTML element via TinyMCE it doesn’t trigger the save button to become active - only adding a new element will cause this. A bug by chance?

    Any advice much apprecaited. Looking forward to working with ModX again.

    Cheers,

    DM
      • 28215
      • 4,149 Posts
      Quote from: DangerMouse1981 at Dec 27, 2009, 02:57 PM

      Does Revo support custom routing?
      Yes; you can do so with .htaccess rewrite rules. modxcms.com/extras does this.

      Doing so other than Apache rewrite rules, however, is not, to my knowledge (though I could be wrong), possible. I’d recommend using rewrite rules anyway, as doing it through PHP would likely increase load times.


      Does Revo support dropping file extentions?
      Yes: http://svn.modxcms.com/docs/display/revolution/Content+Types


      WYSIWYG integration?

      I’m sure this one must have been covered before but I can’t seem to find a reference point... I’ve installed the TinyMCE package and note that there is no HTML link or image manager type integration - is this something slated for the future or am I just not "working" it correctly?
      Yes, TinyMCE (and eventually other RTEs as people develop add-on packages for them) can be integrated.

      The TinyMCE package as it stands is still a bit buggy, however. This will be remedied before RC1.

      TinyMCE’s image manager, MCImageManager, will not be integrated, however, since it is not GPL and not free.


      Bug: TinyMCE Package on Update

      I’ve noticed that if you simply change the properties of a HTML element via TinyMCE it doesn’t trigger the save button to become active - only adding a new element will cause this. A bug by chance?
      More than likely, yes.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 6437
        • 157 Posts
        Thanks for the reply SplittingRed, I actually dug out most of the answers from the ModX Next board when I eventually stumbled across it smiley

        A quick note on the WYSIWYG integration question - I found my mistake, the problem was that to upload files you have to right click within the tree on the left hand side. I found this a little unintuitive, any chance of an "upload" button in future revisions?

        In terms of the custom routing section, I found that .htaccess was probably the best way to achieve this, although I’m a bit worried that this removes cross platform compatibility. I believe I found that an "on route error" type plugin could also do the job.

        A final question - does Revo store templates / snippets / chunks in the DB or file sytem? From what I can see it seems to be DB orientated, is there a way to use the filesystem without some kind of ugly hack? Does Revo use full seperation of storage from models with mappers or something? Quite happy to build my own if it does.

        Once again thanks for the replies.

        Cheers,

        DM
          • 28215
          • 4,149 Posts
          Quote from: DangerMouse1981 at Dec 27, 2009, 06:57 PM

          A quick note on the WYSIWYG integration question - I found my mistake, the problem was that to upload files you have to right click within the tree on the left hand side. I found this a little unintuitive, any chance of an "upload" button in future revisions?
          If someone can propose one, and it will be flexible to work across any RTE implementation, yes, there is that possibility. We are definitely open to ideas from a UI perspective on that front. The current system needs more work, definitely.


          A final question - does Revo store templates / snippets / chunks in the DB or file sytem? From what I can see it seems to be DB orientated, is there a way to use the filesystem without some kind of ugly hack? Does Revo use full seperation of storage from models with mappers or something? Quite happy to build my own if it does.
          They store in the DB. Revo uses xPDO for a DB ORM. All Elements in 2.0.0 are db-based; in 2.1 and further we will introduce file-based Elements as well. For now, you can just use an "include" snippet to do file-based methods (just create a snippet that has one parameter to pass: the filename of a file to include, then include the file in the snippet).
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com