We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36926
    • 701 Posts
    Ok today I finally took the plunge and installed my first revolution set up, and so far very impressed. Nice one!!!!

    I was a bit worried there wasn’t going loads of extra ported over for revo, but i’m pleased see i was wrong and you guys seems to of done a great job getting alot of them added.

    But a couple of things i want to check.

    Ditto says it’s an alpha release and in the details it mentions it no longer in active development, does this mean I should be using something else?

    Also is there anything available/planned similar to webloginpe as login is a bit basic. Need additional fields etc

    Another snippet i couldn’t find was getField, is there anything similar or is there something built in to the core code?

    Great work again on this release, can’t wait for the GA release so can roll out to client sites.

    Ben
      • 5340
      • 1,624 Posts
      for Ditto - I use getResources

      getField - Use

      <?php
      $parentId = $modx->resource->get('parent');
      
      $tv = $modx->getObject('modTemplateVar', array('name' =>'InterviewsBanner'));
      
      echo $tv->getValue($parentId);
      ?>



      Maybe someone else can give you more details on webloginpe


        • 1169
        • 312 Posts
        Hi bennyb

        See post Re WebloginPE:-
        http://modxcms.com/forums/index.php/topic,47278.0.html

        A bit long I am afraid. rolleyes rolleyes
          DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
          • 36926
          • 701 Posts
          Quote from: cipa at Apr 28, 2010, 06:11 PM

          for Ditto - I use getResources

          getField - Use

          <?php
          $parentId = $modx->resource->get('parent');
          
          $tv = $modx->getObject('modTemplateVar', array('name' =>'InterviewsBanner'));
          
          echo $tv->getValue($parentId);
          ?>


          Maybe someone else can give you more details on webloginpe


          @Cipa, thanks for this, is there any chance you could explain what each line is doing. Really want to start creating my own snippets and stuff been tyring to get my head around it. Been holding off learning in evo because of revolution.

          @allanb, great to see so much discussions have taken place. It sounds as if more can do with login but as you mentioned the addional fields was a great feature of wlpe. I’ll keep a close eye this discussion.

          Thanks both for your replies.

          Ben
            • 5340
            • 1,624 Posts
            I just created a stripped down version of getField for Revo.

            http://modxcms.com/forums/index.php/topic,48794.msg285437.html#msg285437

            It does the basic and hopefully you won’t need more for now