News:

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

Main Menu

Switch to full version button in mobile version

Started by X3mE, August 21, 2008, 11:12:21 AM

Previous topic - Next topic

X3mE

Hi,

I was wondering how to add a link in all of my mobile version pages (wap, wap2, imode), which would force a switch to the full version of that same page?
Kids, you tried your best and you failed miserably. The lesson is - never try.

My mods:
OS & Browser Detection (1.5 is out!) | Skype Profile Field | GTalk Profile Field | AllCaps Blocker | SMF Syntax Highlighter (Beta) + 2 in development!

Personal websites:
Mobilize.rs (and forum) | Lolmao.info



karlbenson

Just add a normal link into the template without the ;wap or ;imode or ;wap2 extension on the link.

The file you'd need to edit would be Themes/default/Wireless.template.php

X3mE

Thank you for your reply.

Uhm, what changes should I exactly make? :) I don't know how to add a link to the full version of the page on every page, I can't figure it out from the code of that template.
Kids, you tried your best and you failed miserably. The lesson is - never try.

My mods:
OS & Browser Detection (1.5 is out!) | Skype Profile Field | GTalk Profile Field | AllCaps Blocker | SMF Syntax Highlighter (Beta) + 2 in development!

Personal websites:
Mobilize.rs (and forum) | Lolmao.info



metallica48423

did you still require assistance for this?

Where were you looking to place said link?
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Rumbaar

It would depend on where you want it to be displayed.  As you would need to place it in each of the specific functions.

So if you wanted it to say appear in the Display area of each post you'd put a copy of the link without the extensions mention by karlbenson in each of the functions:
function template_wap_display()
function template_imode_display()
function template_wap2_display()

HA!  Too slow again...
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

X3mE

Sorry for the late reply. I still haven't managed to do this.

I would very much appreciate it if someone would modify the Wireless.Template.php file and attached it here. Thanks in advance.
Kids, you tried your best and you failed miserably. The lesson is - never try.

My mods:
OS & Browser Detection (1.5 is out!) | Skype Profile Field | GTalk Profile Field | AllCaps Blocker | SMF Syntax Highlighter (Beta) + 2 in development!

Personal websites:
Mobilize.rs (and forum) | Lolmao.info



I B D


X3mE

Kids, you tried your best and you failed miserably. The lesson is - never try.

My mods:
OS & Browser Detection (1.5 is out!) | Skype Profile Field | GTalk Profile Field | AllCaps Blocker | SMF Syntax Highlighter (Beta) + 2 in development!

Personal websites:
Mobilize.rs (and forum) | Lolmao.info



Nathaniel

SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

X3mE

Kids, you tried your best and you failed miserably. The lesson is - never try.

My mods:
OS & Browser Detection (1.5 is out!) | Skype Profile Field | GTalk Profile Field | AllCaps Blocker | SMF Syntax Highlighter (Beta) + 2 in development!

Personal websites:
Mobilize.rs (and forum) | Lolmao.info



Advertisement: