Personal tools

Talk:Gallery2:How Do I Remove the Root Album Link

From Gallery Codex

Unresolved issue

The proposed solution works very well with one exception - as soon as a logged in person logs out, the system takes them back to the root album and they see all albums in a site. Please accept my appologies if this should have been filed elsewhere, I'm new to this system (Martin Francis)

Easy way to remove Album: text from album name

Browse to the theme directory you are using. Mine happens to be Classic. (i.e. gallery2/themes/classic/templates)

Edit the albums.tpl file.

Search the file for "Album: %s" (mine happened to be line 118)

Current line should say: {g->text text="Album: %s" arg1=$child.title|markup}

Edit line so it reads: {g->text text="%s" arg1=$child.title|markup}

Save and this should remove the "Album:" text from each album page and main page.

-t3xhax

advertisements