TinyPortal

General => Chit chat => Topic started by: ForumGuy789 on August 23, 2007, 09:08:55 PM

Title: Error in Apollo Theme
Post by: ForumGuy789 on August 23, 2007, 09:08:55 PM
I really like this Apollo Theme and might have it as my default theme, but I keep getting massive amounts of an error when using it. here is the  error

8: Undefined index: topbottomEnable
File:'MyDirectory'\Display.template.php (main sub template - eval?)
Line: 557

'MyDirectory' is what i replaced the true directory with.

Here is what the code in this area looks like on that line:

         <a name="bot"></a><b>', $txt[139], ':</b> ', $context['page_index'], ($modSettings['topbottomEnable'] ? $context['menu_separator'] . '<a href="#top">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/go_up.gif" alt="' . $txt['topbottom4'] . '" border="0" align="top" />' : $txt['topbottom4']) . '</a>' : ''), '
                                       


I do not believe I have altered this file at all. But i have altered other files to take out Stat information. I took out the whole "Info Center" in all of my themes because the site is still smallish and didnt want to advertise it's patheticness. That was done in another file though "BoardIndex.template.php" and it was done successfully, i think.

Thanks
Title: Re: Error in Apollo Theme
Post by: IchBin on August 23, 2007, 09:24:27 PM
Have a link to your site?
Title: Re: Error in Apollo Theme
Post by: ForumGuy789 on August 23, 2007, 09:53:27 PM
Can I PM it to ya? It's a "professional" site and I don't want this forum discussion coming up in Search Engine searches about the product.

I'll wait for a response before sending the PM.

Title: Re: Error in Apollo Theme
Post by: IchBin on August 23, 2007, 09:55:05 PM
Yes, please PM me the link.
Title: Re: Error in Apollo Theme
Post by: IchBin on August 23, 2007, 10:11:37 PM
Can you go into the theme settings. Admin > Features and Options > Layout and Options > Enable go up/down buttons.

See if that gets rid of the error.
Title: Re: Error in Apollo Theme
Post by: ForumGuy789 on August 23, 2007, 10:19:25 PM
It worked! (unless it takes a while for errors to show up)

Thanks a ton man.