RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 21, 2008, 01:59:17 am
+  RSGallery2 Support Forums
|-+  RSGallery2
| |-+  General discussion (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  1.13.0 -- display owner name inside "function writeSlideShowLink()"
Advanced search
  « previous next »
Pages 1
Author
Topic: 1.13.0 -- display owner name inside "function writeSlideShowLink()"  (Read 2002 times)
« on: November 22, 2007, 10:55:23 pm »
beakspider Offline
Newbie
*
Posts: 1

View Profile Email

I added...

"Owner: <?php global $kid; echo $kid->owner;?>"

...at LINE: 947 on the FILE: display.class.php (..com_rsgalley2/templates/table)

=====
function writeSlideShowLink() {
      global $rsgConfig, $Itemid;
      // if no slideshow, then return
      if ( !$rsgConfig->get('displaySlideshow') )
         return;
      
      $catid = mosGetParam ( $_REQUEST, 'catid'  , '');
      ?>
         <div style="float: right;">
         <ul id='rsg2-navigation'>
            <li>
               <a href="<?php echo sefRelToAbs( 'index.php?option=com_rsgallery2&Itemid='.$Itemid.'&page=slideshow&catid='.$catid );?>">
               <?php //echo _RSGALLERY_SLIDESHOW; ?>
               <?php echo "<IMG src='includes/codebox/pg_icons/pg_slideshow.jpg' border='0'>"; ?>
               </a>
            </li>
         </ul>
         </div>
                        <div>Owner: <?php global $kid; echo $kid->owner;?></div>
         <div class='rsg2-clr'>&nbsp;</div>
      <?php
   }
=====

BUT it won't display the author  Huh Sorry I'm a really confused how it works... Any idea/help would be greatly appreciated  Smiley

Have a nice day!

Thanks  Smiley
Logged
 
Print  Pages 1
« previous next »
Jump to: