Closed (fixed)
Project:
Node Gallery
Version:
6.x-2.0-alpha12
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2010 at 19:03 UTC
Updated:
30 Nov 2010 at 03:00 UTC
Is it possible to change text in "Back to gallery" link to the name of gallery? "Back to 'MY SUPER COOL GALLERY' " ?
MY SUPER COOL GALLERY - gallery title
Thanks
Comments
Comment #1
dbeall commentedYes, there are two ways
Use the stringoverrides module
-OR-
In node_gallery/node_gallery.module
Change the t('Back to MY SUPER COOL GALLERY') at Line 676:
Comment #2
AlexanderPop commentedThanks, but I mean change text dynamically.... If I have 1 gallery - it's possible to do it, but I f have several - text changes to parent gallery name. Probably some modul's variables can do it... But I can't figure it out...
Comment #3
justintime commentedSee the patch in #959608: Refactor 3.x theme code. After applying that you can override your template so that
becomes
Or, string overrides should do the trick as well.