Page 1 of 2
How can I add a footer / header ?
Posted: 26 Jul 2008, 15:36
by MacDo
Hello,
I simply want to add a header or a footer to every page of the gallery.
The header would contain a top menu, and the footer would show a copyright information. What file should I edit ? Am I supposed to add header and footer in the "imagevue/templates/index_gallery.phtml" file ? Is this the right way to do it ?
Thank you very much for your help, once again !
MacDo
EDIT. Oh I'm thinking about this and I would like to know if it would be possible to show a title for each album when a folder is opened. For instance, I would like to show the folder name if the upper right corner of the screen. Is that possible ?
Posted: 26 Jul 2008, 16:55
by Patrick_D1985
Displaying foldername is possible
In the following file :
imagevue\themes\YOUR THEME\themeConfig.xml
FIND :
<style>above</style>
<event>static</event>
<items>title,description</items>
and REPLACE WITH
<style>right</style>
<event>static</event>
<items>title,description,foldername</items>
Adding a footer / header is currently not possible.
Posted: 27 Jul 2008, 16:06
by markam24
Displaying a header and footer would currently require embedding the flash gallery within an HTML page.
Karl has said they will have a site menu eventually though.
Posted: 28 Jul 2008, 05:51
by Nick
Actually editing gallery_index is perfectly allright.
Posted: 28 Jul 2008, 11:36
by markam24
I had tried editing index.php (adding goggle analytics code) and it mostly worked OK, exept that text pages displaying within the HTML version rendered the code into the visible page.
For this reason I didn't think it would work. Maybe I should note this in Bugs & errors?
Posted: 28 Jul 2008, 17:53
by Nick
What? No. Do not touch index.php. Add stuff in imagevue/templates/index_gallery.phtml. Thank you.
Posted: 30 Jul 2008, 00:17
by mjau-mjau
You can generally edit pages by editing the files in the "imagevue/templates/ folder. They are *.phtml template files and can be opened in programs like Dreamweaver.
We strictly recommend not editing these files! Unless you know what you are doing, mistakes easily sneak themselves into the code and corrupt the gallery. Also, there will be updates to these files ...
Posted: 30 Jul 2008, 05:06
by MacDo
@ mjau-mjau : I'm a bit disappointed by your answer... I understand that we
can edit those *.phtml files in the "imagevue/templates/" folder, but you recommend
not to do this. Is that right ? Or maybe you recommend to edit those files BUT strictly not the index.php file ? Or maybe you say that I should be be very careful while editing the *.phtml file... ?
Hmmm...
Thanks once more !
Posted: 30 Jul 2008, 07:20
by mjau-mjau
MacDo wrote:@ mjau-mjau : I'm a bit disappointed by your answer... I understand that we can edit those *.phtml files in the "imagevue/templates/" folder, but you recommend not to do this. Is that right ? Or maybe you recommend to edit those files BUT strictly not the index.php file ? Or maybe you say that I should be be very careful while editing the *.phtml file... ?
These files are part of the program "Imagevue V2", and helps make it 'tick'. You can edit any of the files as you like, but keep in mind the following:
# The template files are HTML + some PHP. If you are not seasoned working with html code, then you can easily corrupt the files and the gallery.
# If you edit a file that we make a change to in an update, your change will be overwritten. This is a beta version!
# Because of the two reasons above, we will not be able to support anyone having problems editing these files or errors created from this. We have enough issues already with other features.
Perhaps when V2 is not beta anymore, we will be able to be more supportive of changing these files. Until then, these files are considered part of the inner clockworks of Imagevue V2, and like any other program, if you edit the program, it may end not working.
Posted: 30 Jul 2008, 07:42
by MacDo
Ok it's perfectly clear now

Thanks once more

Posted: 02 Aug 2008, 05:55
by MacDo
Hmmm... I tried to have a footer in the bottom of the screen but I didn't manage to get it... Here is what I tried :
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>siteTitle</title>
<style type="text/css">
#portfolio {position:fixed; margin:0; left:0; top:0; width:100%; height:100%;}
#foot {position:fixed; margin:0; bottom:0; left:0; display:block; width:100%; height:15px; background:blue; font-size:0.8em; text-align:right; color:white;padding:5px;}
</style>
</head>
<body style="position:relative; width:100%; height:100%;">
<div id="portfolio">here is the swfobject.embedSWF command to include the flash gallery</div>
<div id="foot">content of the footer</div>
</body>
</html>
The footer appears correctly at the bottom of the screen, but the flash overwrites (and hides) it...
How can I do to have the footer disjoint from the flash gallery ?
In other words, how can I do to prevent overlapping between flash gallery and my footer ?
Thank you very much in advance for your help !
MacDo
Posted: 03 Aug 2008, 15:27
by mjau-mjau
I don't really want to get to deep into this yet, but I can confirm your issue.
The reason why your footer doesn't display, is that the SWF is set to 100% height, and since scrollbars are hidden, your footer will display out of page. You could change the height of the SWF, but I don't see how you could perfectly fit your footer. We will have to look into this later, sorry.
Posted: 22 Oct 2008, 06:01
by MacDo
Is it on your todolist to add a footer in the swf so that we could edit its content and write some copyright notice ?
The footer could be below the thumbnail scroller, since if the thumbnail scroller is automatically hidden, the copyright notice in the footer appears while a big picture is maximized or when the thumbnails are shown in the grid...
Thank you in advance once more for your great job !
MacDo
lol
Posted: 22 Oct 2008, 12:38
by Pedro
haha.... MacDo....
YOUR name should be PAIN!
hihi
I guess Karl is right - do not touch the "heart" of the gallery for now.
They got tons of work to do for the final release.
But in one point you are right.
An editable html footer could help a lot. Credits, links, Google Analytics ....
I keep on watching these results...
Posted: 22 Oct 2008, 13:00
by Nick
Actually for google analytics you can just edit index_gallery.pthml
If you want copyrights and stuff that will require some patience because of some issues with layout related to 100% height flash.