Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13998
Joined: 30 Sep 2006, 03:37

New config/theme structure with release 20081015!

15 Oct 2008, 04:59

With the release dated 20081015, we did some major changes to the config/theme structure of Imagevue V2. If you are updating from an earlier version, you must first delete your existing "imagevue" folder before you upload the new files! You can of course still keep your "content" folder.

Themes
Themes are now reduced to cover only visual/static settings like colors, shadows, sizes and opacity etc. Other settings like interactivity, positions and events are now moved into the main config. The advantage of this, is that you now can change the gallery config as you like, and still be able to use any theme without changing- or having to redo your core settings!

You can still edit them theme files of course, and changes will be saved in a separate userTheme file. This means that you can change the themes as you like, and you will keep the changes even after updating to a new version!

config
The main config, which earlier used to consist of only server settings, now includes all settings that control how your gallery works. We have moved many of the settings from the themes, directly over to the config. The advantage is that you can control how your gallery works through the config file, and yet be able to try out any theme files without loosing your settings.

You can also edit the config as you like, and changes will be saved in a separate userConfig file. This means you can change the config as you like, and you will keep the changes even after updating to a new version!

Technical
For those of you who want to know what's happening in the actual file system, please read on. With the new structure, default files config.xml, theme.xml and lang.xml are stored under imagevue/include/. These files should not be edited, because they are maintained by us. They always include updated settings with descriptions. These files are used as base to fill in any missing settings in specific themes or in the user config file.

Now, when user edit the config from admin, a new file is created imagevue/config/userConfig.xml. This file is maintained based on differences with the default config.xml file. When updating to new versions, this file will be kept, therefore your custom configurations are maintained also.

Similarly, when you edit a theme from admin, a new file is created imagevue/config/userThemename.xml. This file is maintained based on differences from the original theme file in the themes folders. When updating to new versions, this file will be kept, allowing your custom theme changes to be maintained. The original theme files are still located under imagevue/themes/themeName/. They should not be changed manually.

All languages are now under imagevue/language/. As we add new language items, some language files may get outdated, but they can now easily be updated by going to the language editor in admin and filling in new items(which default to english).

All "user" files are now stored under the imagevue/config/ folder, so it is important that write permissions are set for this folder!
 
spiritx
Experienced
Posts: 30
Joined: 29 Sep 2008, 07:38

16 Oct 2008, 03:16

Hi Karl,

thanks for all of this great job !
Just one question, as i spend a little bit time for making my own theme in the precedent version of imagevueV2, with this new release, we have to delete everything, so i'll lost my theme ?

If yes, i think i will install the new version in a new folder, and keep temporaly the old one, to be able to recreate my theme.

Thanks,
Anthony
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13998
Joined: 30 Sep 2006, 03:37

16 Oct 2008, 22:49

Unfortunately yes, you will need to re-apply your entire theme/config changes. This is one of the main reasons we are still in beta, and also why this last release addresses that exact issue. Upgrading AFTER this release, you will no longer have to worry about maintaining your changes, because they are stored in separate files.

You will however need to set up your customizations again this time.
 
User avatar
markam24
Experienced
Posts: 280
Joined: 10 Oct 2006, 23:05

17 Oct 2008, 19:16

Love the new TRY function in themes. VERY handy -;) Allows for theme development online without the need for a staging area. Sweet!
 
robp
Posts: 7
Joined: 11 Aug 2008, 08:30

22 Oct 2008, 09:18

Hi,

great update, thanks.

However, it seems that when embedding into html, it doesn't use the theme, it does when using /imagevue.php for the page however.

My site is at www.shutter-life.co.uk

With this update, do I need to add further parameters to the embedding code?

Thanks!
 
robp
Posts: 7
Joined: 11 Aug 2008, 08:30

22 Oct 2008, 09:53

ignore, all sorted :)
 
rdch
Posts: 23
Joined: 31 Oct 2008, 08:42

31 Oct 2008, 12:08

Please can you provide a list of exactly which folders and files it is safe for me to edit, that will not get overwritten when I upgrade?
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13998
Joined: 30 Sep 2006, 03:37

01 Nov 2008, 22:10

rdch wrote:Please can you provide a list of exactly which folders and files it is safe for me to edit, that will not get overwritten when I upgrade?
You need to overwrite the entire "imagevue" folder, there are no exceptions ...

content/ <- Keep this folder with your images and folders
imagevue/ <- delete this folder, and re-upload latest
 
rdch
Posts: 23
Joined: 31 Oct 2008, 08:42

03 Nov 2008, 09:20

Edit- removed post- saw you answer at viewtopic.php?t=4010 which answers my question :)
 
jagsv
Posts: 1
Joined: 07 Aug 2009, 14:55

Re: New config/theme structure with release 20081015!

07 Aug 2009, 14:57

I'm having some trouble configuring my ImageVue.
I want to remove all the download options from the gallery, i need to remove it from the Image Right click and from the menu bar on the bottom once you are looking at certain image.

I can't seem to find where to remove it.... any ideas where to start?

Appreciate your support,

Thnks,

Jag
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

10 Aug 2009, 04:14

firedev.com