Switching Skins

I am wondering how I could go about adding the drop down menu box to the aquasoft mobile skin. On IPB desktop there is a drop down menu to switch skins, is there anyway to implement this on the mobile skin as well?

#535388

It's there it just shows up only when the user used that menu to select the mobile skin.

#535389

Not sure I understand or explained correctly. I can get all 3 skins on the desktop version of ipb in the drop down. Switching back to "desktop version" or lo-fi is the problem I am having. The view desktop version link works fine on the phone and back again from the drop down on the desktop version.

I would like to have the mobile version as an option, in place of lo-fi when working from a computer. If I select the mobile version from a computer I cannot seem to get back easily to a desktop version. Was looking for a dropdown box for all versions.

post-111438-126954569379_thumb.png

mobile.png
mobile.png

#535390

Can I have a drop down menu here? The skin is so nice I want to use it instead of lo-fi on a regular computer for those who don't want the full IPB. Just need to be able to easily switch back and forth.

#535393

Open up the globalTemplate

find

	<if test="uagentlocked:|:$this->memberData['userAgentLocked'] AND ! $this->memberData['userAgentBypass']">
<p class="copyright">
<strong>
<a href='{parse url="{$this->settings['query_string_formatted']}&unlockUserAgent=1" base="public"}'>View Desktop Version</a>
<if test="$this->settings['gl_show'] and $this->settings['gl_title']"> · <a href='<if test="$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&module=extras§ion=boardrules" base="public"}</if>'><if test="$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a></if>
<if test="$this->memberData['member_id']"> · <a onclick="return logoutConfirm();" href="../../unavailable.html"app=core&module=global§ion=login&do=logout&k={$this->member->form_hash}" base="public"}">{$this->lang->words['log_out']}</a></if>
</strong>
Powered By IP.Board © 2009 IPS, Inc.
<a name="bottom"></a>
</p>
<else />
<p class="copyright">
<strong>
<a href='{parse url="{$this->settings['query_string_formatted']}&unlockUserAgent=1" base="public"}'>View Desktop Version</a>
<if test="$this->settings['gl_show'] and $this->settings['gl_title']"> · <a href='<if test="$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&module=extras§ion=boardrules" base="public"}</if>'><if test="$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a></if>
<if test="$this->memberData['member_id']"> · <a onclick="return logoutConfirm();" href="../../unavailable.html"app=core&module=global§ion=login&do=logout&k={$this->member->form_hash}" base="public"}">{$this->lang->words['log_out']}</a></if>
</strong>
Powered By IP.Board © 2009 IPS, Inc.
<a name="bottom"></a>
</p>
<if test="skinchanger:|:$this->settings['allow_skins'] AND $footer_items['skin_chooser']">
<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>
<div class="box">
<ul>
<li class="input arrow">
<label class="label" for='newSkin' class='hide'>{$this->lang->words['theme_prefix']}</label>
<select name="settingNewSkin" id='newSkin'>{$footer_items['skin_chooser']}</select>
</li>
</ul>
</div>
<input type='hidden' name='k' value='{$this->member->form_hash}' />
<input type='submit' value='Change Theme' class='input_button' id='newSkinSubmit' />
</form>
</if>
</if>

replace with this

		<p class="copyright">
<strong>
<a href='{parse url="{$this->settings['query_string_formatted']}&unlockUserAgent=1" base="public"}'>View Desktop Version</a>
<if test="$this->settings['gl_show'] and $this->settings['gl_title']"> · <a href='<if test="$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&module=extras§ion=boardrules" base="public"}</if>'><if test="$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a></if>
<if test="$this->memberData['member_id']"> · <a onclick="return logoutConfirm();" href="../../unavailable.html"app=core&module=global§ion=login&do=logout&k={$this->member->form_hash}" base="public"}">{$this->lang->words['log_out']}</a></if>
</strong>
Powered By IP.Board © 2009 IPS, Inc.
<a name="bottom"></a>
</p>
<if test="skinchanger:|:$this->settings['allow_skins'] AND $footer_items['skin_chooser']">
<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>
<div class="box">
<ul>
<li class="input arrow">
<label class="label" for='newSkin' class='hide'>{$this->lang->words['theme_prefix']}</label>
<select name="settingNewSkin" id='newSkin'>{$footer_items['skin_chooser']}</select>
</li>
</ul>
</div>
<input type='hidden' name='k' value='{$this->member->form_hash}' />
<input type='submit' value='Change Theme' class='input_button' id='newSkinSubmit' />
</form>
</if>

#535395

I am not seeing this code in the global template, am I crazy?

look and feel>Editing Set: Aqua-Soft Mobile>globaltemplate>globaltemplate ???

#535408

Yep, it should be there. Its towards the bottom.

If you still don't see it, just add this where ever you want the menu.

                <if test="skinchanger:|:$this->settings['allow_skins'] AND $footer_items['skin_chooser']">
<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>
<div class="box">
<ul>
<li class="input arrow">
<label class="label" for='newSkin' class='hide'>{$this->lang->words['theme_prefix']}</label>
<select name="settingNewSkin" id='newSkin'>{$footer_items['skin_chooser']}</select>
</li>
</ul>
</div>
<input type='hidden' name='k' value='{$this->member->form_hash}' />
<input type='submit' value='Change Theme' class='input_button' id='newSkinSubmit' />
</form>
</if>

#535415

Beautiful. Thank you very much. Wonderful skin.

#535416