I installed Typo3 a few months ago and have been waiting to see some information on this integration. Now, I have some! If anyone can expand on this integration to get the user login to work, that would be very cool. Maybe we can even get an extension done for it! <P> I have not tried this yet, but I am sure it works. Please post your results!! Let's try to keep this thread active.
This information comes from the site owner of kernelpanic.dyndns.org, Christoph Moeller. I contacted him via email, and here is the response I received (very quickly, thank you!)... <P> <P>
----
Hi Joey,
yep, you're not the first to ask about this, simply didn't have the time
to document it, though.
It's really easy, although somewhat limited. Just use my cm_webgrabber
extension (install via the EM). This ext uses an external set of scripts
that do some URL rewriting in order to show the content on one T3 page.
So after having installed the extension, copy the included wg.php and
wg_config.php files to your gallery root (edit them to match your
environment!) and create a new T3 page where you insert a new frontend
plugin of the type "webgrabber".
Add an extension template to this page and enter something like this in
the SETUP:
# cm_webgrab
# short HOWTO:
# -> put included webgrab/wg.php to the main dir of the script to be
included
# -> change $webgrab_path in wg.php to suit your full absolute path to
webgrab.php
# -> put included webgrab/wg_config.php to the main dir of the script to
be included
# -> change all appropriate settings in wg_config.php (parsing strings,
etc.) - see documentation!
# -> change the settings below to suit your needs
# -> add a new content element on any T3 page of type "Insert Plugin",
choose plugin "WebGrabber"
# -> save, view and test your page
#
# see included documentation for more info!
# t3_root: root URL path to this T3 site - no trailing slash...
plugin.tx_cmwebgrab_pi1.t3_root = /cms/chris
# t3_target: what frame/page is the target?
plugin.tx_cmwebgrab_pi1.t3_target = page
That should do the job, at least the user point of view. Though, you
cannot login, since FORMs aren't properly treated, yet, by my extension.
strobeyprobey
Joined: 2003-05-07
Posts: 11
Posted: Thu, 2003-05-08 01:07
I did all of that and got it to almost work...I get the following error messages before the gallery album (but the main page does show!). But the gallery page loaded SUPER slow, don't know if it is because of the errors or just too much backend with typo3.
Warning: fopen(/usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/cookies/94722570aa58c5bd1c044710a0e9cfba.txt) [function.fopen]: failed to create stream: No such file or directory in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 157
Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 158
Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 159
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php:157) in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 1105
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php:157) in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 1108
strobeyprobey
Joined: 2003-05-07
Posts: 11
Posted: Thu, 2003-05-08 01:19
Got rid of those error messages!!
I had to create a "cookies" directory under the ./pi1/webgrab/ directory.
strobeyprobey
Joined: 2003-05-07
Posts: 11
Posted: Thu, 2003-05-08 14:29
The only thing that doesn't seem to work at the moment is the links within gallery do not rewrite into the Typo3 pages. Anyone?
Plus, it is SLOW as a dog.... :cry:
Turmkater
Joined: 2003-05-06
Posts: 3
Posted: Sun, 2003-05-18 15:11
i got serveral problems when i tried to integrate gallery into typo3:
first thing was that on non-unix platforms the webgrabber does not even show the pictures because the variable "id" isprocessed by gallery and by typo3 (fixed renamed the referer-variable)
next is that the login did not work, -- no idea how to fix this
comments seem to work, search not
i still see this damned "undefinded variable in line 30 stuff" ( got rid of it by commenting out the $gallery_basedir in line 30 )
the slideshow function does not wirk properly (fixed, slideshow opens inan new window now)
nerbas
Joined: 2004-07-05
Posts: 7
Posted: Sun, 2005-06-19 13:01
Any news on the typo3 integration? Seems that webgrabber is the only way... I tried it, and it's sloooooooow (and an ugly integration )
Posts: 11
I installed Typo3 a few months ago and have been waiting to see some information on this integration. Now, I have some! If anyone can expand on this integration to get the user login to work, that would be very cool. Maybe we can even get an extension done for it! <P> I have not tried this yet, but I am sure it works. Please post your results!! Let's try to keep this thread active.
This information comes from the site owner of kernelpanic.dyndns.org, Christoph Moeller. I contacted him via email, and here is the response I received (very quickly, thank you!)... <P> <P>
----
Hi Joey,
yep, you're not the first to ask about this, simply didn't have the time
to document it, though.
It's really easy, although somewhat limited. Just use my cm_webgrabber
extension (install via the EM). This ext uses an external set of scripts
that do some URL rewriting in order to show the content on one T3 page.
So after having installed the extension, copy the included wg.php and
wg_config.php files to your gallery root (edit them to match your
environment!) and create a new T3 page where you insert a new frontend
plugin of the type "webgrabber".
Add an extension template to this page and enter something like this in
the SETUP:
# cm_webgrab
# short HOWTO:
# -> put included webgrab/wg.php to the main dir of the script to be
included
# -> change $webgrab_path in wg.php to suit your full absolute path to
webgrab.php
# -> put included webgrab/wg_config.php to the main dir of the script to
be included
# -> change all appropriate settings in wg_config.php (parsing strings,
etc.) - see documentation!
# -> change the settings below to suit your needs
# -> add a new content element on any T3 page of type "Insert Plugin",
choose plugin "WebGrabber"
# -> save, view and test your page
#
# see included documentation for more info!
# t3_root: root URL path to this T3 site - no trailing slash...
plugin.tx_cmwebgrab_pi1.t3_root = /cms/chris
# webgrab_path: what to grab...
plugin.tx_cmwebgrab_pi1.webgrab_path =
http://info.byters.de/gallery/index.php
# wg_path: where is wg.php installed...
plugin.tx_cmwebgrab_pi1.wg_path = http://info.byters.de/gallery/wg.php
# t3_target: what frame/page is the target?
plugin.tx_cmwebgrab_pi1.t3_target = page
That should do the job, at least the user point of view. Though, you
cannot login, since FORMs aren't properly treated, yet, by my extension.
Posts: 11
I did all of that and got it to almost work...I get the following error messages before the gallery album (but the main page does show!). But the gallery page loaded SUPER slow, don't know if it is because of the errors or just too much backend with typo3.
Warning: fopen(/usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/cookies/94722570aa58c5bd1c044710a0e9cfba.txt) [function.fopen]: failed to create stream: No such file or directory in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 157
Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 158
Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 159
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php:157) in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 1105
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php:157) in /usr/local/typo3/htdocs/testsite/typo3conf/ext/cm_webgrab/pi1/webgrab/webgrab_typo3.php on line 1108
Posts: 11
Got rid of those error messages!!
I had to create a "cookies" directory under the ./pi1/webgrab/ directory.
Posts: 11
The only thing that doesn't seem to work at the moment is the links within gallery do not rewrite into the Typo3 pages. Anyone?
Plus, it is SLOW as a dog.... :cry:
Posts: 3
i got serveral problems when i tried to integrate gallery into typo3:
first thing was that on non-unix platforms the webgrabber does not even show the pictures because the variable "id" isprocessed by gallery and by typo3 (fixed renamed the referer-variable)
next is that the login did not work, -- no idea how to fix this
comments seem to work, search not
i still see this damned "undefinded variable in line 30 stuff" ( got rid of it by commenting out the $gallery_basedir in line 30 )
the slideshow function does not wirk properly (fixed, slideshow opens inan new window now)
Posts: 7
Any news on the typo3 integration? Seems that webgrabber is the only way... I tried it, and it's sloooooooow (and an ugly integration )
Thanks for your replies,
-nb.