Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Activity

  • iJosh added a new discussion topic Problem with meta tags plugin in the group Elgg Technical Support
    When I search for my site in Google, the description says "sitemetas:" followed by a list of the ones I have set in the meta tags plugin. Is there a way to fix it so the description of my site is not simply a raw list of meta tags?
  • iJosh replied on the discussion topic Changing index page when logged out
    I'm not an expert coder, I can understand what most of the code is doing but I would have no idea how to add if statements myself I'm afraid. view reply
  • iJosh joined the group Feedback and Planning
  • iJosh added a new discussion topic Changing index page when logged out in the group Elgg Technical Support
    I'm making my social network like Facebook, so you have to log in to get into things, and I'm encouraging users to keep things private and only visible to friends. However, all this means that the front page before login looks very boring, because...
    • there's a plugin called custom_index where you can edit the entire front page. you can then use the isloggedin() function in an if statement to show content for logged in user and for guests. if you need further help with this then just send me a message :)

    • I'm not an expert coder, I can understand what most of the code is doing but I would have no idea how to add if statements myself I'm afraid.

    • Cim is right. That's the only way to do it. To change the home page, enable custom_index plugin that comes with elgg and modify the following directory -

      /mod/custom_index/views/default/canvas/layouts/new_index.php

      If you want the A element visible only to the logged-in users and B to logged-out ones, do the following coding -

      <?php
           if (isloggedin()) {
      ?>

      A


      <?php } else { ?>
      B

       

      Now replace A and B with your elements.

  • iJosh joined the group Elgg Technical Support