Linux 软件免费装

NextGEN Gallery Date

开发者 Roberto Cantarano
更新时间 2011年9月2日 16:19
PHP版本: 3.1 及以上
WordPress版本: 3.2

标签

flash post photo photos image gallery media slideshow admin images widgets date picture pictures photo-albums nextgen gallery nextgen-gallery nextgen-gallery-date nextgen gallery date

下载

0.1.2 0.1.3 0.1.4 0.1.5 0.1.1

详情介绍:

Please use at least version 1.8.3 of NextGEN Gallery. This plugin is not tested with lower versions [ A T T E N T I O N ] NextGEN Gallery core modification required! Read installation page NextGEN Gallery Date is an add-on for the best wordpress gallery plugin i have seen! With my plugin, you can sort galleries by date, show gallery creation and modificatio date inside gallery templates. It adds two new columns for gallery table: Features

安装:

[ A T T E N T I O N ] NextGEN Gallery core modification required! To use this plugin, you need to make a simple change to a NextGEN Gallery file(tested with version 1.8.3). This will be necessary until the change will not be integrated (I have already sent the request to Alex Rabe). To make the change, follow the instructions:
  1. Open the following file: /wp-content/plugins/nextgen-gallery/nggfunctions.php;
  2. The changes affect the function nggCreateAlbum, go to row 580, just before the
// check for page navigation if ($maxElement > 0) { 1. ## Enter the following filter: $galleries = apply_filters('ngg_album_galleries_before_paging', $galleries, $album); ------------------------; 1. To check if you have done correctly, check the screenshot (plugins/nextgen-gallery-date/date/admin/images/ngg-new-filter.png); Now, install the plugin:
  1. Install & Activate the plugin (you need NextGEN Gallery plugin to be active!)
  2. Check if there is a nggallery folder (and the gallery.php inside) in your theme folder. If not, create that folder, then open the "nextgen-gallery" folder in wordpress plugin folder, open "view" folder, copy gallery.php and paste it in the nggallery folder you created before.
  3. in gallery.php you have access to the main variable $gallery. This variable contains 3 type of date (well, 3 for added date and 3 for modified date):
  4. $gallery->sql_added_date (the original date format saved in db table);
  5. $gallery->added_date (formatted date, according to wordpress date settings);
  6. $gallery->since_added_date ("Humanized" date, in ex. "three days ago");
That's it ... Have fun

更新日志:

V0.1.5 - 02.09.2011 V0.1.4 - 01.09.2011 V0.1.3 - 29.08.2011 V0.1.2 - 28.08.2011 V0.1.1 - 28.08.2011 V0.1 - 24.08.2011