forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: mariahxxx on January 16, 2009, 12:28:24 am

Title: Fetch only working with PHP pages, not HTML
Post by: mariahxxx on January 16, 2009, 12:28:24 am
Hey guys I have a question that I searched for and couldnt find. I want to use fetch on an html page that has been in use for almost 5 years and changing all the links would be really hard to do, but I cant get Fetch to work with .html pages, only .php pages.

Any ideas or is this not possible?

thanks in advance!
Title: Re: Fetch only working with PHP pages, not HTML
Post by: vuud on January 16, 2009, 05:32:43 am
You have a few options...

1) Do some magic using server side includes to run a php file

2) I think I saw some java script code to pull images

3) Tell your web server to parse html files for php code (not easy if your hosted).

All in all, it was written to support php pages
Title: Re: Fetch only working with PHP pages, not HTML
Post by: mariahxxx on January 16, 2009, 02:35:23 pm
ok thanks.

I asked my hosting tech and within a minute or so he had it working :) Sweet!!!!!!

Thanks so much for your help!

Now my next question is this: In some of my categories I dont create a new album when I add a file, I just add it to an existing album so therefore it doesnt show up on the top row of latest updates, which is fine.

But I would like to know how to make it show up using Fetch for members to see when a new file has been added.

I've been looking through the exmample documentation and cant find this info so I thought i'd ask. :)

thanks so much again!
Title: Re: Fetch only working with PHP pages, not HTML
Post by: bb3 on March 26, 2009, 03:27:05 pm
You have a few options...

1) Do some magic using server side includes to run a php file

2) I think I saw some java script code to pull images

3) Tell your web server to parse html files for php code (not easy if your hosted).

All in all, it was written to support php pages


sorry if i may sound dumb but how can i make magic using server side includes to run a php file? fetch doesnt work in my html page www.redlens.org
thanks
Title: Re: Fetch only working with PHP pages, not HTML
Post by: Joachim Müller on March 28, 2009, 12:17:25 pm
Ask your server people how to run ssi. Do not try to hijack other's threads. Locking.