*TUTS* how to add external link to mobile version

Started by cyberhat, July 26, 2012, 07:40:57 PM

Previous topic - Next topic

cyberhat

Hi,my name is smax payne and i want to help my fellow smf dudes who find it difficult to customize their wap version.
so many talk about taptalk or what ever but i still recommend you use this mod  WapMod1.4-2 works on any smf
this wapmod allow you to customize your forum the way you want i we show you how to add external links to your mobile version
if you want to add additional menus to the default menu in header just create a note pad file put this php code <?php
echo "<div align='center'>\n"
echo 
"\n"
echo 
"<div class='wapmenu'>\n"
echo 
"<a href='http://www.yoursite.com/gallery/?wap2'>Gallery</a> | <a href='http://www.yoursite.com/downloads/?wap2'>Downloads</a> | <a href='http://www.yoursite.com/index.php?action=shop;wap2'>Shop</a>\n"
echo 
"</div>\n"
echo 
"\n"
echo 
"<div class='wapmenu'>\n"
echo 
"<a href='http://www./'>Blog</a> | <a href='http://m.facebook.com/yourfacebook fan page'>Facebook</a>\n"
echo 
"</div>\n"
echo 
"\n"
echo 
"</div>\n";
?>


now after you have added the code in note pad save the file as headerslink.php and upload it to your public_html
and watch mobile version header change
see attachment below..
after you have done that now you we have to locate your wireless.template.php and add some php code in includes you gonna say includes headerslink.php thats all for headers the same goes to footer

i we stop here in case you are lost to ask any question before i continue on adding css,chatroom,shoutbox to your wap2 mod
hope this help out
regards
post originaly found @ REMOVED

Advertisement: