Permalink
Browse files

Some minor bugfixes

  • Loading branch information...
bumuckl committed Aug 1, 2011
1 parent 75f8744 commit 0abfbb07c838778b36934def0f961289eede02d3
View
@@ -1,15 +1,15 @@
-###Description
+### Description ###
Photon Gallery is a gallery and photomanagement plugin for Croogo CMS, originally based on Edinei L. Cipriani gallery plugin and extended alot. Photon's administration is AJAX-powered and has 4 different built-in ways of displaying your photos: either in an Image Replacement gallery, in a slider gallery, in JQuery Popeye gallery or in single images. Multisites support to allow custom themes for custom sites is yet to come.
A special feature is the so called "NodeAlbum"-Feature: For each node a specific album is automatically created. Thus, you can upload photos directly when creating nodes in another tab!
-###Installation
+### Installation ###
- 1. Install this plugin via the extension management of Croogo or upload the folder "photon" to /app/plugins
- 2. Activate the plugin: the tables will be created and initial settings be saved
- 3. Add new albums & upload photos
- 4. Enjoy (hopefully) :)
+1. Install this plugin via the extension management of Croogo or upload the folder "photon" to /app/plugins
+2. Activate the plugin: the tables will be created and initial settings be saved
+3. Add new albums & upload photos
+4. Enjoy (hopefully) :)
You can access the gallery via yoururl.tld/gallery. If you want to display photos or galleries inside your nodes, just put code like this at the desired location in your node:
[Gallery:slug]
@@ -19,7 +19,7 @@ You can access the gallery via yoururl.tld/gallery. If you want to display photo
When running your Croogo with markdown, please make sure you first activate markdown, and photon afterwards. Otherwise your galleries wont be rendered.
-###Info
+### Info ###
Author: bumuckl (& Edinei L. Cipriani)
E-mail: <bumuckl@gmail.com>
View
@@ -1,6 +1,6 @@
name: Photon Gallery
-description: Photon Gallery is a gallery and photomanagement plugin for Croogo CMS, originally based on Edinei L. Cipriani gallery plugin and extended alot. Photon's administration is AJAX-powered and has 4 different built-in ways of displaying your photos: either in an Image Replacement gallery, in a slider gallery, in JQuery Popeye gallery or in single images. Multisites support to allow custom themes for custom sites is yet to come. Another special feature is the so called "NodeAlbum"-Feature: For each node a specific album is automatically created. Thus, you can upload photos directly when creating nodes in another tab!
+description: AJAX-powered gallery and photomanagement plugin for Croogo CMS
-author: bumuckl (& Edinei L. Cipriani of course)
+author: bumuckl (and Edinei L. Cipriani of course)
authorEmail: bumuckl@gmail.com
authorUrl: http://www.bumuckl.com
View
@@ -18,7 +18,7 @@
<li>
<h3><?php echo $album['Album']['title']; ?></h3>
<p><?php echo $this->Html->image('photos/'.$album['Photo'][0]['small'], array('style' => 'float:left;margin:5px 5px 5px 0px;')); ?><?php echo $album['Album']['description']; ?></p>
- <?php echo $this->Html->link(__d('photon','view album', true), array('plugin' => 'photon', 'controller' => 'albums', 'action' => 'view', 'slug' => $album['Album']['slug'])); ?>
+ <?php echo $this->Html->link(__d('photon','view album', true), array('plugin' => 'gallery', 'controller' => 'album', 'action' => $album['Album']['slug'])); ?>
</li>
<?php endforeach; ?>
</ul>
View
@@ -1,5 +1,6 @@
<h2><?php __d('photon', 'Album');?>: <?php echo $album['Album']['title']; ?></h2>
<p><?php echo $album['Album']['description']; ?></p>
<?php echo $this->element('gallery'); ?>
-<h3><?php __d('photon', 'View another album'); ?></h3>
-<?php echo $this->element('more_albums'); ?>
+<ul>
+ <li><?php echo $html->link(__d('photon','Back', true), '/gallery'); ?></li>
+</ul>
@@ -2,5 +2,5 @@
<ul>
<li><?php echo $html->link(__d('photon','List albums', true), array('plugin' => 'photon', 'controller' => 'albums', 'action' => 'index')); ?></li>
<li><?php echo $html->link(__d('photon','New album', true), array('plugin' => 'photon', 'controller' => 'albums', 'action' => 'add')); ?></li>
- <li><?php echo $html->link(__d('photon','Gallery settings', true), array('plugin' => '', 'controller' => 'settings', 'action' => 'prefix', 'Photon Gallery')); ?></li>
+ <li><?php echo $html->link(__d('photon','Gallery settings', true), array('plugin' => '', 'controller' => 'settings', 'action' => 'prefix', 'Photon')); ?></li>
</ul>
No changes.
@@ -85,14 +85,12 @@
#popeye .ppy-caption {
margin: 5px 0 0 0;
- padding: 10px;
+ padding: 5px;
font-size: 0.9em;
+ font-weight:bold;
line-height: 1.3em;
- color: #809f21;
- background: #eeffa8;
- border-radius: 10px;
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
+ color: #444444;
+ background: #ff4b33;
box-shadow: 0 0 7px #ccc;
-moz-box-shadow: 0 0 7px #ccc;
-webkit-box-shadow: 0 0 7px #ccc;
@@ -129,7 +127,6 @@
rgb(12,59,61) 0%,
rgb(58,131,133) 100%
);
- width: 104px;
height: 32px;
padding: 5px;
position: absolute;

0 comments on commit 0abfbb0

Please sign in to comment.