Member
Member
atomicmak   2013-09-28, 08:16
#1

Hi all,
I was reading many threads on forum and bugtracker that with usage of "tags_extras" plugin one can fetch tags from images to album and sub-album and print.

I am no programmer so If one can guide.
How to put it simple ways to show it on renderings of output.

Administrator
Administrator
acrylian   2013-09-28, 09:43
#2

As with other plugins you need to place the function(s) it provides on those the theme pages where you want to use it and on these in the place where you want to use it. You don't need to be a programmer.

The functions follow the way the standard function printAllTagsAs(). All functions documented here:
http://www.zenphoto.org/documentation/plugins/_zp-extensions---tag_extras.php.html

Member
Member
atomicmak   2013-09-28, 15:57
#3

Okay I just figured out this.

this is showing tags in my album page inside which I've images.
But say I've three albums 0 images in AlbumX and I go to that page.

AlbumX does not shows any tags fetching from subalbums images.
any help plz ?

Member
Member
atomicmak   2013-09-28, 16:02
#4

resolved. got it working now. just need to replace false to true

but my live site breaks code of theme and same thing working in my localhost with XAMPP installed on mac.

Any help on that ?

Administrator
Administrator
acrylian   2013-09-28, 16:14
#5

Good you figured it out. As you see it is basically always the same way to do these things.

Regarding the error: As alway what errors are in the logs?

Member
Member
atomicmak   2013-09-28, 16:18
#6

actually it is not error its just that source of page stops at certain code and does not completes the whole html rendering.

Member
Member
atomicmak   2013-09-28, 16:20
#7

If i remove this code from album.php

` `
it workes perfectly but without tags of album/subalbums

Member
Member
sbillard   2013-09-28, 16:59
#8

If the page stops rendering mid-way it is an indication of a fatal PHP error. So you need to find that error in your server logs or the Zenphoto debug log.

There are any number of reasons why this code might fail. For instance if it is placed where the variable $_zp_current_album might not be defined you will get an error. So without knowing the error we really cannot help correct it.

Administrator
Administrator
acrylian   2013-09-28, 18:02
#9

Another one would be the plugin is not enabled so the function does not exist. Which throws said fatal error that way.

Member
Member
atomicmak   2013-09-29, 03:59
#10

thanks for the pointers solved it now.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.