Not Solved How to programatically include theme CSS
Not Solved
Ok, I've got most of my plugin working. Is there a static variable that returns the main CSS file of the current theme?

My Template is:
<title>{$mybb->settings[bbname]} - Example Page</title>
<br />
<!-- Content: Start -->
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr><td class="thead"><strong>BOX NAME</strong>
<td class="trow1">BOX CONTENT</td></tr>
<!-- Content: End -->

But I want to include the CSS of the theme somehow Toungue
Not Solved
Wouldn't it be included in "{$headerinclude}"?
[Image: premium_mybb_themes-500x100.png]
Latest Theme: MiniColor.
Not Solved
In your hook that calls the template, globalize the $theme variable:
function myfunction_hook()
   global $theme;
Not Solved
I have included header include in my template, but it hasn't worked Sad I'm not using hook either Toungue

Forum Jump:

Users browsing this thread: 1 Guest(s)