Portal Themes

Custom Theme Support - lotr theme and 3rd party right blocks

WDT_Elwood - Oct 11, 2008 - 06:07 PM
Post subject: lotr theme and 3rd party right blocks
I am using the lotr theme i purchased from this site and also a moduel called totalcalendar. Total calendar provides a couple of differnet blocks that can show upcoming events.

I have php-nuke 8.1 wuith the chatserv patch applied.

In my other sites, which do not use auto theme, there is a well documented way to make third party blocks work. That is, in theme.php of the theme you are using, you make the following change:
Code:
In Themes:
if ($index == 1) {
to:
if (defined('INDEX_FILE')) {


I can't find a place in the lotr theme to do this and i really need to get this upcoming events block work.

Someone please...nelp a n00b out Smile

Thanks!
mars - Oct 11, 2008 - 06:22 PM
Post subject: RE: lotr theme and 3rd party right blocks
I'm not sure what you are looking to do?
Do you want to show the right side blocks on a page that isn't the homepage?
WDT_Elwood - Oct 12, 2008 - 01:49 PM
Post subject:
Sorry mars for not being clearer...

I want to simply add a block to the home page that is not one of the prepackaged blocks. The block i am trying to add can be found here:

http://sweetphp.com/nuke/modules.php?na ... amp;lid=28

That is the newest version, however on my 4 other sites i actually use the old block which is this:
http://sweetphp.com/nuke/modules.php?na ... amp;lid=20

I have had no problems getting the old block to work with other themes, but as I said this is my first experience with a purchased autotheme.

Your help is greatly appreciated.
mars - Oct 12, 2008 - 03:57 PM
Post subject:
You add blocks the exact same way with AutoTheme as you do with a normal theme.
It should not have to be installed any differently.
WDT_Elwood - Oct 31, 2008 - 05:10 PM
Post subject:
nevermind - I was not making myself clear enough. I know how to add blocks. I eventually figured out the issue on my own.
All times are GMT - 5 Hours
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits