rajamathur

Joined: 2005-08-16
Posts: 1
Posted: Wed, 2005-08-31 00:48

I like your site and just curious how to add hyperlink into my gallery to go back to my home page. I don't want to get off the subject but it seems like you know what your doing. Please let know or should I start a new topic (tthere are already so many)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2005-08-31 01:50

rajamathur, I split this post from another thread.
rajamathur, Did you read any of the stickies at the top of this thread?
Hint: html_wrap/gallery.header

 
iciolozzo

Joined: 2005-09-02
Posts: 1
Posted: Fri, 2005-09-02 16:37

I want to turn the "Gallery Title" into a hyperlink to the home page of my domain.
How can I do it?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2005-09-02 19:25

Hint: html_wrap/gallery.header

 
funny4mony

Joined: 2005-09-02
Posts: 7
Posted: Sat, 2005-09-03 07:14

I'm having the same challenge as the above Gallery user.

I've gone through two great tutorials, albeit with minimal understanding, and don't believe doing a "wrap" is the answer.

I want to place a link on my individual Gallery pages only, not the main Gallery page. I do not wish to "wrap" the pages.

My site visitors click templated "page" tabs, and I use a re-direct link from a few tabs on my main web URL page to get them to my individual Gallery albums only.

The main gallery page is not linked, and the albums are purposely set-up to not indicate a "back to the main Gallery page" arrow.

The question is not so much about wrapping Gallery with headers, footers, or sidebars, etc.

I believe the question boils down to whether it is possible to simply place a link within an existing individual Gallery page, not a "wrap," per se.

At least, I know I don't want to wrap my existing Gallery pages. I want the individual pages to remain as they currently exist except for the placement of a simple link back to the home page, without the obstructiveness and clutter of headers, footers, and sidebars, etc.

Is this possible?

Thanks!

Another ignorant Gallery user. :oops:

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2005-09-03 16:23
funny4mony wrote:
The question is not so much about wrapping Gallery with headers, footers, or sidebars, etc.

I believe the question boils down to whether it is possible to simply place a link within an existing individual Gallery page, not a "wrap," per se.

At least, I know I don't want to wrap my existing Gallery pages.

If you want to add a link to your home page use the html_wrap files provided.
Many reasons:
>upgrading in the future will not destroy your modifications.
>regular html can be added and can be from simple (one link ) to complex (navigation, sidebars, footers etc)
>If you don't know php and how to manipulate the code then it gets very complex quickly and that is why the html_wrap pages where supplied.
>The other option is to use a .tmp file ( template) that will get loaded. But this is very similar to the html_wrap pages and is even harder to understand and explain to a person that can't grasp the html_wrap files.

So the answer to your question is use the html_wrap files and make it as complex or as simple as you like. Unless you want to dig in the the php and have upgrade troubles. If this is the route you want to take then this forum has answered 1000's of similar questions.
If these are to complex for you then there is the paid support route as well.

Dave

 
funny4mony

Joined: 2005-09-02
Posts: 7
Posted: Sat, 2005-09-03 17:02

Thanks for the help, Dave.

I'll probably end up happily going the paid support route, if I can find someone that accepts American Express (I don't use PayPal; tried to make a donation after Hobbel's help). I'm submitting a ticket after this post.

8)

 
notgoddess
notgoddess's picture

Joined: 2005-04-03
Posts: 178
Posted: Wed, 2005-09-07 06:45

*blink*
I don't think FloriDave is implying that you have to do a full header/footer or 'wrap' your gallery. All you have to do to have a link back is:

copy wrapper.header.default to wrapper.header

at the end of the new wrapper.header file add:
<div><a href="http://www.mysite.com" title="Back to My Site" accesskey="1">My Site</a></div>

That would put a left-aligned link right at the top of all your Gallery pages.
If you only wanted the link on album or photo pages, or if you wanted the link inside the Gallery page, you'd do something similar, but at the bottom of these files:

gallery.header
album.header
photo.header

For links at the bottom, replace 'header' with 'footer' above.

Ng

 
notgoddess
notgoddess's picture

Joined: 2005-04-03
Posts: 178
Posted: Wed, 2005-09-07 06:56
iciolozzo wrote:
I want to turn the "Gallery Title" into a hyperlink to the home page of my domain.
How can I do it?

If you are only talking about the main Gallery page, it's in gallery.header and it's this line (about line 38):
&amp;nbsp;<?php echo $gallery->app->galleryTitle ?>&amp;nbsp;
Change to:
&amp;nbsp;<a href="http://www.mysite.com" title="Return to My Site"><?php echo $gallery->app->galleryTitle ?></a>&amp;nbsp;

That will change the text to a link-the image won't hover, but that's another issue :)

If you want that on your album/photo pages, you do the same, but edit album.header, photo.header and do the above to the title line:
&amp;nbsp;<?php echo $gallery->album->fields["title"] ?> &amp;nbsp;

 
funny4mony

Joined: 2005-09-02
Posts: 7
Posted: Wed, 2005-09-07 09:51
notgoddess wrote:
*blink*
I don't think FloriDave is implying that you have to do a full header/footer or 'wrap' your gallery. All you have to do to have a link back is:

copy wrapper.header.default to wrapper.header

at the end of the new wrapper.header file add:
<div><a href="http://www.mysite.com" title="Back to My Site" accesskey="1">My Site</a></div>

That would put a left-aligned link right at the top of all your Gallery pages.
If you only wanted the link on album or photo pages, or if you wanted the link inside the Gallery page, you'd do something similar, but at the bottom of these files:

gallery.header
album.header
photo.header

For links at the bottom, replace 'header' with 'footer' above.

Ng

Thank for the reply, Ng!

I ran out of patience pretty quickly.

As it turned out, I used Gaile's (I think that's her name) tutorial -- which is a tremendous resource -- and quickly threw up a banner and links to the home page and e-mail in the header. It's not how I had it planned, but I'm thankful for the available information.

I heard back quickly on the paid support ticket, but I was already finishing up.

I'm thankful that there are people like you, Dave, & Gaile to serve as resources for the non-code people.

Oh. And for some reason modifications to my wrapper.footer/wrapper.header doesn't work. I think it has something to do with the host, IPowerWeb. The "body" isn't visible in the file.

You guys are great!

Thanks!

Pete