That's right - I forgot to add the phpwcmsalias variable. Go and download it again. At the beginning of the script you'll find a config variable called $phpwcmsalias. Set this to the alias of your gallerysite in phpwcms (it's important to have an alias for it). then it should work fine.cyaneo wrote:Hmm - I didn't get it work - the links aren't correct...
Gallerie Script !
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
Sorry - still not working....
What I did:
first of all, I downloaded the new package today.
1. in gallery.inc.php I enter for the path:
also I try http://www.domain.de/galerie/ (w/o http://)
2. gallery.inc.php $phpwcmsalias="mygalery"
3. copy the content of the zip into "galerie" (http://www.domain.de/galerie/)
4. New Article with plain Text, content:
Also {PHP:http://www.domain.de/galerie/gallery.inc.php} doesnt work (w/o http://)
Also I try:
New Article with code:
[PHP]include ("galerie/gallery.inc.php")[/PHP] or any other path (URL and absolute path)
Now, the link of a gallery is
but all these links still redirects to the startpage of my phpWCMS...
What I did:
first of all, I downloaded the new package today.
1. in gallery.inc.php I enter for the path:
Code: Select all
www/htdocs/user1212/galerie
2. gallery.inc.php $phpwcmsalias="mygalery"
3. copy the content of the zip into "galerie" (http://www.domain.de/galerie/)
4. New Article with plain Text, content:
Code: Select all
{PHP:galerie/gallery.inc.php}
Also I try:
New Article with code:
[PHP]include ("galerie/gallery.inc.php")[/PHP] or any other path (URL and absolute path)
Now, the link of a gallery is
Code: Select all
http://www.domain.de/index.php?mygallery&mghash=3906bd72a7bc4604bfe70bb316ca287f&mggal=1
Gruss
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
What do you mean by 'I enter for the path'?
Be sure to have set the $pathtoscript ,at the beginning of the gallery.inc.php file, to $pathtoscript="galerie/"; (in your case).
The $pathtoscript variable describes the path from the file where the script is included in to the folder where the gallery.inc.php script is.
Be sure to have set the $pathtoscript ,at the beginning of the gallery.inc.php file, to $pathtoscript="galerie/"; (in your case).
The $pathtoscript variable describes the path from the file where the script is included in to the folder where the gallery.inc.php script is.
My $pathtoscript="www/htdocs/user1212/galerie/";
correct?
correct?
Gruss
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
Now I set it to
and get this error:
Code: Select all
$pathtoscript="galerie/";
Code: Select all
Fatal error: Cannot redeclare class mdasort in /www/htdocs/user1212/galerie/gallery.inc.php on line 159
Gruss
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
it doesn't make sense to discuss everything over this forum. Contact me under ICQ or MSN, you'll find the numbers/addresses on http://www.planetluc.com/support.php?navid=9
Sorry - I dont have ICQ or MSN (just skype)...
But:
I changed the $phpwcmsalias="mygallery"; to $phpwcmsalias="fotogalerie";
and - why ever - now it works!
Thank you 1000times!!!
But:
I changed the $phpwcmsalias="mygallery"; to $phpwcmsalias="fotogalerie";
and - why ever - now it works!
Thank you 1000times!!!
Gruss
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
Thats right man!
That's now I learn that the $phpwcmsalias must be the same alias of the structur alias
"sometimes you have to stand up, cause you sitting on the cable"
(german proverb)


"sometimes you have to stand up, cause you sitting on the cable"
(german proverb)

Gruss
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
cyaneo
Zen Cart - The Art of e-Commerce
Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
Guys, I'm sorry but I was a bit too fast in releasing it. I'd better have tested the script before uploading it... Anyway I fixed some bugs:
- Now you can set captions, add/delete pics in gallery edit mode too.
So please d/l i t again at http://www.planetluc.com/scripts_mygall ... ?navid=3|5
Cheers, Lukas
- Now you can set captions, add/delete pics in gallery edit mode too.
So please d/l i t again at http://www.planetluc.com/scripts_mygall ... ?navid=3|5
Cheers, Lukas
Re: tutorial
Hi,rushclub wrote:i am working on a site with the mygallery-script and i will make a tutorial with screenshots in the forum on this topic asap. so it is easy for others to set it up.![]()
cheers
rush
have you finished any documentation?
Findus
PS: Documantation is like ****. Bad one is better then nothing at all.

1. create a directory in include/inc_ext/ called mygallery
2. download the script under http://www.planetluc.com/scripts_mygall ... ry_1.3.zip and upload the files to the created dir
3. chmod as desrcibed in the readme
4. open gallery.inc.php
5. define $adminlogin and $adminpwd
6. define $pathtoscript (in my case: "include/inc_ext/mygallery/")
7. define $phpwcmsalias (in my case "bilder")
8. safe the changes
9. go to backend of phpwcms and define a category with an alias called "bilder" ($phpwcmsalias)
10. create a new article with a contentpart "text" and insert:
{PHP:include/inc_ext/mygallery/gallery.inc.php}
thats it
cheers
rush
2. download the script under http://www.planetluc.com/scripts_mygall ... ry_1.3.zip and upload the files to the created dir
3. chmod as desrcibed in the readme
4. open gallery.inc.php
5. define $adminlogin and $adminpwd
6. define $pathtoscript (in my case: "include/inc_ext/mygallery/")
7. define $phpwcmsalias (in my case "bilder")
8. safe the changes
9. go to backend of phpwcms and define a category with an alias called "bilder" ($phpwcmsalias)
10. create a new article with a contentpart "text" and insert:
{PHP:include/inc_ext/mygallery/gallery.inc.php}
thats it
cheers
rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
Hi,
ich habe MyGallery auf einem 1und1 Server eingerichtet. Da dort das ZIP-Modul für PHP nicht mit übersetzt wurde
, habe ich in dem Script ein FTP-Import eingebaut
, analog zur Bilderübernahme.
Den SourceCode habe ich an Lukas gesendet.
Sollte Interesse bestehen und Lukas die Änderungen noch nicht frei gegeben hat, dann meldet euch.
Gruß
Findus
PS: Mir würde hier nur noch eine Trennung von Frontend und Backend fehlen.
ich habe MyGallery auf einem 1und1 Server eingerichtet. Da dort das ZIP-Modul für PHP nicht mit übersetzt wurde


Den SourceCode habe ich an Lukas gesendet.
Sollte Interesse bestehen und Lukas die Änderungen noch nicht frei gegeben hat, dann meldet euch.
Gruß
Findus
PS: Mir würde hier nur noch eine Trennung von Frontend und Backend fehlen.
Last edited by Findus on Wed 11. May 2005, 08:44, edited 1 time in total.