520 comments found.
With your help, I was able to change the layout by changing 1.app-body.html 2.controllers.js
I would like to also remove the horizontal left menu items – email, notifications, language and the chat on the right.
Hi again
I am glad that it worked for you.
To your second question:
In this file you have contents of User info navbar:
xenon-angular/app/tpls/layout/user-info-navbar.html
There you remove markup. I’ve also removed it for you, and if you want it copy here: http://cl.ly/ZCNM
It has all elements requested by you removed.
Cheers
I copied the code directly from : xenon\xenon-files\angular
When I execute index.html it works, but the console shows the following errors.
“Error: [$compile:tplrt] http://errors.angularjs.org/1.2.26/$compile/tplrt?p0=sidebarProfile&p1=app%2Ftpls%2Flayout%2Fsidebar-profile.html C/<@http://localhost/zla/app/js/angular/angular.min.js:6:450 ue/<@http://localhost/zla/app/js/angular/angular.min.js:60:173 q/g.success/<@http://localhost/zla/app/js/angular/angular.min.js:72:199 Ae/e/l.promise.then/F@http://localhost/zla/app/js/angular/angular.min.js:100:178 Ae/e/l.promise.then/F@http://localhost/zla/app/js/angular/angular.min.js:100:178 Ae/f/<.then/<@http://localhost/zla/app/js/angular/angular.min.js:101:350 Zd/this.$get</k.prototype.$eval@http://localhost/zla/app/js/angular/angular.min.js:112:64 Zd/this.$get</k.prototype.$digest@http://localhost/zla/app/js/angular/angular.min.js:109:160 Zd/this.$get</k.prototype.$apply@http://localhost/zla/app/js/angular/angular.min.js:112:396 h@http://localhost/zla/app/js/angular/angular.min.js:72:452 u@http://localhost/zla/app/js/angular/angular.min.js:77:463 ye/</z.onreadystatechange@http://localhost/zla/app/js/angular/angular.min.js:79:24 “
Hi Steve
From these errors I am unable to understand the errors where they come from.
You must use a testing tool for AngularJS -> Protractor which tests your app. Also note that you need to execute the index.html in web server, not directly open that file in chrome/firefox/or any other browser.
It looks like any image loaded to will distort the box. Is there any way to stretch or center the image to fit the box ?
Having some difficulty with AngularJS version (I am a newbie,,,).
1. Can’t get Timeline to work. Suspect I need to configure something as I did with devExpress
2. I want to create an app with a login etc. I want to start with the minimum configuration and add to it.
3. How do you eliminate the chat at the footer? Thanks
Hi SteveZL
Sure, here the answers to your questions:
1. If you are talking about this timeline: http://themes.laborator.co/xenon/angular/#/app/extra-timeline it has nothing related to DevExpress, you can add elements to the page it doesn’t need JavaScript to add elements here.
2. Everything starts in xenon-files/angular/index.html so there are these main files
xenon-files/angular/app/js/app.js
xenon-files/angular/app/js/controllers.js
xenon-files/angular/app/js/directives.js
xenon-files/angular/app/js/factory.js
In app.js you have defined the routes, so then you can remove them if you want.
In factory.js you have menu elements.
In controllers.js is main logic of controllers.
3. To eliminate the chat footer open: ~/xenon-files/angular/app/tpls/layout/app-body.html
Remove this markup:
<footer-chat></footer-chat>
Hopefully these answers will help you to get started with.
What is the best way of using your AngularJS implementation without worrying about new updates.
Hi,
I just purchased this theme. It contains HTML files only. No PHP files, no PSD’s as mentioned “ThemeForest Files Included Layered PSD, PHP Files, HTML Files, CSS Files, JS Files, PSD”
Can you please look into what is the problem. The download I got is some 20MB.
Thanks.
I can find them now 
Glad to hear that 
Hi,
I am trying to use the daterange datepicker with span (Date Range w/ Predefined Ranges). I need to capture the date change event in AngularJS. Let me know if there is a way.
Thanks
Hi vsrm
If you need to watch for events, then do not use the daterange directive, instead use direct instance implementation:
var $el = $("#range-picker");
$el.daterangepicker({...});
// Events
$el.on('apply.daterangepicker', function(ev){});
To read more about the events you can listed, click here: https://github.com/dangrossman/bootstrap-daterangepicker
Hopefully this will help you.
with the blank-sidebar.html is it possible to have the user-info-navbar stick to the top ?
also is there a predefined class to center images ?
Hi dear SaijoGeroge
Firstly I want to thank you for your generous support. We are really happy about that.
About the sticky user info navbar, we will add this feature in the next update, thanks for your idea. If you want the quickfix how to do that I will send you here the CSS (or LESS) implementation.
About the images, you can use text-center class, because images are treated as inline-block elements so we have general class for inline elements alignment.
Once again many thanks for your support 
no worries Arlind and thanks for your help. The CSS implementation would be awesome.
Also in your opinion what is the best way to future proof the html installation? I am not sure what to expect when the next update us rolled out. Do you offer a changelog which runs through the various changes to each of the files that are included?
Regards
Saijo
Hi Saijo
Sure, here you have the LESS implementation:
http://pastebin.com/E6aqu6D5Just add it to the bottom of this file:
~/xe/assets/less/xenon-less/user-info-navbar.less
Or if you want just the plain CSS:
@media screen and (min-width: 768px) {
.fixed-user-info-navbar .page-container .user-info-navbar {
position: fixed;
left: 340px;
right: 0;
top: 0;
margin: 0;
z-index: 100;
}
.fixed-user-info-navbar .page-container .main-content {
padding-top: 105px;
}
.fixed-user-info-navbar .page-container .sidebar-menu.collapsed ~ .main-content .user-info-navbar {
left: 80px;
}
}
About the changelog, you can view it online in BitBucket.org, just give me your username and I will invite you to see the changes in GitRepository.
Love the theme and all of its components!! But I was wondering if it is possible to have an item in the sidebar with subitems to be clickable (open an URL) instead of just opening the sub items. (and effectively cancelling the rerouting?)
Yes that’s what I mean. And also the other way round. E.G. on http://themes.laborator.co/#theme=xenon clicking on the main item “Dashboard” should resolve in opening an url instead of closing the sub-tree.
Hi
I understand what do you mean. For some reasons we always applied this technique (the current in demo site) so when an item has sub elements it will not be clickable anymore.
If you want to achieve that, then open assets/js/xenon-custom.js
Go to line 1244 and replace sidebar_menu_item_collapse function contents with this one below, and it should do the trick:
function sidebar_menu_item_collapse($li, $sub)
{
if($li.data('is-busy'))
return;
if($li.hasClass('active'))
{
var href = $li.find('> a').attr('href');
window.location.href = href;
return;
}
}
Thank you! Keep up the good works.
You’re welcome!
Using AngularJS version – I wanted to minimize the navbar. This doesnt work unless you have a menu assigned to the nav bar. In my case I use the sidebar for my menu.
Hi SteveZL
If you are talking about horizontal menu open controller.js:
$rootScope.layoutOptions = {
horizontalMenu: {
isVisible : false,
isFixed : true,
minimal : true, // This will do the trick
...
}
}
I am not sure if I understand you properly. If not send me a screenshot of what you want to change.
To minimize update problems, should I create a script and insert it after:
<!- JavaScripts initializations and stuff ->
<script src="app/js/xenon-custom.js"></script>
<script src="app/js/mycustom.js"></script>
here I can set my layout?
Hi Steve
You should focus on app.js and controller.js
If you know how to create angular modules, then create module and call it from app.js, see screenshot: http://cl.ly/ZC7m
So from there you can create controllers and stuff.
I love the theme. Im looking at the AngularJS version because as a programmer I feel more comfortable with objects and variables.
1. I like your feature set and would like to start with a minimum configuration sidebar (w menu) and horizontalMenu for the user login and Titles.
Im having a hard time getting the layout to reflect the changes I make in controller.js. I am following your documentation section 6.3.
2. You have a setup where you show all the themes functionality could you put together a minimum configuration that has the most popular layout and a menu item with a blank page. Then show us how to add features.
Thanks
Answering 1. I had to remove the loading from cookies // $layout.loadOptionsFromCookies(); // remove this line if you don’t want to support cookies that remember layout changes
Thanks, I emailed you.
Thank you so much! I love your product and its support!
Do you have a minimal version of the horizontal-menu.html. I’m deleting alot of code and hope that it wont break anything.
Hi again, Thanks for your earlier support.And the new query is
I am using angular.js version of the theme.Charts in this theme have been done by jquery and it is not in Angular format.Because it doesn’t follow any separate controller for charts to pass json data between controllers and to use data source dynamically.Chart scripts have been written in html page itself. Any update in code?
Hi vembu
We have moved the charts with its default implementation as DevExpress doesn’t provide any AngularJS alternative to implement.
You can assign charts to directives but this is not very flexible, the best way to do is the old way of implementation like in static HTML, there you can change parameters.
You can do only one change that will fit perfectly with AngularJS (as now its not implemented yet). Put the javascript logic executed in charts into MainCtrl controller, or any custom controller you create and then initialize the charts from that controller.
the top editor on the editors page does not work with images. you click the image button, it popups up asking for URL, you put the url in and then it doesn’t insert it into the editor. i have tried in multiple browsers
Hi again, Laborator.
I’ve found that “sticky” footer class works wrong. On pages with fixed top menu there are additional scrolling after the footer (for example, see blank-menu-horizontal-minimal.html on demo). Can you fix this?
Thanks again for great theme!
Sure, I’ll rate your theme. But I can’t find where I might do this, can you forward me?
Bravo ju qofte cuna. Me te vertete ju beni nje pune te jashtezaknoshme. Suksese!
Hello, Can you recommend the best way to customize Xenon (eg panel header height) without future updates from you overwriting the changes that we make?
TIA!
Hi tdalzell
The best way to do this is to compile the less files, here are the steps:
1. Open ~/assets/less/xenon-less/variables.less
2. Edit these variables http://cl.ly/Z4ft (set your height)
3. Compile the LESS files list as described below:
bootstrap.less
xenon.less (compile only if you use)
xenon-core.less
xenon-forms.less
xenon-components.less
With output path to assets/css/ and use any Less compiler.
Whenever is new update, you repeat this process and you will not have any problem.
Hello,
I tried to make a slider, but the slider don’t show up. I have devexpress installed, charts work but not slider.
Screenshot:http://prntscr.com/5jq5b7
I forgot to add the slider resource in the app.js xD
I want to use slider, but if I want to set the values from controller, then the slider cannot be moved anymore.
Eg, testOptionsMin is set in controller with ”$scope.testOptionsMin = 10;” and html with following code:
div class=”slider” data-min=”{{testOptionsMin}}” data-max=”{{testOptionsMax}” data-value=”100”
Then this slider cannot be dragged anymore.
Can you please help to fix?
Hi,
Is there a way, I can reduce the overall Font size and also the element heights (Dropdown, Text Field etc) so that I place more controls in a form page ?
Thanks
Hi vsrm
Sure you can do this, just open assets/less/bs-less/variables.less
Change variable @font-size-base to your preferred font size and compile files:
bootstrap.less xenon.less (compile only if you use) xenon-core.less xenon-forms.less xenon-components.less
With output path to assets/css/ and use any Less compiler.
It will affect the entire font size.