YAFLogo

coral
  • coral
  • 72% (Friendly)
  • YAF Lover Topic Starter
11 years ago
Can we override controls like the way we override pages in mobile theme?
Sponsor
coral
  • coral
  • 72% (Friendly)
  • YAF Lover Topic Starter
11 years ago

I found the answer. yes, we can.

coral
  • coral
  • 72% (Friendly)
  • YAF Lover Topic Starter
11 years ago
I tried overriding a custome usercontrol in mobiletheme xml file but it didn't work.

<page name="PAGE_OVERRIDE">
<Resource tag="MY_CUSTOME_CONTROL">~/MobilePages/my_custome_control.ascx</Resource>-->

Does it only work for YAF controls? or am I missing something?

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
11 years ago
YAF will be bootstrap in version 3.0 if I understand accurately and then you won't even need a mobile theme. That surely isn't helping you with your current issue, but right now, that's the best I got for ya. 🙂

I'm not sure about overriding it, but I have it disabled on my site cuz I didn't wanna mess with trying to setup two themes to do the same thing.

btw, bootstrap is responsive design layout if you hadn't already heard about it. It's pretty awesome.