Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
olivewhite
Experienced
Topic Author
Posts: 68
Joined: 29 Mar 2009, 14:30

rename index.php to portfolio.php

27 Mar 2011, 15:34

Hi there :)

i am happy to use and set up v2.6.4
i am tweaking and it works fine exepting for one thing. For technical reasons, I ve renamed index.php to portfolio.php but of course i get troubles with sending to a friend and sharing features that redirect to olivewhite.com/#/myfolder/mypicture.jpg instead of olivewhite.com/portfolio.php#/myfolder/mypicture.jpg

Any way to tweak this?

Thanks in advance :D
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: rename index.php to portfolio.php

29 Mar 2011, 10:42

If you are using a separate page to run Imagevue, then why not have it run under a separate folder entirely instead? For example olivewhite.com/portfolio/?
 
User avatar
olivewhite
Experienced
Topic Author
Posts: 68
Joined: 29 Mar 2009, 14:30

Re: rename index.php to portfolio.php

29 Mar 2011, 15:48

well
i wish i could do that but i can't change my current images folder. I have another index.php i have to use on my website root.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: rename index.php to portfolio.php

30 Mar 2011, 03:00

This could be tweaked by editing a few of the PHP scripts. I will get Nick to take a look ...

Of course this means all the send-link scripts will target "portfolio.php" instead of index.php (root index) ...
 
User avatar
olivewhite
Experienced
Topic Author
Posts: 68
Joined: 29 Mar 2009, 14:30

Re: rename index.php to portfolio.php

30 Mar 2011, 03:02

thank you so much Karl :D
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: rename index.php to portfolio.php

30 Mar 2011, 04:53

Hmm why not move the whole gallery to /portfolio folder and change that index.php you're having? What is exactly the technical reason you're mentioning?

Also if you use /portfolio.php the link will be olivierwhite.com/portfolio.php#content/etc

You can edit the email templates in iv-includes/templates/sendlink.html and add porftolio.php there:
Code
<a href="[galleryURL]portfolio.php#/[path]">
Same can be done with index.share.phtml, change
Code
$refreshUrl = '?';
			} else {
				$refreshUrl = '#/';
to
Code
$refreshUrl = 'portfolio.php?';
			} else {
				$refreshUrl = 'portfolio.php#/';
firedev.com
 
User avatar
olivewhite
Experienced
Topic Author
Posts: 68
Joined: 29 Mar 2009, 14:30

Re: rename index.php to portfolio.php

30 Mar 2011, 12:59

:D
Thank you so much Nick
I have to do this because i can't move my current content folder that is placed just at the root of my domain. I would like to move everything to a subfolder 'portfolio' but it would break my images url for my fotomoto shop. That's the reason.
Will try your fine tune
Thanks again
:D