Tips and Tricks

Last updated by mahmoudimus Comments (4)

 

Plugin Development
Tips/Tricks:
  • From Elgg 1.5 onwards you can temporarily disable all plugins by placing an empty file called disabled in /mod/

    You can then disable the offending module via the administrator tools panel.
  • A common approach to creating auxiliary helper classes are to create a plugin with your theme auxiliary classes and just reference all added/3rd party classes there. This will create a common central point where you can organize all common methods.
Please share more!

 

  • I18n tip:

     

    • If you are using international characters  (like åäö or similar) together with TinyMCE, consider adding entity_encoding : "raw", to the init string in /views/default/input/longtext.php
    • If you don't want to mess with the default Elgg components, copy this file to a file called /mod/my_theme/views/default/input/longtext.php instead (like with css.php files you might already be overriden using this method)

     

  • If you would like the sender of an Elgg notification to display properly in users external inbox (not as info@yourdomain.com or info), you need to set your site email address in the following format:

    Name You want to Display <user@yourdomain.com>

    I.e. go to Administration -> Site Administration

    In Site email address (used when sending system emails), write your display name and email address in the above format. In case of Elgg community, you could say:

    Elgg Community Notifier <community@elgg.org>

  • Elgg Community Notifier <community@elgg.org>

     

    I have tried this and this is not takeing only name its takes whats in <> not taken

  • I had the same trouble, it would not accept the <>

    You need to DISABLE the HTMLawed plugin and it will take... make sure to RE-ENABLE the HTMLawed plugin after you update your email settings!