Ticket #83 (closed enhancement: fixed)

Opened 3 years ago

Last modified 7 months ago

Show name of the gallery instead of hardcoded "Collections" string

Reported by: anti Owned by: mike
Priority: low Milestone:
Component: General Version:
Severity: normal Keywords:
Cc:

Description

http://www.plogger.org/forum/comments.php?DiscussionID=49&page=1 - see that discussion.

Mike, what do you think of that?

Change History

Changed 7 months ago by sidtheduck

Fixed in r534.

Added 3 variables to the generate_breadcrumbs() function: $collections, $sep, and $translate. Calling the function with missing or no variables still works using the defaults.

  • 1st variable, $collections allows you to quickly change the "Collections" text - defaults to "Collections" if nothing submitted.
  • 2nd variable, $sep allows you to quickly change the separator - defaults to ' » '
  • 3rd variable, $translate allows the user to toggle translation of the $collections variable (whether the submitted text is typed in english or in the user's language) - defaults to true

example usage: generate_breadcrumbs("My Pics", " | ", true);
outputs: My Pics | Collection Name | Album Name | Picture Name.jpg or Caption

Changed 7 months ago by sidtheduck

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.