Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Custom Icons in the Nav Menu

Hi Bal,

Did you get to work like you need? Or you need further help?

Regards

bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Custom Icons in the Nav Menu

Hi Yurri,
It doesn't work on my side, i have used the same snippet as maryna

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Custom Icons in the Nav Menu

Hello!

Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and let us know it's name.

Miguel Navarro
Posts: 0
Joined: Thu Dec 11, 2014 11:49 pm

Custom Icons in the Nav Menu

Using jquery mobile icons I can do something like:

code
<div data-role="header" data-position="fixed" data-add-back-btn="false" data-back-btn-text="Back"
data-theme="b" name="mobileheader" id="Inspections_mobileheader" class="Inspections_mobileheader">
<a href="" data-icon="bars">&nbsp;</a>
<h1 dsid="mobileheader">
Inspections
</h1>
<a href="" data-icon="carat-d" data-theme="b">&nbsp;</a>
<>
/code

to get the icons I want to appear on the header.

How can I do this without breaking the Visual Editor? Seems like visual editor should be designed so that you can easily add these as this is standard on how most apps work.

Miguel Navarro
Posts: 0
Joined: Thu Dec 11, 2014 11:49 pm

Custom Icons in the Nav Menu

So I figured something out, no thanks to support here. I used jquery to preappend and append html to the onload event and created custom javascript to open and close panels created in the builder UI:

code
$("#Inspection_mobileheader")&#46;prepend("<a href='javascript:openNav();' data-theme='b' data-icon='bars' class='ui-icon-bars ui-btn ui-btn-icon-notext' style='position: absolute !important; left: 5px !important; top:2px !important; border: 0;'></a>");
$("#Inspection_mobileheader")&#46;append("<a href='javascript:openRightNav();' data-theme='b' data-icon='arrow-d' class='ui-icon-arrow-d ui-btn ui-btn-icon-notext' style='position: absolute !important; right: 3px !important; top:2px !important; border: 0;'></a>");

/code

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Custom Icons in the Nav Menu

Hi Miguel,

Thanks for this update.

Glad it works.

Regards.

MD_Apps
Posts: 0
Joined: Tue Feb 09, 2016 3:16 am

Custom Icons in the Nav Menu

This may be related, but please let me know if the info is elsewhere?

What is the process for enabling/using icons which were uploaded via themes?

These do not show up in the visual editor.
Q: What is the best practice for making use of these?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Custom Icons in the Nav Menu

Hello,

Please look at this documentation page: https://devcenter.appery.io/documenta...

MD_Apps
Posts: 0
Joined: Tue Feb 09, 2016 3:16 am

Custom Icons in the Nav Menu

and I forgot to mention, that the method described in the documentation, does not work. I already tried that.

MD_Apps
Posts: 0
Joined: Tue Feb 09, 2016 3:16 am

Custom Icons in the Nav Menu

Any update on the custom icons?
I followed the recipe in the doc, but the icons do not show up in visual editor - therefore are not accessible for placement using the VE.

Return to “Issues”