News:

Wondering if this will always be free?  See why free is better.

Main Menu

want WAP home page not boardindex

Started by Karmalakas, October 13, 2005, 07:23:41 AM

Previous topic - Next topic

Karmalakas

I've searched index.php, Load.php, Wireless.template.php but couldn't figure out how to make it so that home page in wap was the same (or smth like that) like in WWW

We've created custom action for forum which links to boardindex and we use like simple portal or tiny portal self made portal

and now when entering www.mobiles.lt through WAP it just displays an error that this section is not available for wireless users and i want to display home page

i've tried adding simple function template_wap_pradzia()
{
global $context, $scripturl;

echo '
<p class="catbg">', $context['forum_name'], '</p>';
echo '
<a href="', $scripturl, '?action=login">Login</a>';

}
and instead of "function template_wap_pradzia" just leaving "function template_wap" but that didn't help either, it just gives me the error page

Pradzia is our custom action for home page

Thanx for any help


[edit] maybe it'll sound clearlier if i say that i want custom actions in wap ::) [/edit]

[edit] ok i find out that it's in action's source file
now entering wap i get:
"An Error Has Occurred!

Unable to load the 'wap_pradzia' template.

Board index" [/edit]


[last edit] Stupid me ;D wireless.template.php wasn't in my theme ;) [/last edit]

Advertisement: