Discussion on Xenon - Bootstrap Admin Theme with AngularJS

Discussion on Xenon - Bootstrap Admin Theme with AngularJS

Cart 3,090 sales
Well Documented

Laborator supports this item

Supported

This author's response time can be up to 1 business day.

520 comments found.

I am trying to use jquery UI’s autocomplete with this and it’s not working for me – the functionality is missing. I have also tried using typeahead but I cannot get it to connect to my AJAX source :(

Hi cartertech

In order to setup Autosuggestion field using Typeahead use this form:

1. Firstly include Typehead bundle source:

<script src="assets/js/typeahead.bundle.js"></script>

2. Create the input field, like for example:

<div class="form-group">
    <label class="col-sm-3 control-label" for="username">Remote data suggestion</label>

    <div class="col-sm-9">
        <input type="text" class="form-control" name="username" id="username" placeholder="Type something" />
    </div>
</div>

3. Initialize the script:

<script type="text/javascript">
    jQuery(document).ready(function($)
    {    
        var suggestions = new Bloodhound({
            datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
            queryTokenizer: Bloodhound.tokenizers.whitespace,

            // You can prefetch suggestions
            // prefetch: 'data/typeahead-generate.php',

            // Or in realtime fetch suggestions
            remote: 'http://sourcedomain.com/data/typeahead-generate.php?q=%QUERY'
        });

        suggestions.initialize();

        $('#username').typeahead({
            hint: true,
            highlight: true
        }, {
            name: 'suggestions-data',
            displayKey: 'value',
            source: suggestions.ttAdapter()
        });
    });
</script>

This should work for you.


Best regards,
Arlind

Hello – I like this theme & intend to buy. However, I’m looking at migrating the current charting project over to this theme. The current charting is fully amcharts charting. Does this support amcharts?

Hi there,

We have not included amCharts in this theme.

Kind Regards,
Art

Hi, Unable to find past dates disabled, is there any possibility? but how?

Hi there, can you please post with the account you bought the theme, this way we can verify that you’re a real customer as we do not offer support to users who doesn’t have “Purchased” badge.

Kind Regards,
Art

Thanks for the amazing admin templates, its worth every money!!! Please confirm that datepicker works on modal!!! I have tried it severally BUT its not coming up on modal…I’d appreciate a response

Hi nextlayers

Thank you so much for these compliments, we are really happy about it!

In order to setup datepicker in the modal you need to initialize when the modal is shown. JQuery date picker cannot be executed when the div layer containing date picker element when its not visible, in your case its inside a modal so here is an example to help you figure it out:

function openThatModal() {
  jQuery('#myModal').on('shown.bs.modal', function () {
    jQuery('#myDatePickerElement').datepicker();
  });
}

This should work for you.


Best regards,
Arlind

Your Angular pages are using jQuery. Using two frameworks together is a very bad idea. Login page for Angular still uses $.ajax as login instead of angular factory or service.

Hi mobilelive_product

By the time I have developed Xenon, I was learning Angular and didn’t know about the best practices what to use and what not, so I have combined these two libraries which has worked fine.

Currently we have no plans of upgrading Angular version of Xenon, I am sorry about that.


Best regards,
Arlind

Hi, I am trying to use dataTables for dynamic data using angular. After the table is updated I still get the following result: Showing 1 to 1 of 1 entries

instead of

Showing 1 to 5 of 5 entries

Let me know if there is a way to get these values reflected in the dataTable.

Hi kkshetty88

After you update the table don’t forget to call draw() method of the table, here is an example:

var table = $('#example').DataTable();

$('#myFilter').on( 'keyup', function () {
    table
        .search( this.value )
        .draw();
} );


Best regards,
Arlind

Hi !

i bought xenon last year and it doesn’t work (widget, dashboard, login) on safari 9.I saw that you made an update that work. Which file do i need to update to make it work ?

Thanks !

Hi samuel2623

In order to make it work on Safari, please download these files:

http://drops.laborator.co/1ffCM+

And replace them in assets/css/

It will fix the issue with Safari 9.


Best regards,
Arlind

How to get modanals with dark background ?

Hi fourat

I mean, what color of backdrop do you want to apply and the opacity level you want to set so I can give you the proper code to you.


Best regards,
Arlind

Hi ! let’s say Black 50% opacity

Hi fourat

In the current version of Xenon its currently 50%:

(view large version)

Se in 75% opacity:

(view large version)

Then apply different background:

(view large version)


Best regards,
Arlind

I see the same error referenced above by u/myvillage. This is with out-of-the-box code.

Hi

Please open app/js/directives.js on line 51 set the value false:

(view large version)


Best regards,
Arlind

Why not open sourcing the template so that others can upgrade the Angular version if your are not having the time to do so?

Hi there,

If we would do this then the we should remove the theme from ThemeForest as it is not allowed to have any other source where you can get the theme and that would set the theme for free.

Kind Regards,
Art

Would there be an easy way to add an ‘x’ to tab-pane which can be used to remove the tab? Any suggestions on how I could achieve that ?

Hi there

Unfortunately that’s not possible.

Kind Regards,
Art

Hi, I’ve seen an answer from you talking about upgrading angular version 4 months ago. Has there been any progress? The template I’ve just downloaded has version 1.2, which is already considered ‘legacy’. I don’t think it’s appropiate to say this template has angular support if it brings such old version.

Hi there,

Currently we’re not planning any new update for the Angular or HTML version.

Kind Regards,
Art

Hi again guys!

Is it possible for the top nav and title bar to fill 100% of the screen width, when content causes horizontal scroll bars?

eg: go to this page, http://themes.laborator.co/xenon/forms/native/ and add the following style (to force wide content)

.col-sm-12 .panel { width: 2000px; }

and scroll to the right. You will see the top bars end abruptly.

Cheers.

Hi

Adding this CSS will fix your problem entirely, sorry I didn’t noticed the scrolling bug:

.sidebar-menu {
  z-index: 100;
}

.sidebar-menu .sidebar-menu-inner {
  background: #2c2e2f;
}

Replace that background color with your current sidebar background color (if you are using different color of the sidebar rather than default one).

Best regards

Arlind

Cheers Arlind, that did the trick!

Hi tystol,

Glad to hear that :)

