12220 comments found.
Hi,
I’ve used an input for image upload which also has a file upload preview in your previous versions. I don’t see it in the newer version under Form controls. Isn’t it available or is it anywhere else?
Hi
,
It was moved to www.keenthemes.com/preview/metronic/theme/templates/admin/components_form_tools.html
If you need any further assistance please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
$.extend($.inputmask.defaults, {
"autounmask": true
});
$("#id_Input").inputmask("d/m/y", {
"placeholder": "dd/mm/yyyy"
}); //multi-char placeholder
Hi
,
Could you please provide more details ? What was the issue ? What is your device model and browser version ?
Thanks.
Sure, it’s a Samsung S4, browser is the default … I don’t know the name
thanks
Great theme! Please advise if the light box is now available for images in the admin section as i cannot seem to find it?
thanks
Hi
,
Yes, you can check it here:
http://keenthemes.com/preview/metronic/theme/templates/admin/page_portfolio.html For more info please refer to the plugin’s official documentation here: http://fancybox.net/ If you need any further assistance please let us know.To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
I see this template price 27$. It include 3 theme admin and 3 theme frontend ? Because I have a version of this theme but it just have theme admin so i want to confirm before i buy it
Hi
,
If you want to use it for a new project then you will need to purchase a new license. Please note one license(27$) is limited to one end product and client. If you need to use the theme for more products or clients you will need to purchase equivalent number of licenses.
For more info please check themeforest.net/licenses/standard?license=regular
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Hello there!
1. Im trying to use a X-Editable form inside the Draggable Portlet but I don’t know if you can combine both. Same combing with the Google Maps.
2. Can you help me how to translate to spanish the texts: “All, records, Search and Showing _ to _ of _ entries” in the .js file from the table_advanced.html (DataTables)?
3. Can we customize the text “Drop files to upload” to any other language in the drop zone file upload?
Thanks in advanced!
Hi
,
1) Yes, you should be able to use the X-Editable or any other components in Draggable Portlets.
2) Please refer below code to fully translate the datatable to your language(refer to “Internationalisation” comment below):
var initTable1 = function() {
var table = $('#sample_1');
/* Table tools samples: https://www.datatables.net/release-datatables/extras/TableTools/ */
/* Set tabletools buttons and button container */
$.extend(true, $.fn.DataTable.TableTools.classes, {
"container": "btn-group tabletools-dropdown-on-portlet",
"buttons": {
"normal": "btn btn-sm default",
"disabled": "btn btn-sm default disabled"
},
"collection": {
"container": "DTTT_dropdown dropdown-menu tabletools-dropdown-menu"
}
});
var oTable = table.dataTable({
// Internationalisation. For more info refer to http://datatables.net/manual/i18n
"language": {
"aria": {
"sortAscending": ": activate to sort column ascending",
"sortDescending": ": activate to sort column descending"
},
"emptyTable": "No data available in table",
"info": "Showing _START_ to _END_ of _TOTAL_ entries",
"infoEmpty": "No entries found",
"infoFiltered": "(filtered1 from _MAX_ total entries)",
"lengthMenu": "Show _MENU_ entries",
"search": "Search:",
"zeroRecords": "No matching records found"
},
"order": [
[0, 'asc']
],
"lengthMenu": [
[5, 15, 20, -1],
[5, 15, 20, "All"] // change per page values here
],
// set the initial value
"pageLength": 10,
"dom": "<'row' <'col-md-12'T>><'row'<'col-md-6 col-sm-12'l><'col-md-6 col-sm-12'f>r><'table-scrollable't><'row'<'col-md-5 col-sm-12'i><'col-md-7 col-sm-12'p>>", // horizobtal scrollable datatable
// Uncomment below line("dom" parameter) to fix the dropdown overflow issue in the datatable cells. The default datatable layout
// setup uses scrollable div(table-scrollable) with overflow:auto to enable vertical scroll(see: assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js).
// So when dropdowns used the scrollable div should be removed.
//"dom": "<'row' <'col-md-12'T>><'row'<'col-md-6 col-sm-12'l><'col-md-6 col-sm-12'f>r>t<'row'<'col-md-5 col-sm-12'i><'col-md-7 col-sm-12'p>>",
"tableTools": {
"sSwfPath": "../../assets/global/plugins/datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf",
"aButtons": [{
"sExtends": "pdf",
"sButtonText": "PDF"
}, {
"sExtends": "csv",
"sButtonText": "CSV"
}, {
"sExtends": "xls",
"sButtonText": "Excel"
}, {
"sExtends": "print",
"sButtonText": "Print",
"sInfo": 'Please press "CTR+P" to print or "ESC" to quit',
"sMessage": "Generated by DataTables"
}]
}
});
var tableWrapper = $('#sample_1_wrapper'); // datatable creates the table wrapper by adding with id {your_table_jd}_wrapper
tableWrapper.find('.dataTables_length select').select2(); // initialize select2 dropdown
}
3) This is just an image. Please refer to assets/global/plugins/dropzone/images folder and edit the image in your language.
If you need any further assistance please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Thank´s a lot. I will check it out!
After many tries I am asking you.
Hi
,
Can you please deploy your developing site in test server and provide us a link ? We will need to check and inspect your code online in order to advise you further. Any further details can be sent to our support at support@keenthemes.com
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Hi,
I wish to swap the logo with the notifications menu i.e. have logo in the right. I also need this row to have be taller to accommodate the taller logo
I think I have accomplished this – is there a proper/official way?
Lastly, as the notifications are now in the top left, the dropdowns are towards the left. This was fine when they were on the right of the screen but now they are on the left of the screen, I need to dropdowns towards the right
Please advise
Hi
,
This layout option is not officially supported. To implement this you will need to do major changes in the header part. You can use custom.css to override the current layout and have it according to your requirements. You can use Chrome Dev Tools to learn the current css code for the header and override it in custom.css.
If you need any further clarifications please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
All sorted – thank you
Great! Good luck with your project! 
The “one page” template is missing the “contact” section. Please advise?
Awesome template!
Kind Regards William
Hi
,
There is no “Contact” block. Its designed to scroll to the footer part where contact info is displayed.
If you need any further assistance please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Hello!
When you add Redactor?
Thank you!
Hi
,
At the moment we can’t give any clear ETA for this. We will check it further and consider it in a future releases.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Dear Author,
I would like to report a bug in editable table. Add New>Cancel You will can’t edit other lines again. To solve this issue, one line should be added in the following codes of table-editable.js.
table.on('click', '.cancel', function (e) {
e.preventDefault();
if (nNew) {
oTable.fnDeleteRow(nEditing);
nEditing = null;
nNew = false;
} else {
restoreRow(oTable, nEditing);
nEditing = null;
}
Best Wishes, Grant Chen
Hi
,
Thanks for informing this issue. We will check your solution and include it the next update.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks,
Where do you initialize ckeditor? I want to change the toolbar, and i have changed in ckeditor/config.js and is not working.
Thanks,
Hi
,
There is no initialization code for the ckeditor samples. We used the default class “ckeditor” to get the demo editors initialized automatically. You can apply a different class and add your own initialization code refering the ckeditor documentation.
<textarea class=" form-control" name="editor1" rows="6"></textarea>
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Hello! Do you have blank version of admin2 theme without plugins ? Regards.
Hi
,
You can refer to this page http://keenthemes.com/preview/metronic/theme/templates/admin2/layout_blank_page.html with minimum required js and css files. The rest plugins you can remove from “assets/global/plugins/” folder to have a basic theme without all the plugins.
If you need any further assistance please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
OK, not to sound dumb, but this will allow me to have a framework for me to create an app where the user can: purchase the app, use it I can add any pages I want and customize any existing pages you have. Can I customize the fullCalendar?
Hi
,
Metronic is not a fully functional web app. Metronica is just an HTML theme(HTML, JS & CSS) that can be used to develop a custom web applications from scratch. Any special features(adding pages, customizing calendars, etc) are responsibility of buyers since Metronic does not include the server side implementation.
If you need any further clarifications please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Hello,
We just purchased Metronic Admin theme and are integrating it. You guys have done a great job with the template examples. One question – we need to customize the default theme to match our company standard. Do you have any documentation on how to customize the navbar header, links, hover, background color etc? What’s the best way to do this? I see there are Sass files. Can the Sass file be updated?
Thanks.
Hi
,
Thanks for your feedback.
To customiza the theme you can use custom.css file where you can override the styles with your own styles. For more info you can check this video tutorial on getting started with Chrome Dev Tools for CSS: https://www.youtube.com/watch?v=Z3HGJsNLQ1EIf you need deeper customization you can customize the theme through the SASS files included in your purchased package. Metronic Admin theme is based on SASS for easy extending and modification. You can go to _documentation/admin/index.css and refer to the SASS section.
But if you are doing just some slight customization then i would suggest you to use custom.css to override the styles in plain CSS.
If you need any further clarifications please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
You guys rock! Thank you so much. I will check out these resources.
You are welcome! Good luck with your project! 
That video was very helpful. Quick question – the sidebar won’t load in IE 8. We have changed <html en> to include IE8 related class. Any idea what we could be missing?
Hi
,
Did you experience the same issue in our preview site – keenthemes.com/preview/metronic/theme/templates/admin ? Or its only in your developing site ? Please make sure you open the page from a webserver(localhost or hosting) not directly from a file. IE8 can’t display html files properly when they are opened directly from a file.
If you need any further assistance please contact our support via support@keenthemes.com. Please provide more details, like a link to your developing site where you have issue, etc. Also please provide your purchased license info since we did not see “purchased” badge for your username here.
Thanks.
Hello,
I tried customizing by the updating custom.css and followed the same approach you have suggested above. It works well in the desktop viewport. But the custom style disappears in smaller viewports and default style gets applied. Is there an easier way where in I can change in just one place and it will apply to all viewports?
Thanks!
Hi
,
You can customize through the SASS files. You should check the documentation under “_documentation/admin/index.html” to get started with SASS files. Under the sass folder you should refer to “layout” folder to edit the theme’s header, sidebar or footer parts. Once you edit any sass files you will need to compile it and generate the layout’s css files. The SASS file compiling process is explained in the doc. For more info you can check sass-lang.com
Thanks.
Thanks, I found SASS files. Do you recommend updating the default.scss file directly or making a copy of it and then customizing? We want to change just the colors. Everything else like the widths, fonts, layout etc matches our requirement.
Hi
,
I would suggest you copy it and create your own theme(custom.scss) by modifying required code. Then after compilation you can include the generated css file on your page(themes/custom.css).
Thanks.
Hello,
I am back with an IE 9 issue
.. Argghh.. So I added gradient to the fixed top header. It displays fine in Chrome. In IE 9, it displays fine but it messes up the user dropdown. I have one li item “Log out” in user dropdown. Menu displays but the log out icon and the text won’t display. I realized IE 9 does not fully support CSS 3 gradient.
Would you have any hack to make this menu appear correctly?
I have tried overriding this in custom.css, but without success
dropdown-menu li > a:hoover >, dropdown-menu .active > a, dropdown-menu .active > a:hoover
Any help will be much appreciated!
Thanks for your time!
Hi
,
Please check this tool http://www.colorzilla.com/gradient-editor/. It can generate cross browser gradients.
Thanks.
Hello,
I tried colorzilla. Here’s the url to my custom gradient – http://www.colorzilla.com/gradient-editor/#bed4ff+0,eef3ff+100,7db9e8+100;Custom
Added the css generated by Colorzilla to .page-header .navbar in custom.css. I added a gradient class in my HTML according to colorzilla as shown below
<!--[if gte IE 9]>
<style type="text/css">
.gradient {
filter: none;
}
</style>
<![endif]-->
Finally, updated Page header html like this –
<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top gradient">
The issue is that the gradient is appearing fine in Chrome and Firefox. In IE9, it is not supposed to display the gradient but it is displaying. It is not applying filter:none override in the HTML. Don't know what wrong I am doing here. Please help!
Thanks,
Shruthi</div>
Hi
,
Thanks.
Right, IE 9 does not support gradient.
I have used conditional comment to set filter to none. But it is not working. If it is IE 9, then gradient class is defined to set filter to none (as shown in my above comment).
I am setting the gradient property inside of .page-header .navbar in custom.css. Is this the correct class to apply the gradient?
Any suggestions as to where to add the conditional comment?
Hi
,
You can use .ie9 parent class to set IE9 conditional css in custom.css
.ie9 .gradient {
filter: none !important;
}
Thanks.
Thank you so much! Follow-up question – on which element’s class do I apply .ie9 .gradient? I am trying to apply gradient to the top navbar.
Hi
,
We will need a link to your developing site. Otherwise its hard to predict the issue in your dev environment.
Can you please contact our support via support@keenthemes.com ? Also please provide more details for the issue and your purchased license info.
Thanks.
I think I fixed it. Thank you though for your prompt replies
I am trying to apply a bootstrap glyphicon on a input button but it won’t display the icon. The button size is really small. here’s partial code. I will try to attach a screenshot.
<div class="row">
<div class="col-md-6">
@Html.Label("", "Filter: ", new { id = "ErrorDateLabel" }) <input type="text" id="ErrorDate" />
<button id="sample_editable_1_new" class="btn btn-default">
<span class=".glyphicon .glyphicon-filter"> </span>
</button>
</div>
</div>
Thanks
I just emailed the screenshot to your email support@keenthemes.com with subject as “Button with Glyphicon issue screenshot”
Thanks
Hi
,
Noted. We will check your email and reply you shortly.
Thanks
Sorry, I got busy with my release and couldn’t get back to you. I was able to resolve it. My bad. i had missed a div tag having class=btn-group. Thanks a lot for your continued support 
Great! Glad to hear that you solved the issue. Good luck with your project! 
Hi,
Its been a long time since I posted a question here
. At work, we were discussing about whether a web site should be completely responsive for any view port or give the users an option to opt out of responsive layout when viewing on their desktop browser.
With the Metronic admin template, is it possible to dynamically turn off responsive layout/behavior if browser requests are from Desktop?
Thanks!
Hi
,
This is not possible. Metronic does not support non=responsive layout mode. I think this is very rare requirement nowadays so we never considered this option.
Thanks.
Thanks.
One of my co-workers had this question – “The request here is not to be non-responsive, instead it is to have the ability to force one type of layout if we deem it desirable”.
Let me know if this is possible. I guess we want to know if we can restrict the viewport to a desktop browser size regardless of the fact if a browser is re sized or not.
For example, when the browser is maximized, we get the full view. If the browser were to be resized to fit size of tablet, the view changes and some elements are hidden. We are trying to see if we can force the browser to still display as it were to be maximized even with when it is re sized to a smaller window.
Thanks.
Hi,
This change might require some major changed in the core layout. As this feature been asked by a few customers we will consider this in a future releases as this change requires longer time than we can allow within our support policy.
To stay updated please follow us on http://twitter.com/keenthemes 
Thanks.
Thanks. Any idea when it might be available?
Another question – so, we have bought the trial version and trying to convince management to go with Metronic templates. But another developer group is proposing Twitter Bootstrap. If you were to convince our execs that Metronic was the way to go, what would you say?
Please provide a few reasons.
Hi
,
Sorry, we can’t tell you even roughly date for this feature. Could you please drop an email our support and we will get back to you asap. I bet you will get enough reason to convince your management since Metronic is already in use by software firms and freelancer developers in small to enterprise projects.
Thanks.
I have sent the email from your Contact page.Please reply as soon as possible as we have a meeting tomorrow and need to make a decision.
One of the arguments the other group is making is that with Bootstrap we can disable responsiveness until we are fully ready to test/support all devices. But Metronic currently does not support disabling responsiveness. Is there any way, I can try to disable it Metronic SASS files?
On disabling responsiveness, Bootstrap’s website says it is possible – http://getbootstrap.com/getting-started/#disable-responsive
As Metronic is built on top of Bootstrap, can you please provide suggestions on doing this?
Thanks, Shruthi
Hi
,
Sorry for the late reply. Noted. I will provide the reply asap.
Thanks.
Can you please provide names of web sites where Metronic templates have been used?
Hi
,
A few of them are here: http://keenthemes.com/showcast/ And we have over 29000 purchases which means Metronic powers tens of thousands of sites and admin panels.
Thanks.
Hi,
I am working using the template for Managed DataTable in my project. We have installed/hosted Metronic on a Static site. My MVC application is on a different site. When I reference table-managed.js that’s in the Metronic folder, then the datatable works just fine and it displays sample#1_wrapper div tag (that has the dropdown of Select number records)
However, if I copy over the table-managed.js file to my local MVC project and reference this local file, then it does not display sample#1_wrapper div tag and so clicking on the header checkbox does not check all the checkboxes in the other rows.
Any idea why it behaves differently when I reference the js file in metronic folder versus my local project folder? Am I missing any other include/dependent files?
Please help as I have spent a good 3 hrs trying to fix it!
Thanks!!
Hi
,
Please check/debug your site on local using Chromes Dev Tools(CTRL+SHIFT+J) and you will be able to see possible errors under console tab. I suspect required js and css files are not being loaded proper due to improper path.
If you need any further clarifications please let us know.
Thanks.
Thanks… It was a silly one – browser cache issue
. It is resolved now.
Happy to hear that
Good luck with your project! 
i cannot download ?why?
Hi
,
Please refer below topics from the envato help site:
https://help.market.envato.com/hc/en-us/articles/202501014-Where-can-I-download-my-purchase- https://help.market.envato.com/hc/en-us/articles/202821520-What-should-I-do-if-I-m-having-trouble-downloading-a-file- If you need any further assistance please contact the support by creating a ticked using below link: https://help.market.envato.com/hc/en-us/requests/newTo stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Caused by my slow web service ,the download always blocked .Could you just send me a copy of the file?My Email is qt4321@qq.com. thank you very much;
Hi
,
Sorry, we can’t distribute the purchased files outside the marketplace. When you download the purchased item you will get a license key issued so you should solve the connection issue and try to download it from your own account.
Thanks.
but the Item reached download limit(50)before I download the file successfully,what can I do now?
Hi
,
Thanks.
I had requested an extended download limit a few hours ago,will it work? Eager to get the template . thanks.
Yes, I hope the Envato support can help you out! 
Dear friend,
The radio input it is not working (unfortunetelly). It seems that one is put above other one. How can I fix it?
Hi
,
Did you copy paste the code from browser’s code inspector ? If so, please revert it back and refer to the original HTML code from the html templates. The customized checkbox and radio buttons wrapped with some extra DIVs initialized on page load by uniformjs pluigin. So please refer to the initial code in the source of form_controls.html template.
If you need any further assistance please let us know.
Thanks.
Thank you! It work perfectly! But now I’m with another problem, I put a date-picker on the form and it didn’t work. I’ve already configure all the dependency files, but nothing works…
Hi,
Are you getting any JS error in the console ? Please double check your code and make sure you included below js and css files to use the datepicker plugin:
<link rel="stylesheet" type="text/css" href="../../assets/global/plugins/bootstrap-datepicker/css/datepicker3.css"/> <script type="text/javascript" src="../../assets/global/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
Then to initialize the datepicker input you should follow below code:
HTML:
<div class="form-group">
<label class="control-label col-md-3">Default Datepicker</label>
<div class="col-md-3">
<input class="form-control form-control-inline input-medium my-date-picker" size="16" type="text" value=""/>
<span class="help-block">
Select date </span>
</div>
</div>
JS:
<script>
jQuery(document).ready(function() {
// Core initialization
Metronic.init(); // init metronic core components(mandatory)
Layout.init(); // init current layout(mandatory)
QuickSidebar.init(); // init quick sidebar(optional)
Demo.init(); // init demo features(optional)
// Datepicker initialization
$('.my-date-picker').datepicker({
orientation: "left",
autoclose: true
});
});
</script>
For more info you can check the datepicker plugin’s official doc here:
http://bootstrap-datepicker.readthedocs.org/en/release/
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Hi, It is very nice work and suberb features. Really helped us lot.
we are using the new version whereas we are facing the below issue (present in your live demo also)
1. Go to any porlet which has close (Remove) option. 2. Move the cursor on close icon – A tooltip will appear (on cusor out the tooltip automatically vanished. But facing issue on the below case) 3. Click on the close button 4. Now the tooltip still exist on the page.
Please let me know if any patch needed to add any JS file.
Hi
,
Thanks for reporting this issue. We will fix it in the next update. In the main time to fix it you need to change the “portlet remove” handler under “handlePortletTools” with below code:
// handle portlet remove
$('body').on('click', '.portlet > .portlet-title > .tools > a.remove', function(e) {
e.preventDefault();
var portlet = $(this).closest(".portlet");
if ($('body').hasClass('page-portlet-fullscreen')) {
$('body').removeClass('page-portlet-fullscreen');
}
portlet.find('.portlet-title .fullscreen').tooltip('destroy');
portlet.find('.portlet-title > .tools > .reload').tooltip('destroy');
portlet.find('.portlet-title > .tools > .remove').tooltip('destroy');
portlet.find('.portlet-title > .tools > .config').tooltip('destroy');
portlet.find('.portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand').tooltip('destroy');
portlet.remove();
});
If you need any further assistance please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
<asp:Panel ID="InfoPanel" runat="server" class="alert alert-warning alert-dismissable" Visible="False"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"></button> <i class="fa-lg fa fa-bullhorn" /> <asp:Label ID="lblMessage" runat="server" Text=""></asp:Label> </asp:Panel>
How to I make it auto-close in 5 seconds?
Hi
,
You can use simple Metronic API to create an alert with auto close as shown below:
Metronic.alert({
container: $('#some_div_to_place_the_alert'), // alerts parent container(by default placed after the page breadcrumbs)
type: 'success', // "succes", "danger", "warning" or "info"
message: "I am an alert!", // alert's message
close: true, // make alert closable
focus: true, // auto scroll to the alert after shown
closeInSeconds: 5 // auto close in 5 seconds
icon: "bullhorn" // name part of the fontawesome icon class(e.g: fa-bullhorn)
});
If you need any further assistance please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.
Where should I put these code into? Sorry my JS and Jquery knowldge are weak. The panel I am using is on my .aspx webform.
Hi,
You should run it on page load:
<script> jQuery(document).ready(function() { // Core initialization Metronic.init(); // init metronic core components(mandatory) Layout.init(); // init current layout(mandatory) QuickSidebar.init(); // init quick sidebar(optional) Demo.init(); // init demo features(optional) }); </script>
});
Also you should place a DIV with “my_alert_container” ID where you want to place the alert:
<div id="my_alert_container"> </div>
Thanks.
I think the code in your answer is kind of messed-up, and I don’t know what did you mean because you have some codes in your first answer and some codes in your second answer, how do I use them? Can you please send me an email with a html file where
<div id="my_alert_container"> </div>is auto close (disappearing) after 5 second? I am using v3.3
Hi,
Sorry, that was bad formatting. Please refer to below code.
You should run it on page load:
<script>
jQuery(document).ready(function() {
// Core initialization
Metronic.init(); // init metronic core components(mandatory)
Layout.init(); // init current layout(mandatory)
QuickSidebar.init(); // init quick sidebar(optional)
Demo.init(); // init demo features(optional)
// Init alert on page load
Metronic.alert({
container: $('#my_alert_container'), // alerts parent container(if value is not set then it places the alert after the page breadcrumbs)
type: 'success', // "succes", "danger", "warning" or "info"
message: "I am an alert!", // alert's message
close: true, // make alert closable
focus: true, // auto scroll to the alert after shown
closeInSeconds: 5 // auto close in 5 seconds
icon: "bullhorn" // name part of the fontawesome icon class(e.g: fa-bullhorn)
});
});
</script>
Also you should place a DIV with “my_alert_container” ID where you want to place the alert:
<div id="my_alert_container"> </div>
Thanks.
Uncaught ReferenceError: Metronic is not definedit points to this line:
Metronic.init();Libraries that I included:
<!-- Load javascripts at bottom, this will reduce page load time -->
<!-- BEGIN CORE PLUGINS (REQUIRED FOR ALL PAGES) -->
<!--[if lt IE 9]>
<script src="/assets/global/plugins/respond.min.js"></script>
<![endif]-->
<script src="/assets/global/plugins/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/assets/frontend/layout/scripts/back-to-top.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL JAVASCRIPTS (REQUIRED ONLY FOR CURRENT PAGE) -->
<script src="/assets/global/plugins/fancybox/source/jquery.fancybox.pack.js" type="text/javascript"></script>
<script src="/assets/global/plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/bootstrap-toastr/toastr.min.js"></script>
<script src="/assets/admin/pages/scripts/ui-alert-dialog-api.js"></script>
<!-- pop up -->
<script src="/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="/assets/frontend/layout/scripts/layout.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function () {
Layout.init();
Layout.initUniform();
Layout.initTwitter();
});
</script>
<!-- END PAGE LEVEL JAVASCRIPTS -->
<script>
jQuery(document).ready(function () {
// Core initialization
Metronic.init(); // init metronic core components(mandatory)
Layout.init(); // init current layout(mandatory)
QuickSidebar.init(); // init quick sidebar(optional)
Demo.init(); // init demo features(optional)
// Init alert on page load
Metronic.alert({
container: $('#my_alert_container'), // alerts parent container(if value is not set then it places the alert after the page breadcrumbs)
type: 'success', // "succes", "danger", "warning" or "info"
message: "I am an alert!", // alert's message
close: true, // make alert closable
focus: true, // auto scroll to the alert after shown
closeInSeconds: 5, // auto close in 5 seconds
icon: "bullhorn" // name part of the fontawesome icon class(e.g: fa-bullhorn)
});
});
</script>
Before layout.js please try to include metronic.js as shown below:
<script src="../../assets/global/scripts/metronic.js" type="text/javascript"></script> <script src="/assets/frontend/layout/scripts/layout.js" type="text/javascript"></script>
I’m using the Metronic Template since the version 2.0 and the results are incredible! Check how it is working in my web management system through this playlist https://www.youtube.com/watch?v=54WGl1A_3Io&list=PL_o4PYtZ1__BzZQXaQ1q6mdqe29Msrpjg
Hi
,
Looks really cool. Well done! Good luck with your project!
Thanks.
I’m using your timeline from Home>Pages>Timeline
I am trying to use my own color instead of using the ‘timeline-blue’ or ‘timeline-yellow’ etc. Is there a way to do it?
Thank You
Hi
,
Yes, you can create a custom timeline colors by adding below css code in custom.css:
/* My color*/
.timeline li.timeline-custom .timeline-body:after {
border-right-color: #ffb848;
}
.timeline li.timeline-custom .timeline-body {
background: #ffb848;
}
.timeline li.timeline-custom .timeline-time span.time {
color: #ffb848;
}
.timeline li.timeline-custom .timeline-body:after {
border-right-color: transparent;
border-bottom-color: #ffb848;
}
If you need any further assistance please let us know.
To stay updated on Metronic’s new releases please follow us on http://twitter.com/keenthemes 
Thanks.