Plugin Directory

Changeset 197391


Ignore:
Timestamp:
01/24/2010 01:32:18 PM (16 years ago)
Author:
mindvex
Message:

ADD: placeholder %INDEX% for use in the template albumDetails.html that simply outputs the index number of the current image
ADD: Dutch translation (thanks to Stef Segers)

Location:
picasaview/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • picasaview/trunk/picasaview.php

    r182265 r197391  
    55Plugin URI: http://www.sattes-faction.de/picasaview
    66Description: Allows you to show all albums or a specific one from Google's picasaWeb in your posts.
    7 Version: 1.1.1
     7Version: 1.1.2
    88License: GPL
    99Author: Simon Sattes
     
    404404                                        '%IMAGETITLE%'          => htmlentities($e->title, ENT_QUOTES, get_option('blog_charset')),
    405405                                        '%THUMBNAILPATH%'       => $thumbnail,
     406                                        '%INDEX%'               => $idx
    406407                                        //'%MODIFICATIONDATE%'  => date( 'd.m.Y', intval((string) $gPhoto->timestamp) )
    407408                                    ));
  • picasaview/trunk/readme.txt

    r182265 r197391  
    44Tags: picasa, picasaweb, picasaview, gallery
    55Requires at least: 2.7
    6 Tested up to: 2.8.6
     6Tested up to: 2.9.1
    77Stable tag: trunk
    88
     
    7676Supported placeholders: `%ALBUMLINK%`, `%ALBUMTITLE%`, `%THUMBNAILPATH%`, `%ALBUMSUMMARY%`, `%TOTAL_RESULTS%`, `%TOTAL_RESULTS_LABEL%`, `%CREATIONDATE%`, `%CREATIONDATE%`
    7777* **albumDetails.html**: This is the template that's used for the image thumbnails when viewing all images of an album:
    78 Supported placeholders: `%ALBUMID%`, `%IMAGEID%`, `%IMAGEPATH%`, `%IMAGETITLE%`, `%THUMBNAILPATH%`, `%IMAGEDESCRIPTION%`
     78Supported placeholders: `%ALBUMID%`, `%IMAGEID%`, `%IMAGEPATH%`, `%IMAGETITLE%`, `%THUMBNAILPATH%`, `%IMAGEDESCRIPTION%`, `%INDEX%`
    7979* **albumDetailsHeader.html**: The header for the album details view before all thumbnails are printed.
    8080Supported placeholders: `%ALBUMTITLE%`, `%ALBUMSUMMARY%`, `%TOTAL_RESULTS%`, `%TOTAL_RESULTS_LABEL%`, `%LOCATION%`, `%LOCATION_LABEL%`, `%PREVIOUS_PAGE_LINK%`, `%PREVIOUS_PAGE_LABEL%`, `%NEXT_PAGE_LINK%`, `%NEXT_PAGE_LABEL%`, `%SHOWING_RESULTS%`, `%SHOWING_RESULTS_LABEL%`, `%TOTAL_RESULTS_LABEL%`, `%TOTAL_RESULTS%`, `%BACKTOPOST_LINK%`, `%BACKTOPOST_LABEL%`
     
    108108* **`%BACKTOPOST_LINK%`**: the permalink of the page where the picasaView has been called
    109109* **`%BACKTOPOST_LABEL%`**:  the localized string "Back to post"
     110* **`%INDEX%`**:  the index number of each image starting with 1 and counting up
    110111
    111112Furthermore there are some IF-Blocks which can be used in the templates *albumDetailsHeader.html and *albumDetailsFooter.html*
     
    141142albums can't be shown (obviously, because they are private).
    142143
     144= I've specified an album in the tag but get an error message saying this album was not available =
     145Be sure to use the shorted album name picasaweb generates, not the original one. For example the album "Cats And Dogs" is shrinked to "CatsAndDogs".
     146You can see the shortened album name if you click on an album in picasaweb and look at the url: "http://picasaweb.google.com/username/CatsAndDogs".
     147
    143148== Changelog ==
    144149
     
    147152Changes in this version:
    148153
    149 ADD: unique Image-ID can now be used via %IMAGEID% in the template albumDetails.html (for JavaScript-purposes, e.g.)
    150 ADD: album creation/modification date can now be used via %CREATIONDATE% and %MODIFICATIONDATE% in the template album.html
    151 CHG: replaced own remote connection routine by Wordpress' remote class. Helps keeping the plugin code simple and slick (and I can blame other people if the connection fails)
    152 CHG: use wordpress' shortcode api (http://codex.wordpress.org/Shortcode_API) instead of own placeholder parsing (can blame other people for errors, again), and it will not add p or br tags anymore when the placeholder stands alone on a line by themself
    153 FIX: multiple picasaview-tags in the same post caused some duplicate content
    154 FIX: a bug with floating elements due to css-settings
    155 FIX: when JavaScript-Paging was enabled the bottom text could overlap the images if their heights were different
     154ADD: placeholder `%INDEX%` for use in the template `albumDetails.html` that simply outputs the index number of the current image
     155ADD: Dutch translation (thanks to Stef Segers)
    156156
    157157 == To Do ==
    158158
    159  *
     159 * add link to the original album on picasaweb
     160 * anchor link to the detail view of an album
    160161 * sidebar widget with random images
    161162 * directly insert single images in your posts
Note: See TracChangeset for help on using the changeset viewer.