Page 1 of 1
StylishMenu v0.2, MovieReview v0.4, SMF-Plugin 1.1
Posted: Mon Mar 14, 2005 10:04 pm
by ghostrifle
Hi people,
I've released new versions of MovieReview and SMF-Plugin. In addition to that is there a new module called StylishMenu for all your menu customization needs. Go to
http://login.asia-addict.de/~ghostrifle/ for getting the files and reading the changelogs.
To see all modules and plugins in action go to
http://www.asia-addict.de
bye, ghostrifle
Re: StylishMenu v0.2, MovieReview v0.4, SMF-Plugin 1.1
Posted: Tue Mar 15, 2005 11:08 am
by koehler
Your XML feed bails out with firebird and safari (other browsers untested) because of illegal XML umlaut entities (Deutsche Umlaut Entitaeten wie z. B. ä)
XML Parsing Error: undefined entity
Location:
http://www.asia-addict.de/moduleinterfa ... returnid=1
Line Number 10, Column 23:uns die letzte Woche täglich bis zu 14h für den Server sowie an dem
----------------------^
Fix it with the following right before you echo ''
Code: Select all
$this->cms->variables['content-type'] = ' text/xml';
echo '<?xml version="1.0" encoding="ISO-8859-1"?>' . "\n";
echo '<!DOCTYPE rss [' . "\n";
echo '<!ENTITY nbsp " ">' . "\n";
echo '<!ENTITY Uuml "Ü">' . "\n";
echo '<!ENTITY uuml "ü">' . "\n";
echo '<!ENTITY Ouml "Ö">' . "\n";
echo '<!ENTITY ouml "ö">' . "\n";
echo '<!ENTITY Auml "Ä">' . "\n";
echo '<!ENTITY auml "ä">' . "\n";
echo ']>' . "\n";
Have fun,
Michael
Re: StylishMenu v0.2, MovieReview v0.4, SMF-Plugin 1.1
Posted: Tue Mar 15, 2005 11:17 am
by ghostrifle
Thanx !
Re: StylishMenu v0.2, MovieReview v0.4, SMF-Plugin 1.1
Posted: Wed Mar 16, 2005 10:26 am
by ghostrifle
Uhhh, sorry !!! I forgot to include the example_template.txt
Code: Select all
{ * this is the place where you change the look of the menu, please be careful and read the smarty documentation @ smarty.php.net *}
<table border=0 width="100%" cellspacing="0" cellpadding="0">
{foreach from=$MENU item=currentItem}
<tr><td>
<table width="100%"><tr>
{if $currentItem->active == 1}
<td width="32" id="{$currentItem->cssID}"><img src="{$currentItem->image_normal}" id="{$currentItem->image_id}" class="SM_IMAGE"></td>
<td id="{$currentItem->cssID}"><a href="{$currentItem->url}"
onmouseover="javascript:changeImg('{$currentItem->image_id}','{$currentItem->image_active}')"
onmouseout="javascript:changeImg('{$currentItem->image_id}','{$currentItem->image_normal}')">{$currentItem->menuText}</a></td>
{else}
<td width="32"></td><td id="{$currentItem->cssID}"><a href="{$currentItem->url}">{$currentItem->menuText}</a></td>
{/if}
</tr></table>
</td>
</tr>
</td></tr>
{/foreach}
</table>
Re: StylishMenu v0.2, MovieReview v0.4, SMF-Plugin 1.1
Posted: Wed Mar 16, 2005 10:39 am
by Ted
eeek. Table based layout!
Sorry, couldn't resist.

Re: StylishMenu v0.2, MovieReview v0.4, SMF-Plugin 1.1
Posted: Wed Mar 16, 2005 7:19 pm
by ghostrifle
It doesn't need to be based on tables. It's just the way I've done the example

You can do however you want it with smarty.....