Kind Regards,
—Ylli

In the top menu you can click on any option.

http://scr.hu/8p1i/g7t5w

Google Chrome

Hi prezespako,

Can you please try to be very specific about the question and explain it more to us, in this way we can easily understand you and give you the proper answer :)

Kind Regards,
—Ylli

Sad to hear you are not doing another update. This was/is one of the best themes to come from the environment.

Hi jcholtsf,

We will update Xenon, but not very frequently :)

Kind Regards,
—Ylli

Hello, We really like your theme. Only thing keeping us to purchase is old libraries used in here.

Are you guys, planning to release a newer version? If yes, can you share the expected date of release? AY

Thanks,

Hi there,

We are not planning any new update for this theme.

Kind Regards,
Art

Hi folks, I love Your AngularJS template, it’s great work! Is there a preferred way to create sub menu items dynamically, e.g. based on an AJAX call ? Thanks in advance Peter

Hi

Thank you so much for your kind comments, I am glad that you like Xenon. The menu can be setup only on Angular Initialization, on this file:

app/js/services.js

However adding/removing/editing items of the menu later after that, its not supported.

You may try to implement a function like that because actually that is not implemented, I am sorry.

Best regards

Arlind

hi,

Is the DevExpress / DevExtreme charts license included when buying the theme?

Thanks in advance :-)

Hi hjelmdal,

DevExpress charts don’t come with license included.

Thanks for your interest :)

Kind Regards,
—Ylli

Okay, but why do you include them in your showcase then if I can not use them when buying the theme?

Hi there,

That’s an optional choice, if you want to use them you can purchase a license from them, at least you have one month free trial to test them out and many of the users don’t want to use charts but just the theme features.

Also they are removed from the showcase in our item page, it doesn’t state anywhere that the charts come for free.

Kind Regards,
Art

Hello Support, i have bought the xenon theme yesterday. congrat – its great.

Bug: When i click on “Data Table”, there is sometimes an angular error: “document.getElemetById(...) is null”.

This Error can be reproduced within themforest demo.

Browser used: Firefox 43

Hi jojanosch

Thank you so much for your kind words! We really appreciate them.

As for the error you are receiving I think its related to the out-dated version. Have you tried to use the latest version of Data Table and see if that works?

When we release new version of Xenon we are going to update all libraries used in there.

Arlind

Hi All,

I’m a new customer and just trying to run this theme, but getting an error in browser console. I’m run the theme on the web server, and access it from server side. Can you please point me to the solution or an upgrade? since I’ve got theme packaged with very old Angular version – 1.2.6, now stable version is 1.4.9…

Any suggestions?

Thanks!

Error: [$compile:tplrt] http://errors.angularjs.org/1.2.26/$compile/tplrt?p0=sidebarProfile&p1=app%2Ftpls%2Flayout%2Fsidebar-profile.html
    at Error (native)
    at http://localhost/reviq/app/js/angular/angular.min.js:6:450
    at http://localhost/reviq/app/js/angular/angular.min.js:60:173
    at http://localhost/reviq/app/js/angular/angular.min.js:72:199
    at F (http://localhost/reviq/app/js/angular/angular.min.js:100:187)
    at F (http://localhost/reviq/app/js/angular/angular.min.js:100:187)
    at http://localhost/reviq/app/js/angular/angular.min.js:101:350
    at k.$eval (http://localhost/reviq/app/js/angular/angular.min.js:112:68)
    at k.$digest (http://localhost/reviq/app/js/angular/angular.min.js:109:168)
    at k.$apply (http://localhost/reviq/app/js/angular/angular.min.js:112:398)

Hi mikich

I was thinking you are opening index file directly but you are doing it the right way.

Actually we haven’t updated the Xenon with latest Angluar version and thus if you apply the latest version it might cause these issues.

Does it works when you open the original files without changing any script?

Best regards

Arlind

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey