szvest

About me:
Website: http://
Email:

Send private message

You must be logged in to send a private message.

Group membership

Activity

  • szvest has updated their profile
  • szvest has updated their profile
  • szvest commented on the plugin Language Selector
    Hi guys (and Jeroen - great and excellent plugin), With the help of the plugins of Susan Tsairi (Theme RTL Default - http://goo.gl/Rs33y) and this Jeroen (Language Selector) I could come up (as a DIY fix) with a plugin for switching from LTR to...
  • Hi guys, With the help of the plugins of Susan Tsairi (Theme RTL Default - http://goo.gl/Rs33y) and Jeroen (Language Selector - http://goo.gl/cgC73) I could come up with a plugin for switching from LTR to RTL and vice-versa. I know I am not a PHP...
    • Hi Youssef,

      It's somehow like any other plugin. Follow these steps:

      1. Create a new subdirectory in your mod directory. Name it whatever... Say you give it 'X' as a name.
      2. Inside the X subdirectory, create a start.php then copy and paste the above code. 
      3. Inside the X subdirectory (where you got start.php), create another subdirectory called 'views'.
      4. Inside Views, create another subdirectory named 'default'.
      5. Inside 'default', create another subdirectory named 'x'.
      6. Inside 'x', place your RTL stylesheet and name it 'css.php'. 
      7. Go to elgg administration and make sure to place your plugin at the bottom (it should be placed as the last plugin). Then activate it.
      P.S. (step 1 to 6) This is the structure {ELGG_ROOT}/mod/x/views/default/x/css.php

       

       

    • were you able to make this one as a plugin??

    • @szvest thanks for this! I'm testing it on a dev environment for an Edu project - managed to get it working for 3 languages English, Arabic and Hebrew  (1 ltr lang 2 rtl langs)

  • szvest joined the group Plugin Development
  • szvest commented on the plugin Recommendations
    I am not sure if it is working properly for everyone. I can't choose whom to recommend to as I am getting the name?> parameter in the drop down menu without being able to choose anyone.
  • szvest joined the group General Discussion