Common Header

Discussion related to NP Subscriber Pro.

Common Header

Postby turkman » Wed Oct 17, 2007 2:54 pm

Cheers--

The admin.cgi and subscriber.cgi scripts both use a "common" file to reference shared routines ...

I added some <style> to the page header routine in the "common" file to customize the look of the pages. Interestingly, the admin.cgi script correctly renders the common header routine BUT the subscriber.cgi does not -- a view source shows that the header content doesn't even show up.

Can you shed some light on this? Thanks in advance,

Matt
turkman
 
Posts: 3
Joined: Wed Oct 17, 2007 2:04 pm

Postby Admin-BS » Wed Oct 17, 2007 4:25 pm

There is no way to universally change the header on both admin.cgi (which manages the script overall) and subscriber.cgi (which manages individual lists). If you want to change the header you should go through the edit variables screen for whatever you wish to change.

Also, contrary to what the name of "common" may imply, it seems that the header/footer functions in that file really aren't used widely in the subscriber.cgi script... This is probably just the result of the "common" file being added in a later release, and the old way of doing it was never changed. I'm amazed at my own laziness sometimes. :)

Oh well... The replacement to Subscriber will be out whenever I actually get some spare time.
Admin-BS
Site Admin
 
Posts: 99
Joined: Sat Dec 31, 2005 6:52 pm
Location: USA


Return to Subscriber Pro

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron