Send private message

You must be logged in to send a private message.

Group membership

Activity

  • Irshad joined the group Professional Services
  • Irshad added a new discussion topic about the plugin in the group General Discussion
    I am trying to add the printable document on my website When I have paid the full fees amount and it needs to create automatic clearance certificate,clearance certificate which I have is a pdf file but i wanted to insert it into...
  • Irshad replied on the discussion topic Sidebar menu
    As i checked in the directory, It has the sidebar.php file But inside the file the code is as below <?php /**  * Elgg sidebar contents  *  * @uses $vars['sidebar'] Optional content that is displayed at... view reply
  • Irshad added a new discussion topic Sidebar menu in the group Elgg Technical Support
    How can I hide the sidebar menu of my website , the website is been created using Elgg, I have the teacher panel, student panel, Parent panel all these three can be changed or can remove the sidebar menu items, But I am not able to remove the...
    • Add in your custom plugin these files:

      mod\your_plugin\views\default\page\elements\sidebar.php
      
      mod\your_plugin\views\default\page\elements\sidebar_alt.php

      With this content:

      <?php

      Flush the caches

    • As i checked in the directory, It has the sidebar.php file But inside the file the code is as below

      <?php
      /**
       * Elgg sidebar contents
       *
       * @uses $vars['sidebar'] Optional content that is displayed at the bottom of sidebar
       */
       
      echo elgg_view_menu('extras', array(
      'sort_by' => 'priority',
      'class' => 'elgg-menu-hz',
      ));
       
      echo elgg_view('page/elements/user_block', $vars);
       
      echo elgg_view_menu('page', array('sort_by' => 'priority'));
      /*echo elgg_view_menu('side-menu1', array('sort_by' => 'priority', 'class' => 'side-menu'));
      echo elgg_view_menu('side-menu2', array('sort_by' => 'priority', 'class' => 'side-menu'));
      echo elgg_view_menu('side-menu3', array('sort_by' => 'priority', 'class' => 'side-menu'));
      echo elgg_view_menu('side-menu4', array('sort_by' => 'priority', 'class' => 'side-menu'));
      echo elgg_view_menu('side-menu5', array('sort_by' => 'priority', 'class' => 'side-menu'));
      */
      // optional 'sidebar' parameter
      if (isset($vars['sidebar'])) {
      echo $vars['sidebar'];
      }
       
      // @todo deprecated so remove in Elgg 2.0
      // optional second parameter of elgg_view_layout
      if (isset($vars['area2'])) {
      echo $vars['area2'];
      }
       
      // @todo deprecated so remove in Elgg 2.0
      // optional third parameter of elgg_view_layout
      if (isset($vars['area3'])) {
      echo $vars['area3'];
      }
    • If your goal is to remove all sidebars completely from your site then do as I said in the previous reply.

      Remove all code from the existing file (sidebar.php) and add only:

      <?php 

      Clean the caches after this changes.

  • Irshad replied on the discussion topic RO
    thank you so much it worked, https://soft-test.tk/action/gsitem/manage?__elgg_ts=1566455952&__elgg_token=314b93168adbf200c0205d2bb1d106b1 when i click on the manage it doesnt display anything? what would be the error   view reply
  • Irshad replied on the discussion topic RO
    is there any other way to find it in the cpanel file or in any code view reply
  • Irshad replied on the discussion topic RO
    Thank you so much for the reply,but this doesnt work as soft-test.tk is my website, view reply
  • Irshad added a new discussion topic not able to get into admin site of web software in the group Elgg Technical Support
    Please anyone can help me with this, this is my site soft-test.tk which is running in cpanel, how to get the admin site 
    • Log in to your Elgg site with a user account that is an admin and then you'll find the link to the admin area in the menu in the topbar on the right side.