PDA

View Full Version : # Number (newsletter.php)


BlueSky
05-25-2008, 01:21 AM
What is the name of the template for '#56 Weekly Newsletter (17th May 2008)' ? It is showing in newsletter.php.

Morgan
05-27-2008, 12:40 AM
That is the gaz_issue_browser_main template. Look for the following in the template:

<span class="bigusername" id="issuetitle">$contenttitle</span>

BlueSky
05-28-2008, 10:16 AM
Yes, I found it. Now, I am trying to embbed it in gaz_html_header but no chance, it is not working.

Morgan
05-28-2008, 04:55 PM
The $contenttitle variable is only set in the newsletter.php file so is not available for use elsewhere.

GAZ comes with four default modules:

Text Block: This module will allow you to display static text including html and bbcode (example in right hand column here (http://www.thevbgeek.com/newsletter.php))

Info Block: This module will display text you type in or show the text entered in the issue message (example is top welcome row here (http://www.thevbgeek.com/newsletter.php))

Statistics Block: This module will display site statistics (example in right hand column here (http://www.thevbgeek.com/newsletter.php))

Thread Block: This module will allow you to configure a list of threads to display (the five other blocks here (http://www.thevbgeek.com/newsletter.php) are from the thread block)

You can place blocks in the following positions:

Top
Left
Center
Right
Bottom

You can use each module more than one time, but if your newsletter has any other information that cannot be displayed by using one of the default modules, a custom module would need to be coded.

There are issueid and dateline fields in the gaz_issue_cache table that you might be able to use.