I've created a template to use with phpdig.The first result page works fine using the template (except for the php part , but that should be solved soon), but if I try to go to the next page using the following tags :
<phpdig:previous_link src='./tpl_img/left.gif'/><phpdig:pages_bar/><phpdig:next_link src='./tpl_img/right.gif'/>
the customized template is no longer used and the next page (the n°2 actually) is displayed with the default template (phpdig.html by default).
How can I solve this ??
I've tried the demo versions , without changing anything , and the same thing occurs.Let's say you launch your search, then swap to the yellow.html template.Then let's say you have 2 resut pages , you want to go to the next one, then that's where ther's a problem : The page is displayed again with the phpdig.html template.
Thx in advance for any solutions.
Just in case , here's the code I'm using for my template:
Quote:
<html>
<head>
<title><phpdig:title_message/></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<phpdig:js_for_clicks/>
<link href="templates/fr_styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr align="center">
<td> </td>
<td><phpdig:previous_link src='./tpl_img/left.gif'/><phpdig:pages_bar/><phpdig:next_link src='./tpl_img/right.gif'/></td>
<td> </td>
</tr>
<phpdig:results>
<tr>
<td width="30" align="center" valign="bottom" bgcolor="#F5F5F5"><b><img src="templates/puce_bleue.gif" width="17" height="16" align="absmiddle"><phpdig:n/></b></td>
<td bgcolor="#F5F5F5"><font color="#FFFFFF"><b><phpdig:page_link/></b></font></td>
<td align="right" bgcolor="#F5F5F5"><a href="<phpdig:complete_path/>" class=lire>>>>Lire</a> </td>
</tr>
<tr></tr>
<tr>
<td width="30" rowspan="2"> </td>
<td><phpdig:text/> </font> </td>
<td> </td>
</tr>
<tr>
<td><font size="1">[<phpdig:filesize/> kb] <i><phpdig:update_date/> <phpdig:complete_path/></i></font></td>
<td> </td>
</tr>
</phpdig:results>
<tr align="center">
<td bgcolor="#E0E0E0"> </td>
<td bgcolor="#E0E0E0"><phpdig:previous_link src='./tpl_img/left.gif'/><phpdig:pages_bar/><phpdig:next_link src='./tpl_img/right.gif'/></td>
<td bgcolor="#E0E0E0"> </td>
</tr>
</table>
</body>
</html>
|