Author Topic: Request: Versatility  (Read 1925 times)

Offline TaintedBlack

Request: Versatility
« on: November 28, 2006, 06:24:02 pm »
I am not sure if you can do this since it is a commercial template but I figure I would atleast ask.

Board Address: (Private board)
Theme Name: Versatility
Link to Theme: http://demo.rockettheme.com/smf/

Note: I am using joomla/smf bridge in wrapped mode. I do not actually need the graphic made I just need to know how to add it into this theme.

Offline Daniel15

Re: Request: Versatility
« Reply #1 on: November 29, 2006, 10:17:11 am »
Hi,
 This should be possible. Please find the code for the Calendar button in Index.template.php, and paste it here.
It will look a bit like:
Code: [Select]
// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Quote
I do not actually need the graphic made
Well, all the buttons are using the same graphic, it just has text overlaid.