News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Grayola theme

Started by Juduras, March 12, 2009, 03:05:28 PM

Previous topic - Next topic

Juduras


Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Juduras

Thanks ,next time i will spend much more time ,I was very busy while doing this one ,although I wanted to take some opinions

bycn*

Very Nice Theme Congrats Onur :)

Juduras


Imô¿ôu2


"If all the world's a stage, I want to operate the trap door."
Paul Beatty

stanaca

The theme is very nice...
My forum: http://www.stanaca.com is looking good now
...

Juduras

Thanx for your opinions

and btw
Quote from: stanaca on March 27, 2009, 11:03:48 AM
The theme is very nice...
My forum: http://www.stanaca.com is looking good now
i saw your site and saw a colspan problem and solved that ;)


stanaca

Quote from: Juduras on March 28, 2009, 07:29:39 AM
Thanx for your opinions

and btw
Quote from: stanaca on March 27, 2009, 11:03:48 AM
The theme is very nice...
My forum: http://www.stanaca.com is looking good now
i saw your site and saw a colspan problem and solved that ;)




What files you have changed. I have installed mods so don't want to re-install.

...

Juduras

Than I'll give you the manual

Find this on BoardIndex.template

if ($context['show_calendar'])
{
echo '
<tr>
<td class="catbg" colspan="2">', $context['calendar_only_today'] ? $txt['calendar_today'] : $txt['calendar_upcoming'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=calendar">
<img src="', $settings['images_url'], '/icons/calendar.gif" border="0" width="20" alt="', $txt['calendar'], '" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="smalltext">';

// Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" :P.
if (!empty($context['calendar_holidays']))
echo '
<span class="holiday">', $txt['calendar_prompt'], ' ', implode(', ', $context['calendar_holidays']), '</span><br />';

// People's birthdays.  Like mine.  And yours, I guess.  Kidding.
if (!empty($context['calendar_birthdays']))
{
echo '
<span class="birthday">', $context['calendar_only_today'] ? $txt['birthdays'] : $txt['birthdays_upcoming'], '</span> ';
/* Each member in calendar_birthdays has:
id, name (person), age (if they have one set?), is_last. (last in list?), and is_today (birthday is today?) */
foreach ($context['calendar_birthdays'] as $member)
echo '
<a href="', $scripturl, '?action=profile;u=', $member['id'], '">', $member['is_today'] ? '<b>' : '', $member['name'], $member['is_today'] ? '</b>' : '', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '</a>', $member['is_last'] ? '<br />' : ', ';
}
// Events like community get-togethers.
if (!empty($context['calendar_events']))
{
echo '
<span class="event">', $context['calendar_only_today'] ? $txt['events'] : $txt['events_upcoming'], '</span> ';
/* Each event in calendar_events should have:
title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */
foreach ($context['calendar_events'] as $event)
echo '
', $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '<br />' : ', ';

// Show a little help text to help them along ;).
if ($context['calendar_can_edit'])
echo '
(<a href="', $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';
}
echo '
</span>
</td>
</tr>';
}


replace with this
if ($context['show_calendar'])
{
echo '
<tr>
<td class="catbg" colspan="3">', $context['calendar_only_today'] ? $txt['calendar_today'] : $txt['calendar_upcoming'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=calendar">
<img src="', $settings['images_url'], '/icons/calendar.gif" border="0" width="20" alt="', $txt['calendar'], '" /></a>
</td>
<td class="windowbg2" colspan="2" width="100%">
<span class="smalltext">';

// Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" :P.
if (!empty($context['calendar_holidays']))
echo '
<span class="holiday">', $txt['calendar_prompt'], ' ', implode(', ', $context['calendar_holidays']), '</span><br />';

// People's birthdays.  Like mine.  And yours, I guess.  Kidding.
if (!empty($context['calendar_birthdays']))
{
echo '
<span class="birthday">', $context['calendar_only_today'] ? $txt['birthdays'] : $txt['birthdays_upcoming'], '</span> ';
/* Each member in calendar_birthdays has:
id, name (person), age (if they have one set?), is_last. (last in list?), and is_today (birthday is today?) */
foreach ($context['calendar_birthdays'] as $member)
echo '
<a href="', $scripturl, '?action=profile;u=', $member['id'], '">', $member['is_today'] ? '<b>' : '', $member['name'], $member['is_today'] ? '</b>' : '', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '</a>', $member['is_last'] ? '<br />' : ', ';
}
// Events like community get-togethers.
if (!empty($context['calendar_events']))
{
echo '
<span class="event">', $context['calendar_only_today'] ? $txt['events'] : $txt['events_upcoming'], '</span> ';
/* Each event in calendar_events should have:
title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */
foreach ($context['calendar_events'] as $event)
echo '
', $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '<br />' : ', ';

// Show a little help text to help them along ;).
if ($context['calendar_can_edit'])
echo '
(<a href="', $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';
}
echo '
</span>
</td>
</tr>';
}




stanaca

nice it's look very clean n neat now.
Thanks.....
...

stanaca

There is another problem. The signature line below the post is not showing...
...

Juduras

At this code at the end of Grayola Theme's style.css

.signature
{
clear: right;
padding: 1em 0 3px 0;
border-top: solid 1px #888;
width: 100%;
overflow: auto;
line-height: 1.3em;
}

stanaca

Thanks.. that's worked
...

stanaca

Hie,

I activated the member require activations on registration.
A line appeared on header "Did you miss your activation Email?"

My header is messed up now. see on firefox and internet explorer both.
i tried to reduce the size of logo but did not worked.

on http://www.stanaca.com

please help
...

stanaca

please help me. after some days now there is still same problem
...

stanaca

Quote from: stanaca on April 26, 2009, 02:53:14 AM
Hie,

I activated the member require activations on registration.
A line appeared on header "Did you miss your activation Email?"

My header is messed up now. see on firefox and internet explorer both.
i tried to reduce the size of logo but did not worked.

on http://www.stanaca.com

please help

Here is solution i found myself

open your index.template.php file in your grayola theme folder

Replace
</div><div style="text-align:right;">', $context['current_time'], '</div>

with

</div><div style="text-align:right;">', $context['current_time'], '</div><br />
...

stanaca

When you will upgrade this theme for 2.0 RC2???
...

Advertisement: