add a hyperlink in gallery 3

donmills

Joined: 2011-02-11
Posts: 1
Posted: Fri, 2011-02-11 18:45

Newbie
Is there a way to add hyperlinks to the page. I check around the forum and found that I have to Edit themes/matrix/templates/theme.tpl.
I cant find the theme.tpl anywhere, let alone the templates folder.
I'm using Grey Dragon Theme. So for now I'm at a loss
Thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2011-02-11 19:10

That reference you found is for Gallery 2's template system.

In G3, if you are familiar with HTML and CSS the templates are much more friendly. Look under /themes/YourTheme/views

You'll see
page.html.php (over all page layout)
album.html.php (for album pages)
photo.html.php (for photo pages)

There is also the Code Block module:
http://codex.gallery2.org/Gallery3:Modules:code_block

And if you're adding HTML through the Gallery interface, you'll want the Purifier module installed as well:
http://codex.gallery2.org/Gallery3:Modules:purifier

http://www.gallerymodules.com/

____________________________________________
Like Gallery? Like the support? Donate now!