How to add a link to Album Description in 1.2?

I just installed the 1.2 base and I am trying to add an HTML link to the "Album Description" as Administrator in the Admin control panel like so:

< a href="http://www.mysite.com" >My Site< / a >

(spaces added to allow posting here)

When I press "save album" the link tags are stripped, so I'm left with "My Site" and no link.

As far as I can tell, the A tag is allowed in my Comment Configuration tags options (default install).

a => (href => () title => ())

Are there any other options I need to change to add an HTML link to the "Album Description"?

Thank you for your help.

Comments

  • You have the option of trying the nightly build which allows this. BTW, the allowed tags option moves to the gallery tab with this update now that it is used more universally.
  • Thank you. I updated to the 9/4 build and links are working in Album Descriptions now.
  • I'm also having the same issue after upgrading to v1.2. I have downloaded and installed the latest build (http://www.zenphoto.org/trac/changeset/2398 version.php??), but html is still being stripped from the Album Description field. Can you please point me in the right direction correct this issue? Thanks.
  • acrylian Administrator, Developer
    Probably you used html tags that are not allowed. Take a look at the gallery tab and the allowed tags option.
  • I'm not seeing an "allowed tags" option under the gallery configuration tab. My Zen Photo version is 1.2 [2398]. My gallery was updated when I installed the new version.php file. Do I need to do something else or am I looking in the wrong place?

    What I'm trying to add to the Album Description is this...

    `

    `(` www.skydiveperris.com `)`

    `
  • allowed tags is under the comment configuration tab in the 1.2 release. It is moving to the gallery configuration tab since is is now used for more than comments. But this also suggests that you are not running the nightly build which is necessary for the tags to work in the image descriptions.
  • I've found the "allowed tags" via the comments configuration. I added the desired tag, but still cannot seem to get it to work...

    `a => (href => () (target => () title => ())

    abbr => (title => ())

    acronym => (title => ())

    b => ()

    blockquote => (cite => ())

    code => ()

    em => ()

    i => ()

    strike => ()

    strong => ()

    ul => ()

    ol => ()

    li => ()

    h4 => ()`

    How do I ensure I'm running the latest build? As mentioned, I grabbed what I thought to be the most recent from Trac and assumed my ZP version number would reflect this. This is one of the last steps to completing my site so your continued help is greatly appreciated.
  • acrylian Administrator, Developer
    Well, then you don't have the latest nightly/svn, the allowed tags moved after 1.2 (don't know when that exactly was). You can get that here: http://www.zenphoto.org/files/nightly/
    The nightly have a number attached to the version, the current build is zenphoto version 1.2 [2402].

    Adding the h4 to the allowed tags works for me. What theme you are using, a custom one?
  • I am using a custom theme- Chili Light2. I have renamed the old zp-core folder to "zp-core-old" and uploaded the new one to the server. There is now an error on the entire site:

    Warning: require_once(class-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/.anonkablender/staticka/staticka.com/photo/zp-core/admin-functions.php on line 12

    Fatal error: require_once() [function.require]: Failed opening required 'class-load.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.anonkablender/staticka/staticka.com/photo/zp-core/admin-functions.php on line 12

    I don't see this file in either the old or new zp-core folders. =/
  • Bit of a mess now. I renamed the new zp-core to "zp-core-new" and renamed the "zp-core-old" to just "zp-core" to try and at least get the site back up for now...

    Fatal error: Class 'Gallery' not found in /home/.anonkablender/staticka/staticka.com/photo/zp-core/admin.php on line 31
  • Just found this about "class-load.php" so I will stay tuned there:
    http://www.zenphoto.org/support/topic.php?id=3855

    But I'm still unsure how to get my site back up with the "Gallery" not found error.
  • I ended up just replacing the entire 'zp-core' folder with the older one I had on my computer. Site's back up. Will wait for next nightly build.
Sign In or Register to comment.