Page 1 of 1
Contents of page meta <title> entries?
Posted: 17 Sep 2009, 00:25
by mwr
I can't figure out how X2 determines the page title to use, the one that appears in the browser status line, in the browser tab, and as the page title when you save the page as a favorite or bookmark. I've found sitetitle in settings, but that doesn't seem to do anything. I've used the meta title tag in the html pages I've created and that works to a degree. That usually produces what I want, the meta title tag + the folder or page title as specified. But then it will change to the meta title tag + path + the folder or page title, the path making it really ugly.
Posted: 17 Sep 2009, 04:41
by mjau-mjau
Not 100% sure what you mean, but let me explain some technical aspects:
The FLASH gallery is technically speaking only a single HTML page with the flash embedded. The gallery navigation happens within the flash interface and pages dont really change. This is how flash works ... The TITLE(meta) comes from your sitetitle setting in the admin. However, Imagevue also appends the specific item that is being displayed to the title. For example, if you are currently in a folder "Istanbul 2009", and your gallery name was "Travel Photography", the title would be:
Travel Photography - Istanbul 2009
[sitetitle - itemname]
Imagevue uses the SWFaddress javascript to dynamically change the site title, although it technically still on the same page throughout the gallery. Doe this make sense?
The HTML gallery is different, as all pages are actually different pages.
Posted: 17 Sep 2009, 09:14
by mwr
Thanks, Karl. That's what I expected to happen and sometimes it does happen. But sometimes the path is added after the sitename. My first message was a bit confused because I also included the use of html files, but lets leave that out. My admin sitetitle is currently "RuthvenPhotos" and the folder title is "Mill Valley Townhouse". Sometimes the displayed page title is properly RuthvenPhotos - Mill Valley Townhouse, but sometimes it is "RuthvenPhotos#-content-millvalley2009 - Mill Valley Townhouse".
OK, now I see that the problem doesn't happen with Firefox (3.0.14). It does happen with IE (7.0.5730.13). With IE, the page title initially displays correctly, then changes to the incorrect version when I refresh the page. I'm pretty sure that happened at least once without refreshing the page, but I can't get that to happen now.
Here's the URL I'm using:
http://ruthvenphotos.com/gallery/#/cont ... valley2009
Posted: 18 Sep 2009, 03:58
by mjau-mjau
I ´ll take a look at this with some other IE fixes I am currently looking into. It could be just how IE perceives a link.
Posted: 18 Sep 2009, 07:40
by mjau-mjau
ok, I did some research on this, and you are right. This is a flaw with the SWFAddress javascript vs Internet Explorer - Sometimes on refresh, it seems to take TITLE from the URL, with the swfaddress path. I am not sure why it acts this way, but that is really irrelevant.
What is important, is that I have now added some code that will prevent this from happening on page refresh. Update will be available very very soon ...
Posted: 18 Sep 2009, 09:05
by mwr
Thanks, Karl. It's certainly not a major issue, but thanks for attending to it. I got confused about the whole "title" thing because I also didn't realize that there was an overriding <title> tag in the html files I created from index_example.html (which is a good thing).