Search…

X3 Photo Gallery Support Forums

Search…
 
MacDo
Experienced
Topic Author
Posts: 90
Joined: 09 Jun 2008, 03:28

How can I add a footer / header ?

26 Jul 2008, 15:36

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 ?
 
User avatar
Patrick_D1985
Experienced
Posts: 149
Joined: 19 Jul 2008, 06:26

26 Jul 2008, 16:55

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.
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu
 
User avatar
markam24
Experienced
Posts: 280
Joined: 10 Oct 2006, 23:05

27 Jul 2008, 16:06

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.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

28 Jul 2008, 05:51

Actually editing gallery_index is perfectly allright.
firedev.com
 
User avatar
markam24
Experienced
Posts: 280
Joined: 10 Oct 2006, 23:05

28 Jul 2008, 11:36

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?
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

28 Jul 2008, 17:53

What? No. Do not touch index.php. Add stuff in imagevue/templates/index_gallery.phtml. Thank you.
firedev.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Jul 2008, 00:17

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 ...
 
MacDo
Experienced
Topic Author
Posts: 90
Joined: 09 Jun 2008, 03:28

30 Jul 2008, 05:06

@ 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... :P

Thanks once more !
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Jul 2008, 07:20

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.
 
MacDo
Experienced
Topic Author
Posts: 90
Joined: 09 Jun 2008, 03:28

30 Jul 2008, 07:42

Ok it's perfectly clear now :) Thanks once more :)
 
MacDo
Experienced
Topic Author
Posts: 90
Joined: 09 Jun 2008, 03:28

02 Aug 2008, 05:55

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 :
Code
<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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

03 Aug 2008, 15:27

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.
 
MacDo
Experienced
Topic Author
Posts: 90
Joined: 09 Jun 2008, 03:28

22 Oct 2008, 06:01

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
 
User avatar
Pedro
Experienced
Posts: 68
Joined: 04 Oct 2006, 13:48

lol

22 Oct 2008, 12:38

haha.... MacDo....
:lol: :lol:
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...
Pedro Tirolo
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

22 Oct 2008, 13:00

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.
firedev.com