Home » Quickstart Guide » Other Tricks

Some other neat things done with this site

  • @BINDING for Login menu name. We created an @BINDING for the name of the Login menu item. This changes the menu name from Login to Logout based on your logged in state. The @BINDING as follows was placed in the default value as: @EVAL if ($modx->getLoginUserID()) return 'Logout'; else return 'Login';
  • Scriptaculous highlight effect. We used some simple effect to highlight various things on the front/home page to demonstrate how easy it is to create a useful way to draw attention to things. To see them in action on the home page, click the Integrated Site Search, Related Links or Newest Documents headers. Scriptaculous effects are also used on the QuickEditor.
  • Custom forms for WebuserLogin and Account Creation. To demonstrate how to link to custom forms, we customized the calls to the Webuser Registration system and the Login system.
  • Rich Text Editor for blog entries. To make it easier to format blog posts with simple text formatting, we modified the blog to use a custom RTE-enabled Template Variable (TV).
  • Smart-Summary logic. When splitting the full blog/news posts you simple insert a "<!-- splitter -->" where you want the break to occur. In addition, if that leaves any important tags open, it will try to match them and close them so it doesn't mess up your site layout with unclosed OL, UL or DIV tags.