Jump to content

Slate Mobile Design with IP.Content


Recommended Posts

Posted

I've run into a problem in the mobile default skin for IPB where my site runs off IP.Content as the homepage/default. The problem is that there isn't any forum link in the Navigation Grid.

Does the Slate skin support a Forum, Store and Content (Homepage) link in the Navigation Grid?

Posted

The slate skin is based on the default mobile skin for IPB. If the default skin doesn't support it, Slate won't either. :unsure:

The latest version of Slate has a Store link, but apparently it shows for people even if they haven't got Nexus installed so I'll need to look into that. I'll update it in a few days and will try to add some basic support for IP.Content, but can't promise anything..

Posted

Cool. The issue I had was somewhat resolved by IPB support (and has also been raised as a bug to fix in the future), so I shouldn't have any problem with the skin.

This is the solution so it might be something to look at yourself:

ACP > Look & Feel > IP.Board Mobile > Global Templates > globalTemplate

Find;

<if test="hasMemberList:|:$header_items['applications']['members']['app_show']">
  <li id='nav_members'><a href='{parse url="{$header_items['applications']['members']['app_link']}" seotitle="{$header_items['applications']['members']['app_seotitle']}" template="{$header_items['applications']['members']['app_template']}" base="{$header_items['applications']['members']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('members') )"}'><span class='icon'></span>{IPSLib::getAppTitle('members')}</a></li>
 </if>

Replace with;

 <if test="hasMemberList:|:$header_items['applications']['members']['app_show']">
  <li id='nav_members'><a href='{parse url="{$header_items['applications']['members']['app_link']}" seotitle="{$header_items['applications']['members']['app_seotitle']}" template="{$header_items['applications']['members']['app_template']}" base="{$header_items['applications']['members']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('members') )"}'><span class='icon'></span>{IPSLib::getAppTitle('members')}</a></li>
 </if>
 <if test="hasForums:|:$header_items['applications']['forums']['app_show']">
  <li id='nav_forums'><a href='{parse url="{$header_items['applications']['forums']['app_link']}" seotitle="{$header_items['applications']['forums']['app_seotitle']}" template="{$header_items['applications']['forums']['app_template']}" base="{$header_items['applications']['forums']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('forums') )"}'><span class='icon'></span>{IPSLib::getAppTitle('forums')}</a></li>
 </if>

That adds a forum link in the navigation box thing.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...