520 comments found.
Please How can I change the colours without LESS. Thank you
Hej,
I have a problem with “Bootstrap WYSIHMTL5”. Every time when i click “Normal Text” button[changing the style of the text] or “Black”[changing the color] i get redirected to the homepage. This error is recorded in all browsers Firefox [ v35.0 ], Chrome [ v40.0 ] and Safari [ v8.0.2 ] all on Mac X Yosemite.
NOTE: this error is reported using the angular theme not the simple .html Link: http://themes.laborator.co/xenon/angular/#/app/forms-wysiwyg
We’ve bought your theme, and it looks good. However, I want to change the colors of a lot of different stuff, but cannot for the life of me find out where certain things are being styled. For example, I changed the sidebar to be white with custom css, but would like to find out what is responsible for the menu items being grey, and white when active and on hover (since this makes them invisible with a white sidebar).
This, and in general where the different elements that are used get styled would be lovely to know. Thanks in advance!
Hello, I like your theme very much, but i need to know before I buy it, if the theme work like an Intranet webpage, with tasks, or team management and if I can to add security policy to every user, to set up his rights ? Best regards
Hello again! Please can you provide me fix for sticky footer (I wrote about this bug early) before the next update will be released? And can you invite me on Bitbucket to see changelog? My account there is the same, akasangre.
Thanks in advance
Ok, thanks. And one more question: I found custom event “xenon.resize”, which is used in some parts of javascript files. But I can’t find this event declaration, can you describe, what is this? I telling about plain html version of theme.
Hi
This event is initialized here:
~/assets/js/resizeable.js
The difference between $(window).on('resize') and $(window).on('xenon.resize'); is that when the window resize drag is finished it is called once, while the first one it will be called each pixel when the window size is changed. So this will take less memory, and here in this function you can use pre defined true/false functions such:
// Large Screen Specific Script
if(is('largescreen'))
{
}
// Tablet or larger screen
if(ismdxl())
{
}
// Tablet Screen Specific Script
if(is('tabletscreen'))
{
}
// Tablet device screen
if(is('tabletscreen'))
{
}
// Tablet Screen Specific Script
if(isxs())
{
}
Hello,
My website work on Mozilla Firefox, Androids and Windows Phone.
But when I try to go on my website with Google Chrome the page keep loading, look: http://prntscr.com/5xr6um
The only warning in the console that I get is this: “Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check http://xhr.spec.whatwg.org/."
Can you help me
?
Thank’s you.
It’s actually working on other browser.
I let you try by yourself: http://37.187.88.134/newtheme/angular/#/login
I found the problem is because I was using $.ajaxSetup({async:false}); do you know any alternative of that ?
Because I want to assign a value to a variable that have been declared outside the callback done() of $.post query
Hello, thank’s for the answer.
Let me link you to my stackoverflow question where I give some example of my code etc.. And I give a better explain of my problem.
( You can answer here if you have some idea )
Google Maps not working. When I select the Google maps or Advanced from the menu there is a JS error in ocLazyLoad.min.js
The vector maps work ok – what am I doing wrong?
Hi g6gang
To load google map in angular differs slightly so here is an example:
// 3 - is the version of google maps
loadGoogleMaps( 3 ).done(function()
{
var mapOptions = {
zoom: 8,
center: new google.maps.LatLng(-34.397, 150.644)
};
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
});
This way you can initialize google maps.
Thanks for always your quick replies – I know I have been asking a lot lately, but
Why doesn’t the sample page you included with your template work? app/tplls/extra/maps-google.html
it seems to have the same code you replied with, but the page does not load – JS error. On the themeforest site, the page loads, but running the downloaded template on my local server does not – Do I need to supply google api keys somewhere
Hi g6gang
I now realized that in this page the resource library for google maps is not found, see the error: http://cl.ly/ZWGp
So in app.js replace this URL
// line 836
'googleMapsLoader': appHelper.assetPath('app/js/angular-google-maps/load-google-maps.js');
// replace with your url:
'googleMapsLoader': 'http://full-url.to/app/js/angular-google-maps/load-google-maps.js'
This way when the resource library is loaded then you will not have any issue importing google maps.
Looks like you have to do more then that. I am not clear what the URL you provided, but I am planning on just attempting to follow the instructions here:
http://angular-ui.github.io/angular-google-maps/#!/useIs there a way to set minimum and maximum on Spinner (in Advanced Form) ?
Hi inmyth
Sure you can do this:
<div class="input-group spinner" data-step="2" data-min="5" data-max="15">
<span class="input-group-btn">
<button class="btn btn-gray" data-type="decrement">-</button>
</span>
<input type="text" class="form-control text-center" readonly="1" value="7" />
<span class="input-group-btn">
<button class="btn btn-gray" data-type="increment">+</button>
</span>
</div>
Note that data-min and data-max set the boundaries of maximum or minimum input number.
I tried only data-min because I just need bottom limit. It didn’t work. But it looks both data-min and data-max have to be set so I am using data-max=”9999999” to make it work.
I using one of your modals and trying to attach an ng-click to a button but the ng-click does not seem to be recognized.
Also how to get information back from modal? Can you share more info where modal support is coming from? I am looking at other modal plugin’s like https://github.com/m-e-conroy/angular-dialog-service
So it looks like modals comes from angulr-UI directives: http://angular-ui.github.io/bootstrap/ – you may want to put some more info like this on your modals documentation page. I wasted lots of time trying to see where this is coming from. From the link above I was able to see how this actually works.
Hi
The modals I have implemented in Xenon Angular is derived from Bootstrap UI from Angular $modal
Here is an example how they work:
$rootScope.currentModal = $modal.open({
templateUrl: 'modal-example',
backdrop: true
});
<script type="text/ng-template" id="modal-example">
<div class="modal-header">
<button type="button" class="close" ng-click="currentModal.close();" aria-hidden="true">×</button>
<h4 class="modal-title">Custo Modal</h4>
</div>
<div class="modal-body">
Hello world
</div>
<div class="modal-footer">
<button type="button" class="btn btn-white" ng-click="currentModal.close();">Close</button>
<button type="button" class="btn btn-info" ng-click="currentModal.dismiss();">Save changes</button>
</div>
</script>
I hope you will be able to understand and get it to work for you.
Hello, Just wondering Is that possible, remove events on calendar site? all I see is add new events. Also if I want to make same event with same color (like copy and paste with every week), what should I do?( If there is those function or etc)
Hi
If you want to remove events from the calendar, just open: extra-calendar.html and go to line 1222, remove lines from 1223-1276.
To add events
var eventObject = {
title: "Event title",
start: "2015-01-24",
className: 'event-color-red'
};
$('#calendar').fullCalendar('renderEvent', eventObject, true);
For the available colors here is the list:
event-color-primary event-color-success event-color-danger event-color-warning event-color-info event-color-red event-color-blue event-color-purple event-color-gray event-color-black
so there is no function to remove on site? right?only it can add and when u wanna remove u have to remove lines from source code.
and it can add events(with same color and same name) only on source code to copy and paste and make other new event
Sure you can remove events in programmatical way, this describes how to do it:
http://fullcalendar.io/docs/event_data/removeEvents/For full handling of this this plugin I suggest you to refer to the Full Calendar documentation for custom advanced operations with calendar:
http://fullcalendar.io/docs/When I’ve implemented the calendar, I only styled it, and learned how to add new event, and how to initialize it.
Hello,
I tried to ng-bind-html a value, but my value don’t show up ( i’m using the angularjs version )
Can you help me ?
Hi aomtte
I’ve also had issues with this, so after importing Strict Contextual Escaping ($sce) I managed to solve this:
// Direct Example:
$scope.htmlField = $sce.trustAsHtml("my custom html here");
// More detailed
var ngBindHtmlDirective = ['$sce', function($sce) {
return function(scope, element, attr) {
$scope.htmlField = $sce.trustAsHtml("my custom html here");
};
}];
I hope this will help you.
Hello Arlind,
Thank’s for the support, it’s working !
Hi,
I am trying to set ‘data-to’ value for ‘xe-counter’ from a controller but it is not working. The value becomes ’—’. Is there any solution for this issue ?
Thanks,
There is a css bug, tocify in chrome, left menu goes behind text.
And in gallery, last draggable item is impossible to move.
xecounter angulra directive does not work when it is bound to a data-model and the model is loaded from a Factory (using .success). My data comes from a web server and the data-to I have bound to a ng-model – but it will only show ’—’. How can I change the directive to adapt when the data-to model changes or is delayed
in my partial:
<div class=" xe-progress-counter xe-progress-counter-info" xe-counter="" data-count=".num" data-from="0" data-to="{{myobj.issued}}" data-suffix="" data-duration="4">
<div class="xe-background">
<i class="linecons-user" />
</div>
<div class="xe-upper">
<div class="xe-icon">
<i class="linecons-user" />
</div>
<div class="xe-label">
<span>Issued</span>
<strong class="num">0</strong>
</div>
</div>
My controller:
<pre>
MyFactory.getAll(true).success(function(data){
$scope.myobj=data.results;
});
</pre></div>
Hi
If you are getting these data via AJAX then use compile to display the directive properly, here is an example of use:
/**
* A weird directive that takes a space-seprated list of property names,
* and prints them out as JSON.
*/
app.controller('SomeCtrl', ['$compile', function($compile) {
// use the $compile(htmlData); to apply the directive rules
}]);
Hi, I started using the Xenon today. Just open in browser angular versions and this error is showing in console:
Error: [$compile:tplrt] http://errors.angularjs.org/1.2.26/$compile/tplrt?p0=sidebarProfile&p1=app%2Ftpls%2Flayout%2Fsidebar-profile.html
I didnt change nothing just I download files in themeforest.net and run.
I searched here in comments for “[$compile:tplrt]” and another 4 users has the same error.
Could you please let me know if you have any solution?
Hi
These errors are common Angular errors, so these are the possible reasons why you get this error:
1. You are opening directly (not loading from Web server) 2. File permissions
If the first issue you should install Xamp of any local webserver or upload the files in ftp then access the url.
If the second, then this thread will help you:
Ok I figured it out – When I unzipped the package it made many files Read only. So I had to change all permissions chmod -R +a “Everyone allow read” /path/to/package
Actually, this options are not the reason. I serve pages with python -m SimpleHTTPServer, and permissions on files are ok.
Can I access files on bitbucket? Maybe files on themeforest are wrong.
Change angular.min.js to angular.js I saw more details:
Error: [$compile:tplrt] Template for directive ‘sidebarProfile’ must have exactly one root element. app/tpls/layout/sidebar-profile.html http://errors.angularjs.org/1.2.26/$compile/tplrt?p0=sidebarProfile&p1=app%2Ftpls%2Flayout%2Fsidebar-profile.html at VALIDITY_STATE_PROPERTY (angular.js:78)Of course this just happens in angular version, html its ok.
Please my bitbucket user is “naue”
Hi, my access was removed. And I found the solution, is just REMOVE blank line and comment at the beginning of file “sidebar-profile.html”.
I just downloaded and tried running the index.html file in the angular folder (withn Apache on my Mac using Chrome and got the following error:
Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.26/$injector/modulerr?p0=xenon-app&p1=Error…20(http%3A%2F%2Flocalhost%2Fapp%2Fjs%2Fangular%2Fangular.min.js%3A18%3A170)
The page never loads. What am I doing wrong?
Ok I figured it out – When I unzipped the package it made many files Read only. So I had to change all permissions
chmod -R +a “Everyone allow read” /path/to/package
I was unable to locate an answer in the comments so I apologize if you’ve already answered this, but when do you expect to have the next release?
When will the new theme be released? Admin theme? Leveraging similar chart components as Xenon? Exciting.
Hi,
i just bought the Theme and i wanna know is there is any free Chart plugin that is compatible with the theme? since it doesnt come with the one in the demo…
Thanks
Hi,
I am trying to write an event on selection change of your styled Checkbox. But the event is not getting fired. Please help.
<input ng-model="Confirmed" ng-change="loadEmployees(this)" type="checkbox" class="cbr pull-left" />
Thanks
Hi vsrm
I am not sure why this is not working, after viewing this article: https://docs.angularjs.org/api/ng/directive/ngChangeYou are doing the right steps. Just make sure you have assigned loadEmployees function to $scope.loadEmployees in controller.
dragStop: function(e) {
//alert(this);
var myIndex = $(this).index();
alert(myIndex);
//var param =$(ui.dragStop).attr("id");
var id = $(this).attr("id");
alert(id);
if(myIndex==-1){
angular.element('#HomeCtrl').scope().showChart1(2);
angular.element('#HomeCtrl').scope().$apply();
// alert('success');
}
//$(this).text('I am #' + myIndex);
// fix for zepto.js
//this.placeEl.replaceWith(this.dragEl.children(this.options.itemNodeName + ':first').detach());
var el = this.dragEl.children(this.options.itemNodeName).first();
el[0].parentNode.removeChild(el[0]);
this.placeEl.replaceWith(el);
this.dragEl.remove();
if (this.tmpDragOnSiblings[0]!=el[0].previousSibling || this.tmpDragOnSiblings[0]!=el[0].previousSibling) {
this.element.trigger('nestable-change',[el, this.hasNewRoot ? "added":"moved"]);
if (this.hasNewRoot) {
this.dragRootEl.trigger('nestable-change', [el, "removed"]);
}
}
this.reset();
html.removeClass(this.options.movingClass);
}
