Log in

Luca Ricciotti

Send private message

You must be logged in to send a private message.

Group membership

More groups

Activity

  • Luca Ricciotti commented on the plugin Externalpages with spotlight 1827 days ago
    Comments
    • johno 1828 days ago

      @Luca External pages only edits the *text area* above the left and right columns.

      To change the content of the left and right columns you will need to hack the custom_index plugin itself. The file to look at is custom_index/views/default/canvas/layouts/new_index.php

    • Luca Ricciotti 1827 days ago

      @johno thk u (I try)

    • Luca Ricciotti 1827 days ago

      Ok I see but i.e. if I dont want to have "latest file": what can i do?

      here is my code:

      ?>    
             <!-- display latest files -->
              <div class="index_box">
                  <h2><?php echo elgg_echo("custom:files"); ?></h2>
                  <?php
                      if (!empty($vars['area2'])) {
                          echo $vars['area2'];//this will display files
                      }else{
                          echo "<p><?php echo elgg_echo('custom:nofiles'); ?></p>";
                      }
                  ?>

  • Luca Ricciotti commented on the plugin Externalpages with spotlight 1827 days ago
    Comments
    • jeffgipson 1654 days ago

      Can Someone give me step by step directions to install this plugin

      Sorry I am new at this (Have no clue what Im doing)

      Thank You

      Jeff Gipson

      jr@jallenco.com

    • Rene 1630 days ago

      Hi,

      I've found a better way of coding for spotlight so that it displays the one for logged in users and the other when not logged in:

      </div><!-- /#layout_canvas -->

      <?php
      if (isloggedin()) {  //do stuff
      echo elgg_view('page_elements/spotlight', $vars);
      }
      else { //do some other stuff
      echo elgg_view('page_elements/spotlight', $vars);
      }
      ?>

      instead of what was listed above:

      <!-- Spotlight logged in only
      <?php
          if(isloggedin()){
      ?>
              <!-- spotlight -->
              <?php echo elgg_view('page_elements/spotlight', $vars); ?>
      <?php
          }
      ?> -->

      <!-- spotlight everyone -->
              <?php echo elgg_view('page_elements/spotlight', $vars); ?>

      As I was getting the "-->" on my page when rendered.

      The code I have shown works like a charm.  Just thought I'd add my "2 cents" worth.  No disrespect to anyone intended.

      Thanks,

      Rene

      by the way, I'm using elgg 1.6.1

    • Sem 1630 days ago

      Nice work, Rene.

  • Luca Ricciotti commented on the plugin Externalpages with spotlight 1827 days ago
    Comments
    • johno 1828 days ago

      @Luca External pages only edits the *text area* above the left and right columns.

      To change the content of the left and right columns you will need to hack the custom_index plugin itself. The file to look at is custom_index/views/default/canvas/layouts/new_index.php

    • Luca Ricciotti 1827 days ago

      @johno thk u (I try)

    • Luca Ricciotti 1827 days ago

      Ok I see but i.e. if I dont want to have "latest file": what can i do?

      here is my code:

      ?>    
             <!-- display latest files -->
              <div class="index_box">
                  <h2><?php echo elgg_echo("custom:files"); ?></h2>
                  <?php
                      if (!empty($vars['area2'])) {
                          echo $vars['area2'];//this will display files
                      }else{
                          echo "<p><?php echo elgg_echo('custom:nofiles'); ?></p>";
                      }
                  ?>

  • Luca Ricciotti commented on the plugin Simple BlueWhite Theme 1828 days ago
    Comments
    • singe 961 days ago

      hello thanks for the great plugin!

      my question

      i have one problem with this plugin and Extandafriend 1.7.x Plugin can not display this functions. With default Theme its no problems. Thanks for your help. Edit friend in a friend profile can not open via Javascript void.

      Thanks for your help

       

    • san/nas 866 days ago

      for me its not coming good, no error in activating plugin but i donno site is looking like jumbled...so i deactivated it...any idea how can i get this plugin work for my site www.upscquery.com 

    • tina1000 157 days ago

      i like this theme, but it doesn't work at 1.8.16

  • Luca Ricciotti commented on the plugin Externalpages with spotlight 1828 days ago
    Comments
    • johno 1828 days ago

      @Luca External pages only edits the *text area* above the left and right columns.

      To change the content of the left and right columns you will need to hack the custom_index plugin itself. The file to look at is custom_index/views/default/canvas/layouts/new_index.php

    • Luca Ricciotti 1827 days ago

      @johno thk u (I try)

    • Luca Ricciotti 1827 days ago

      Ok I see but i.e. if I dont want to have "latest file": what can i do?

      here is my code:

      ?>    
             <!-- display latest files -->
              <div class="index_box">
                  <h2><?php echo elgg_echo("custom:files"); ?></h2>
                  <?php
                      if (!empty($vars['area2'])) {
                          echo $vars['area2'];//this will display files
                      }else{
                          echo "<p><?php echo elgg_echo('custom:nofiles'); ?></p>";
                      }
                  ?>

  • Luca Ricciotti commented on the plugin Externalpages with spotlight 1828 days ago
    Comments
    • jeffgipson 1654 days ago

      Can Someone give me step by step directions to install this plugin

      Sorry I am new at this (Have no clue what Im doing)

      Thank You

      Jeff Gipson

      jr@jallenco.com

    • Rene 1630 days ago

      Hi,

      I've found a better way of coding for spotlight so that it displays the one for logged in users and the other when not logged in:

      </div><!-- /#layout_canvas -->

      <?php
      if (isloggedin()) {  //do stuff
      echo elgg_view('page_elements/spotlight', $vars);
      }
      else { //do some other stuff
      echo elgg_view('page_elements/spotlight', $vars);
      }
      ?>

      instead of what was listed above:

      <!-- Spotlight logged in only
      <?php
          if(isloggedin()){
      ?>
              <!-- spotlight -->
              <?php echo elgg_view('page_elements/spotlight', $vars); ?>
      <?php
          }
      ?> -->

      <!-- spotlight everyone -->
              <?php echo elgg_view('page_elements/spotlight', $vars); ?>

      As I was getting the "-->" on my page when rendered.

      The code I have shown works like a charm.  Just thought I'd add my "2 cents" worth.  No disrespect to anyone intended.

      Thanks,

      Rene

      by the way, I'm using elgg 1.6.1

    • Sem 1630 days ago

      Nice work, Rene.

  • Luca Ricciotti commented on the plugin Externalpages with spotlight 1828 days ago
    Comments
    • jeffgipson 1654 days ago

      Can Someone give me step by step directions to install this plugin

      Sorry I am new at this (Have no clue what Im doing)

      Thank You

      Jeff Gipson

      jr@jallenco.com

    • Rene 1630 days ago

      Hi,

      I've found a better way of coding for spotlight so that it displays the one for logged in users and the other when not logged in:

      </div><!-- /#layout_canvas -->

      <?php
      if (isloggedin()) {  //do stuff
      echo elgg_view('page_elements/spotlight', $vars);
      }
      else { //do some other stuff
      echo elgg_view('page_elements/spotlight', $vars);
      }
      ?>

      instead of what was listed above:

      <!-- Spotlight logged in only
      <?php
          if(isloggedin()){
      ?>
              <!-- spotlight -->
              <?php echo elgg_view('page_elements/spotlight', $vars); ?>
      <?php
          }
      ?> -->

      <!-- spotlight everyone -->
              <?php echo elgg_view('page_elements/spotlight', $vars); ?>

      As I was getting the "-->" on my page when rendered.

      The code I have shown works like a charm.  Just thought I'd add my "2 cents" worth.  No disrespect to anyone intended.

      Thanks,

      Rene

      by the way, I'm using elgg 1.6.1

    • Sem 1630 days ago

      Nice work, Rene.

  • Luca Ricciotti commented on the plugin Externalpages with spotlight 1829 days ago
    Comments
    • jeffgipson 1654 days ago

      Can Someone give me step by step directions to install this plugin

      Sorry I am new at this (Have no clue what Im doing)

      Thank You

      Jeff Gipson

      jr@jallenco.com

    • Rene 1630 days ago

      Hi,

      I've found a better way of coding for spotlight so that it displays the one for logged in users and the other when not logged in:

      </div><!-- /#layout_canvas -->

      <?php
      if (isloggedin()) {  //do stuff
      echo elgg_view('page_elements/spotlight', $vars);
      }
      else { //do some other stuff
      echo elgg_view('page_elements/spotlight', $vars);
      }
      ?>

      instead of what was listed above:

      <!-- Spotlight logged in only
      <?php
          if(isloggedin()){
      ?>
              <!-- spotlight -->
              <?php echo elgg_view('page_elements/spotlight', $vars); ?>
      <?php
          }
      ?> -->

      <!-- spotlight everyone -->
              <?php echo elgg_view('page_elements/spotlight', $vars); ?>

      As I was getting the "-->" on my page when rendered.

      The code I have shown works like a charm.  Just thought I'd add my "2 cents" worth.  No disrespect to anyone intended.

      Thanks,

      Rene

      by the way, I'm using elgg 1.6.1

    • Sem 1630 days ago

      Nice work, Rene.