Plogger Support Forum - Integrating Plogger with a website Fri, 29 Mar 2024 05:17:42 +0000 http://www.plogger.org/forum/ Lussumo Vanilla 1.1.10 Integrating Plogger with a website http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7947#Comment_7947 http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7947#Comment_7947 Tue, 01 Jul 2008 08:47:56 +0000 markrandall
Please can somebody help me here! The following is my page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<?php require("/gallery/gallery.php"); ?>
<!-- #BeginTemplate "master.dwt" -->

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- #BeginEditable "doctitle" -->
<title>Photos</title>
<!-- #EndEditable -->
<link href="style3.css" rel="stylesheet" type="text/css" />
<base target="_self" />
<?php the_gallery_head(); ?>
</head>

<body>

<!-- Begin Container -->
<div id="container">
<!-- Begin Masthead -->
<div id="masthead" style="width: 744px; color: #000000; background-color: #FFFF99">
<img src="images/pub%20-%20front%20on.jpg" alt="" height="132" width="167" /><p>
Phone: (01398) 361374<br />
Fax: (01398) 361375<br />
Email: <a href="mailto:info@staplecrossinn.co.uk">
info@staplecrossinn.co.uk</a></p>
<h2>The Staplecross Inn at Hockworthy</h2>
</div>
<!-- End Masthead -->
<!-- Begin Page Content -->
<div id="page_content" style="width: 741px">
<!-- Begin Sidebar -->
<div id="sidebar">
<ul>
<li><a href="index.htm">Home</a></li>
<li><a href="menu.htm">Menu</a></li>
<li><a href="pics.htm">Pictures</a></li>
<li><a href="local.htm">Local Attractions</a></li>
<li><a href="findus.htm">Find us</a></li>
<li><a href="booking.htm">Book a Table</a></li>
<li><a href="contact.htm">Contact Us</a></li>
</ul>
</div>
<!-- End Sidebar -->
<!-- End Sidebar -->
<!-- Begin Content -->
<div id="content" style="left: 8px; top: 0px; width: 552px">
<!-- #BeginEditable "content" -->
<h2>Photo Gallery</h2>
<?php the_gallery(); ?>
<!-- #EndEditable --></div>
<!-- End Content --></div>
<!-- End Page Content -->

<!-- Begin Footer -->
<div id="footer" style="width: 744px; height: 50px;">
<p><a href="index.htm">Home</a> | <a href="menu.htm">Menu</a> |
<a href="pics.htm">Pictures</a> |
<a href="local.htm">Local Attractions</a> |
<a href="findus.htm">Find Us</a> |
<a href="booking.htm">Book a Table</a> |
<a href="contact.htm">Contact Us</a><br />
Copyright © 2008 The Staplecross Inn. All Rights Reserved. Last Updated
24/06/2008 </p>
</div>
<!-- End Footer --></div>
<!-- End Container -->

</body>

<!-- #EndTemplate -->

</html>

This is online at www.staplecrossinn.co.uk/gallery.htm

Can somebody please tell me why it doesn't work?

If you goto staplecrossinn.co.uk/galley/index.php the gallery appears but not intgrated into the main frame!]]>
Integrating Plogger with a website http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7948#Comment_7948 http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7948#Comment_7948 Tue, 01 Jul 2008 09:00:41 +0000 _Eric_ Integrating Plogger with a website http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7949#Comment_7949 http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7949#Comment_7949 Tue, 01 Jul 2008 10:42:57 +0000 markrandall Integrating Plogger with a website http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7950#Comment_7950 http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7950#Comment_7950 Tue, 01 Jul 2008 11:13:15 +0000 _Eric_ Integrating Plogger with a website http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7952#Comment_7952 http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7952#Comment_7952 Tue, 01 Jul 2008 11:27:41 +0000 kimparsell <?php include("gallery/gallery.php"); ?> needs to be moved to the very beginning of the file, before <!DOCTYPE html PUBLIC
Also, you have some strange characters before <!DOCTYPE html PUBLIC What are those? If you can see them in your editor, delete them.

Note: I removed the beginning slash in the php include, and changed require to include. Use the code that I have above, and see if that solves the issue.]]>
Integrating Plogger with a website http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7953#Comment_7953 http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=7953#Comment_7953 Tue, 01 Jul 2008 12:27:13 +0000 markrandall
Seemes to work fine now :)]]>
Integrating Plogger with a website http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=13871#Comment_13871 http://www.plogger.org/forum/comments.php?DiscussionID=2006&Focus=13871#Comment_13871 Mon, 15 Aug 2011 04:59:17 +0000 Mistermik
<?php include("PicGallery/gallery.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">


<head>

<?php the_gallery_head(); ?>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->

function popup(url, width, height, name)
{
if (!name)
{
name = '_popup';
}

window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
return false;
}

function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';

if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * perpage);
}
}

/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}

if (!parent)
{
return;
}

var rb = parent.getElementsByTagName('input');

for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}

<!-- IF ._file -->

/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();

if (rectangle)
{
rectangle = rectangle.split(',')
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);

var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}

obj.width = width;
obj.height = height + 16;

obj.SetControllerVisible(true);

obj.Play();
}
<!-- ENDIF -->

// ]]>
</script>

</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="15" style="padding: 0;background: url('{T_IMAGESET_PATH}/left_bkg.gif') repeat-y; width: 15px;"></td>
<td style="padding: 0;">

<div id="wrapheader">



<table cellpadding="0" cellspacing="0" width="100%" style="height: 100px;background: url({T_IMAGESET_PATH}/top_bkg.gif) repeat-x;">
<tr>
<td><center>


<?php the_gallery(); ?>
<table cellpadding="0" cellspacing="0">
<tr>
<td style="padding: 0;">
<a href="{U_INDEX}"><img style="margin: -4px 40px -4px -4px;" src="{T_IMAGESET_PATH}/site_logo.gif" alt="{SITENAME}" /></a>
</td><td>
<h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span>

</td>
</tr>
</table>
</center></td>
</tr>
</table>

<table id="menu_bkg" cellpadding="0" cellspacing="0" width="100%" style="height: 34px;background: url({T_IMAGESET_PATH}/menu_bkg.gif) repeat-x;">
<tr>
<td style="padding: 0;">
<center>

<a href="{U_FAQ}">{L_FAQ}</a>

<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;-&nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;-&nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->

<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --> &nbsp;-&nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
<!-- ELSEIF S_REGISTER_ENABLED --> &nbsp;-&nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
<!-- ENDIF -->
<!-- ENDIF -->

<!-- IF S_DISPLAY_SEARCH --> &nbsp;-&nbsp;<a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --> &nbsp;-&nbsp;<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --> &nbsp;-&nbsp;<a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
<!-- ENDIF -->

<!-- IF not S_IS_BOT -->&nbsp;-&nbsp;<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
</center>
</td>
</tr>
</table>


<table cellpadding="0" cellspacing="0" width="100%" style="height: 30px;background: url({T_IMAGESET_PATH}/below_menu_bkg.gif) repeat-x;">
<tr>
<td style="padding: 0;">
&nbsp;
</td>
</tr>
</table>

<div id="datebar">
<table width="100%" cellspacing="0">
<tr>
<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
</tr>
</table>
</div>

</div>

<div id="wrapcentre">

<!-- IF S_DISPLAY_SEARCH -->
<p class="searchbar">
<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
<!-- IF S_USER_LOGGED_IN -->
<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
<!-- ENDIF -->
</p>
<!-- ENDIF -->

<br style="clear: both;" />

<!-- INCLUDE breadcrumbs.html -->

<br />


php the gallery is 3/4ths the way down

Thank you for your time]]>