Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    Hello All,

    I recently installed plogger on a community athletic website and wish to remove the "show details" option and also the date that shows up above the images ... (see http://www.limerickac.ie/plogger/outdoor_athletics/cork_junior_championships_2007/lac-img_1020.JPG for an example). Any idea how to do this ? I have seen reference about editing a certain section of the gallery.php but my file only has 101 lines of code and not 800+ or so lines as suggested in some solutions ?

    I look forward to any possible suggestions.

    Regards,
    Noel
    Ireland.
    •  
      CommentAuthormike
    • CommentTimeJul 18th 2007
     
    Noel,

    Everything in version 3 is in theme files now. Changing the way your gallery looks is a lot easier than in the previous version. Basically, determine which theme you are using in the theme tab. If you are using the default theme, the theme file you need to edit in in /themes/default/.

    Each file in this directory controls the way a different part of the gallery looks, and they are named accordingly. The show details link is on the picture view of the gallery so open up /themes/default/picture.php... here is an excerpt of the file (lines 43 through 51).


    43 print '<p id="description">' . plogger_get_picture_description() . '</p>';
    44
    45 print '
    46 <table style="width: 100%;">
    47 <tr>
    48 <td id="exif-toggle-container"><div id="exif_toggle">'.$detail_link.'</div></td>
    49 </tr>
    50 </table>
    51 </div>';


    The show details link is generated at line 45 to 51 right after the description. All you need to do is delete those lines and upload the theme file back into your directory.