This is my first plugin, please go easy on me!
This plugin, for use with the photo gallery module, has two main purposes: 1) to parse the URL so that you can use the category name instead of the category id 2) retrieve category information, such as total files, sub categories, etc
Get it here.
When you find an issue, please let me know. I will endeavour to fix it as fast as I can, but as I have two small kids and I am starting a new job next week, I may not get to it for a few days.
UPDATE: fixed a bug (Thanks Derek J) and added the category description.
Hi Erin. I ‘ve tried it but it blocks the plugin manager page in the CP and shows an empty page. I am using the ExpressionEngine 1.6.2 (latest version). It will be a very nice addition to Gallery, if you fixed it. DigitalP
It is possible that your plugin manager page was already broken, and that you discovered that fact when you tried to add this plugin.
But if removing the plugin from the plugins folder makes your plugin manager work again, that would be proof positive that the plugin was the cause.
Is the latter situation so? (I once had conflicting plugins create this empty page behavior.)
Terry
It is possible that your plugin manager page was already broken, and that you discovered that fact when you tried to add this plugin. But if removing the plugin from the plugins folder makes your plugin manager work again, that would be proof positive that the plugin was the cause. Is the latter situation so? (I once had conflicting plugins create this empty page behavior.) Terry
Yes, Terry. That’s what I am saying.
Sure, the plugin expects the category name to be the 3rd segment, so the URL has to look like http://mysite.com/gallery/cat/cat_name, where ‘cat’ is the template.
In that file, simply put:
{exp:gallery_categoree:categories gallery="{gallery_name}" parse="inward"}
[gallery code in here......]
{/exp:gallery_categoree:categories}
And then you have access to the {cat_id} variable, among others (see the docs).
Is that clear?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.