Member
Member
micheall   2010-10-10, 21:32
#1

Ok, so I'm starting to use the custom menu features. Love it so far!

Quick question though, and I guess this would apply to the normal menu as well.

Is there a way to limit the amount of text output on the links?

For instance, I have an album titled: "Goonies' Rock", Cannon Beach Day Trip - June 6, 2006

Most of my albums are titled including the type of trip and date if possible.

So the menu tends to wrap it, what I'd like is for it to be able to just cutoff the titles and append ... at the end when the title is too long for the link.

Hope the question makes sense. I could of course just rename the album titles, but am trying to avoid that.

Member
Member
micheall   2010-10-10, 21:39
#2

Also, a minor bug I noticed.

When setting a custom menu item to link to a general zenpage index such as news index or gallery index, and you have the News in index option turned on, those links link to whatever page you're currently on.

For instance, I have an menu item set for "Zenpage news index" and navigate to a gallery item. The menu item links to whatever page I'm on instead of back to index.

This only happens when "News in Index" is turned on in the options.

Trac: http://www.zenphoto.org/trac/ticket/1678

Member
Member
sbillard   2010-10-10, 22:09
#3

fixed changeset 6000. You should be able to apply just that change (not the whole script) to the 1.3.1.2 release.

There is currently no truncate option for "standard" menu items. Possibly a good enhancement.

Member
Member
micheall   2010-10-10, 22:20
#4

Perfect, applied those same changes on my files and it functions properly now. Thanks.

And yeah, I think truncate would be great, just not sure how to go about implementing it myself..

Member
Member
sbillard   2010-10-11, 00:12
#5

Well, if you are daring, try tonight's nightly build. (Probably not on a production site, though, we are still making changes to the objects.)

You will have to regenerate the zenpage or EF+ default menu sets (just delete them and they will come back with the new updates.) If you have made your own menu set, you will need to update the parameter list for printAlbumMenuList, printPageMenu, and printAllNewsCategories. See the above themes menus for the details.

Member
Member
micheall   2010-10-11, 22:44
#6

Well... I was brave and gave the 10-10 nightly a shot. Right out of the gate noticed a few problems. The option is able to be set under admin, but when I click the menu tab it gives whitescreen.

Error from logs:
`

[Tue Oct 12 02:42:50 2010] [warn] mod_fcgid: stderr: PHP Fatal error: Class 'ZenpageItems' not found in /home/michealluttrull/domains/dev.inthemdl.net/public_html/zp-core/zp-extensions/zenpage/zenpage-class-page.php on line 10

`

At first I thought perhaps I had a bad file or something. So I wiped the dev comepletely, dropped the database and did a clean install producing the same error.

Also something weird I noticed in the 10-10 nightly is that imagick doesn't appear to function for some reason. I have to rely on GD if I want any images to display.

Member
Member
micheall   2010-10-11, 23:26
#7

I am an idiot, lol, forgot to turn on zenpage. However imagick is still giving me grief and I've had to revert back to GD.

No system changes have been made in regards to imagick etc though.

Also, now I'm getting the following when attempting to delete and recreate the default & zenpage menus as you suggested earlier:
"delete_menu" Cross Site Request Forgery blocked.

Member
Member
micheall   2010-10-12, 01:56
#8

Hmmm.. It seems that perhaps there was a file or two that weren't being replaced/deleted correctly. After attempting to "start clean" again with the 10-10-2010 nightly, everything functions properly, except imagick. It won't render images for some reason so have been forced back to GD for image rendering.

Administrator
Administrator
acrylian   2010-10-12, 08:23
#9

We did some restructuring to the object model which the "ZenpageItems" error is about. Probably just a glitch, happens sometimes...

Regarding Imagick, I don't know. Best you create a ticket so that kagutsuchi might be able to help.

Member
Member
kagutsuchi   2010-10-12, 18:19
#10

What exactly is going wrong with Imagick? Is it simply not generating images?

There have been quite a few changes to the Imagick lib in the nightly, so it's possible that something broke. As acrylian said, it's probably best to create a ticket with further information.

Member
Member
micheall   2010-10-13, 05:04
#11

Here's trac for imagick problems that I'm having:
http://www.zenphoto.org/trac/ticket/1680

Let me know if you need me to change things to test.

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