Hi Ian,
No, I try not to modify .pm files at all if possible as it creates a lot of problems with upgrades.
To add a new template you just need to go to your template editor and load one of your existing templates which is similar to the one you want to create and then at the bottom put in the new file name (e.g. 'new_template_name.html') and click 'save as'. You can then start using the new template within other templates with <%include new_template_name.html%>. In this case, the template is called from within the global.
The template that I have created for new reviews is:
<center>
<%body_font%><b><a href="<%db_cgi_url%>/review.cgi?ID=<%Review_LinkID%>"><%Review_Subject%></a></b></font>
<br><img src="<%build_images_url%>/default/stars-<%Review_Rating%>.gif">
<br>
</center>
<%body_font%>
<%if Review_GuestName%>
by <b><a href='mailto:<%Review_GuestEmail%>'><%Review_GuestName%></a></b><br>
<%else%>
by <b><a href='<%db_cgi_url%>/review.cgi?user=<%Review_Owner%>'><%Review_Owner%></a></b><br>
<%endif%>
<%Review_Contents%>
</font>
<br><hr width="65%" color=<%color11%>>
Once you have added this and the global, you can call the new reviews with the name of your global - so if you call the global 'new_reviews', just add the tag <%new_reviews%> on your homepage.
Laura.
No, I try not to modify .pm files at all if possible as it creates a lot of problems with upgrades.
To add a new template you just need to go to your template editor and load one of your existing templates which is similar to the one you want to create and then at the bottom put in the new file name (e.g. 'new_template_name.html') and click 'save as'. You can then start using the new template within other templates with <%include new_template_name.html%>. In this case, the template is called from within the global.
The template that I have created for new reviews is:
<center>
<%body_font%><b><a href="<%db_cgi_url%>/review.cgi?ID=<%Review_LinkID%>"><%Review_Subject%></a></b></font>
<br><img src="<%build_images_url%>/default/stars-<%Review_Rating%>.gif">
<br>
</center>
<%body_font%>
<%if Review_GuestName%>
by <b><a href='mailto:<%Review_GuestEmail%>'><%Review_GuestName%></a></b><br>
<%else%>
by <b><a href='<%db_cgi_url%>/review.cgi?user=<%Review_Owner%>'><%Review_Owner%></a></b><br>
<%endif%>
<%Review_Contents%>
</font>
<br><hr width="65%" color=<%color11%>>
Once you have added this and the global, you can call the new reviews with the name of your global - so if you call the global 'new_reviews', just add the tag <%new_reviews%> on your homepage.
Laura.