Forums Index » jGallery 1.3.* - PHP based photo-album creator » banner rotation in galleries

View previous topic :: View next topic This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

Viewing topic banner rotation in galleries  
PostMessage: banner rotation in galleries Reply with quote
Have tried to drop the galleries into a different template using the include statement as suggested and cannot get the gallery to display.

Which kills my idea of adding a banner rotation to the gallery's display pages.

Is there an easier way to accomplish this?

I'm sure that I am trying to hard. Mad
Posted on Sat Jul 19, 2008 07:25 GMT
active user Posted by drdude (active user) View user's profile
PostMessage: Reply with quote
Please post your URL and complete source so I can be of any help.
Posted on Mon Jul 21, 2008 22:04 GMT
spiderman Posted by Kooijman (spiderman) View user's profile Visit poster's website
PostMessage: Reply with quote
Kooijman wrote:
Please post your URL and complete source so I can be of any help.



http://www.harryballsack.com/index.shtml

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE></TITLE>
<meta name="keywords" content="">
<meta NAME="description" CONTENT="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en-us">
<meta name="robots" content="index,follow">
<meta name="distribution" content="global">
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#8000FF" VLINK="#FF0080" ALINK="#0000FF">
</HEAD>

<TABLE WIDTH="800" ALIGN="CENTER" BORDER="0" CELLPADDING="5" CELLSPACING="0">
<TD><FONT COLOR="#000000" SIZE="3" FACE="Times New Roman"><B>



<?php
$G_JGALL['inc_path'] = 'gallery/';
include($G_JGALL['inc_path'] . 'index.php');
?>


</FONT></TD>
</TABLE>
</BODY>
</HTML>
Posted on Mon Jul 21, 2008 22:14 GMT
active user Posted by drdude (active user) View user's profile
PostMessage: Reply with quote
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
spiderman Posted by Kooijman (spiderman) View user's profile Visit poster's website
PostMessage: .shtml to php Reply with quote
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
active user Posted by drdude (active user) View user's profile
PostMessage: Reply with quote
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
active user Posted by drdude (active user) View user's profile
PostMessage: Reply with quote
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
spiderman Posted by Kooijman (spiderman) View user's profile Visit poster's website
PostMessage: Reply with quote
An iframe where? to accomplish which portion of the overall scenario?
Posted on Tue Jul 22, 2008 13:20 GMT
active user Posted by drdude (active user) View user's profile
PostMessage: Reply with quote
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
spiderman Posted by Kooijman (spiderman) View user's profile Visit poster's website
PostMessage: Reply with quote
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
active user Posted by drdude (active user) View user's profile
PostMessage: Reply with quote
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
spiderman Posted by Kooijman (spiderman) View user's profile Visit poster's website
PostMessage: Reply with quote
You can also put the banner rotator in an iframe in stead of the gallery.

<iframe width="468" height="60" src="banner.shtml">

.. or such...
Posted on Tue Jul 22, 2008 17:13 GMT
spiderman Posted by Kooijman (spiderman) View user's profile Visit poster's website
| All times are GMT  

Topics from:   This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.



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
Jump to:  

Powered by phpBB 2.0.21 © 2001, 2006 phpBB Group | | Back to top