tag:support.baseworks.nl,2011-05-09:/discussions/mobile/115-prefixing-segment_1Baseworks: Discussion 2016-08-11T08:53:23Ztag:support.baseworks.nl,2011-05-09:Comment/266349872013-04-30T15:16:12Z2013-04-30T15:16:13Zprefixing {segment_1}<div><p>I'm new to EE - working on a site developed by a contractor. and
have the mobile templates working except for two that have custom
filtering/search functions. Was wondering if it's because of this:
"{segment_1} will also be prefixed with mobile__ in the mobile
templates."</p>
<p>Do I prefix mobile to only segment_1 and do I prefix it within
the curly braces or outside - mobile__{segment_1} or
{mobile__segment_1} in the following code sample?</p>
<p>Filter by Department View all Staff {exp:channel:categories
channel="directory" disable="category_fields" style="linear"
show_empty="no"} {if parent_id == '0'}{category_name}{/if} {if
parent_id != '0'} → {category_name}{/if}
{/exp:channel:categories}</p>
<p>Thanks for your help.</p></div>EENewbie