You should change the extention .shtml to .php to make it work.
Posted on Tue Jul 22, 2008 02:43 GMT Last edited by Kooijman on Wed Jan 28, 2009 16:35; edited 1 time in total
Posted by Kooijman (spiderman)
Message: .shtml to php
I am more familiar w/ SSI includes which is why I was going with .shtml ... using .shtml for the parsing of the banner rotation and the inclusion of headers and footers as well as menu. I do not know any .php script.
Tried changing from .shtml to .php extension did load.
can I add SSI file include calls and have them work>
not sure if you can help me or not, but I appreciate the assist.
K
Posted on Tue Jul 22, 2008 03:49 GMT
Posted by drdude (active user)
Message:
by changing the extension to .php the script will load in the page, but I cannot nest it in a table as the center pane and have the album still load. Which defeats the purpose.
I am trying to create a template that has a top header for site graphics, a left side nav menu that will include rotating banners and a right side area for banners as well...
Thanks
Posted on Tue Jul 22, 2008 04:18 GMT
Posted by drdude (active user)
Message:
OK, I now see the problem, you need the document to be .shtml to activate the banner rotator.
Can't you work with an iframe?
Posted on Tue Jul 22, 2008 09:28 GMT
Posted by Kooijman (spiderman)
Message:
An iframe where? to accomplish which portion of the overall scenario?
Posted on Tue Jul 22, 2008 13:20 GMT
Posted by drdude (active user)
Message:
drdude wrote:
An iframe where? to accomplish which portion of the overall scenario?
To show jGallery?
example:
http://www.i-fatality.com
(go to media in the menu, then click the camera)
Posted on Tue Jul 22, 2008 13:27 GMT
Posted by Kooijman (spiderman)
Message:
interesting thought.... let me work that for a bit.
Thanks for the thought... originally I was trying to avoid frames since past experience suggested they do not index well in search engines. what has been your experience on this issue and frames?
Posted on Tue Jul 22, 2008 13:48 GMT
Posted by drdude (active user)
Message:
I haven't heard this one before. I think it's always better to avoid frames.
This script is written for php and can only be included in another php-document, it's as simple as that.
Maybe you should try another webmaster-community to find out how to combine php and shtml in one document.
Posted on Tue Jul 22, 2008 17:11 GMT
Posted by Kooijman (spiderman)
Message:
You can also put the banner rotator in an iframe in stead of the gallery.
.. or such...
Posted on Tue Jul 22, 2008 17:13 GMT
Posted by Kooijman (spiderman)
| All times are GMT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum