Showing site name in browser tab

gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Fri, 2012-08-10 19:11

Hello -

I am wondering how I might change the text in the browser tab to read:

My Website | Gallery

Haven't been able to locate where this can be done.

Thank you.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-08-10 22:37

you should be able to edit the title tag in page.html.php of the theme you are using.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Fri, 2012-08-10 22:54

Hi FD -

Yes...I saw that post earlier and tried it but it doesn't seem to work for me in either Safari or FF. I have attached the three lines of code I edited in the .../greydragon/views/page.html.php file. I even allow a root page that I am not using as I am still learning...but that hasn't helped.

Have cleared caches and all.

Am I missing something?

Thank

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-08-10 23:55

<title><?= $_title ?></title>
to
<title>My Website | Gallery<?= $_title ?></title>

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-08-10 23:58

not sure what "pinning" is in IE but that is what the msapplication-task meta tags are for.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Sat, 2012-08-11 00:06

BEAUTIFUL!

When I put it in it returned:

My Website | GalleryGallery

in the Browser Tab. So I went back and edited just that line to take the word "Gallery" out and it now work fine. When I go to and album it returns

My Website | Album Name

and then it does the same when I go to a photo.

Thank you very much!!!!! I would have never guessed that I had to do that last step!

Jim

 
gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Tue, 2012-08-21 02:07

BTW, I have been negligent on following this up. The changes did work fine but only worked when I first landed on my site. As soon as I started browing the site, and even going back the the home page, the nam eof the site and my favicon disappear, no matter if I use Safari, FF or Chrome.

Any pointer as to where I should look to change something?

Thanks,

Jim

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-08-21 06:02

two urls to show the good/bad behavior.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Tue, 2012-08-21 11:57

@gym4jim: I can't see how/why that would happen. Maybe it's just a cache issue? Trying clearing the browser caches. Other than that, echo @floridave: urls?

 
gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Tue, 2012-08-21 23:37

The site is not public for now. But there is nothing to see after you first enter the site. When you first enter the site there is my favicon in the address bar along with the site's address. When you go to an album or view a photo, the next, and all addresses after that on that site, do not contain a favicon. When you go back to the home page, there is no favicon. I do not have a root page. You will not see the favicon until you start all over again.

AHHHH, this may have something to do with it. You do not see the favicon on any page that anything more than my site name. In other words. www.myname.com you see the favicon. But any other address like www.myname.com/index.php or www.myname.com/album1 or www.myname.com/album3/image1 etc., you do not see the favicon.

Does this help?

Thanks.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2012-08-22 03:07

Most likely a path issue or a typo would yield that result.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Wed, 2012-08-22 03:49

Actually in Gallery 3, if I am understanding this correctly, the path is set in the advanced settings. it says the favicon_url is lib/images/favicon.ico. So I put my image there. I would assume that would take care of path issues, correct?

 
gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Wed, 2012-08-22 03:55

I also just noticed that the favicon not only show only when you first enter the site but it also show when you go into the admin area whether it be advanced, setting, comments, maintenance, etc. It does not show on any of the other menu headings or when you hit Gallery or your logo to return home.

Thanks

I have reset safari multiple times.

 
gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Wed, 2012-08-22 04:28

I have attached a shot to show the pages that the favicon shows on. The first "Gallery" at the bottom is when I first signed on. The others, as you can see, do not display favicons. This history list corresponds to what is displayed in the address bar.

Thanks for any ideas.

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Wed, 2012-08-22 12:22

Not enough info to offer any real direction here. (And I'm not sure that I totally understand what you've already said.)
When you say "I do not have a root page," what does that mean?
"there is nothing to see after you first enter the site." Does that mean no favicon or no website? (I'm assuming just no favicon since you can get to the admin area.)
I'm also assuming that you tried clearing the caches.
If you really want this solved, best advice I can offer: (1) Make the site public so we can see it. (2) Delete everything and start over.
Maybe @floridave will have some other ideas, but I don't think I can be of much more help without more info.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-08-23 02:14

I'm with tempg, the ico file works for me on different pages, unless you changed its location or have some rewrite rule Im not sure without 2 URLs.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
gym4jim

Joined: 2012-08-07
Posts: 51
Posted: Thu, 2012-08-23 02:20

Seems str8 forward to me that there is a bug. Thanks anyway!

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Thu, 2012-08-23 11:43
gym4jim wrote:
Seems str8 forward to me that there is a bug. Thanks anyway!

Seems str8 forward to me that there is something quirky about YOUR gallery installation.
You don't think it a tad bit peculiar that you're the only person having these issues?
But, if you're content to deal with it on your own, that's all well and good; hope you get it sorted.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-08-24 12:01
Quote:
Seems str8 forward to me that there is a bug.

Did you file a bug on the bug tracker? We will look into it with all the effort it deserves.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team