News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Preview MaisTrafego theme

Started by ormuz, May 21, 2009, 04:57:14 PM

Previous topic - Next topic

ormuz

Demo: http://maistrafego.pt/smfdemo/index.php

I'm working on this simple theme with a dropdown menu, but I already have many errors in the validation, and I don't understand many of them... Can anybody help me to finish this theme?

demo:
user:test
pass:test


ormuz

#2
Quote from: Antechinus on May 21, 2009, 05:34:23 PM
Use this. It rocks. https://addons.mozilla.org/en-US/firefox/addon/249

Nice tip, let me try!

EDT: Done, so f€%@ing simple!

ormuz

Hi guys,

I already submit my theme to the directory, but the customization team are saying that I have hard coded strings, but my strings are all in the themestrings file. Can sameone take a look on my theme an help me on this?!

thanks

Gary

Not all of them are in the language file, Specifically:

<a href="', $scripturl, '"><img src="', $settings['theme_url'], '/images/logo.png" style="margin: 2px; padding-bottom: 20px;" alt="Logo maistrafego.pt" /></a>

in index.template.php

and

<tr>
<td class="titlebg" colspan="2"> Sitemaps </td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="', $settings['images_url'], '/icons/online.gif" alt="Sitemaps" border="0" />
</td>
<td class="windowbg2" width="100%">
<div class="smalltext">';
echo'<a href="sitemaps-home.html">Start</a> &nbsp;';
for($i=0; $i<$modSettings['totalTopics']/$how_many_links_per_page; $i++)
{
    echo'<a href="sitemaps-',$i,'.html">Page', $i ,'</a>&nbsp;';
    if (!($i%13) && ($i!=0)) echo "<br />";
}
echo'<br />';
echo '

</div>
</td>
</tr>';

in BoardIndex.template.php
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

ormuz


ormuz

Fixed, and re-upload to the directory, waiting for aprovall!

Antechinus

Question: are the themes approval team requiring alt and title texts to be in theme strings these days? I seem to remember most of them always being hard coded.

ormuz

Quote from: Antechinus on June 16, 2009, 03:05:49 PM
Question: are the themes approval team requiring alt and title texts to be in theme strings these days? I seem to remember most of them always being hard coded.

It seems that alt atributte its needed to xhtml validation!

Gary

Yeah. it doesn't matter if it's empty though.

Quote from: Antechinus on June 16, 2009, 03:05:49 PM
Question: are the themes approval team requiring alt and title texts to be in theme strings these days? I seem to remember most of them always being hard coded.

I've always required them to be strings. I've hardly seen any where they're hardcoded... even before I looked at them.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Advertisement: