included php variables problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Juhana
Posts: 8
Joined: Wed 18. Aug 2004, 14:32
Location: Helsinki

included php variables problem

Post by Juhana »

HI

** EDIT // SWITCHED TO IFRAMES :( :x
But still looking solution to real embedding!!!

using 1.2 DEV

I am trying to include a Qdig-gallery script in phpwcms article.

I am using a html content-part with:

{PHP:http://www.j-s-c.net/alppis/qdig2.php}

gallery appears embedded on page and thumbnail links seems to have right url with extra variables:

http://www.j-s-c.net/alppis/index.php?i ... umbs&Qis=M
But page doesn't change.

Script works stand-alone.
http://www.j-s-c.net/alppis/qdig2.php?i ... umbs&Qis=M
( changes in "shepherdsXX.jpg" --> reflects to page links are not working because script is customized to be included.)

Is that a right way to include the script? Should I use "Ext. content "instead?
Would mysterious new "php-variables" content -part help me in this case?

thanks
Juhana
Last edited by Juhana on Mon 21. Feb 2005, 11:17, edited 3 times in total.
Pappnase

Post by Pappnase »

hello

please use an iframe that should work :D
cyaneo
Posts: 128
Joined: Sun 6. Feb 2005, 01:23
Contact:

Post by cyaneo »

Maybe the singapore gallery is what you search...

Integration:

1. download singapore
2. install singapore in a subdir (Ex. "singapore")
3. in site structure, create a new structure (Ex. "gallery")
4. create a new article with PLAIN TEXT in "gallery". enter for content: {PHP:singapore/external.php}
5. open singapore.ini
- change index_file_url = "index.php?" to index_file_url = "index.php?gallery&"
- change base_url = "" to base_url = "/"
- change url_gallery = "gallery" to url_gallery = "singapore"

done.

See the result here
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.
jlbach
Posts: 18
Joined: Fri 1. Apr 2005, 12:50
Contact:

Post by jlbach »

cyaneo wrote: 1. download singapore
2. install singapore in a subdir (Ex. "singapore")
3. in site structure, create a new structure (Ex. "gallery")
4. create a new article with PLAIN TEXT in "gallery". enter for content: {PHP:singapore/external.php}
5. open singapore.ini
- change index_file_url = "index.php?" to index_file_url = "index.php?gallery&"
- change base_url = "" to base_url = "/"
- change url_gallery = "gallery" to url_gallery = "singapore"
Hi Cyaneo, I have tried to follow your instructions with no success.. I imagine that my problem is that I have not phpwcms installed in the root.

phpwcms is in http://www.lestany.net/life
and Singapore gallery in http://www.lestany.net/life/galeria

Here my integration attempt.. http://www.lestany.net/life/index.php?galeria

I don't know exactlly how to modify the singapore.ini to adress everything at his right way... Could you give me a hand, please?

Thanks!
jlbach
Posts: 18
Joined: Fri 1. Apr 2005, 12:50
Contact:

Post by jlbach »

Well now it works!! :D
I was using "galeria" in both subdir and new structure level..
I have rename one of them, an that's all:

With out your instructions I would not be able to integrate it. So, thank you very much, Cyaneo! :D :D
Post Reply