Something in theme conflicting with block form labels. registerAssets() issue???
Permalink
I suspect I may be doing something wrong in registerAssets() that is causing the issue (or something else I don't know of), but something in the theme I'm working on is conflicting with Concrete5 in the following manner (that I know of so far).
When adding blocks of any type, the form dialog is missing the labels for each field
-the one rendered by
I've tried a few different things in page_theme.php registerAssets(), but even though I understand generally how it works, I think I may need help with the exact syntax for different assets.
These are the assets in my theme header
and these are the ones in the footer
and this is what I have in registerAssets()
I've tried some variations without any luck.
Suggestions anyone? Help is appreciated.
When adding blocks of any type, the form dialog is missing the labels for each field
-the one rendered by
<div class="form-group"> <label for="title" class="control-label">Field Label</label>
I've tried a few different things in page_theme.php registerAssets(), but even though I understand generally how it works, I think I may need help with the exact syntax for different assets.
These are the assets in my theme header
<link href="<?php echo $view->getThemePath()?>/revolution-slider/css/revolution-slider.css" rel="stylesheet" media="screen"> <link href="<?php echo $view->getThemePath()?>/masterslider/style/masterslider.css" rel="stylesheet" media="screen"> <link href="<?php echo $view->getThemePath()?>/css/vendor/ms-laptop-style.css" rel="stylesheet" media="screen"> <link href="<?php echo $view->getThemePath()?>/css/vendor/magnific-popup.css" rel="stylesheet" media="screen"> <link href="<?php echo $view->getThemePath()?>/css/styles.css" rel="stylesheet" media="screen"> <!--Modernizr / Detectizr--> <script src="<?php echo $view->getThemePath()?>/js/libs/modernizr.custom.js"></script> <script src="<?php echo $view->getThemePath()?>/js/libs/detectizr.min.js"></script>
and these are the ones in the footer
<!-- JavaScript (jQuery) libraries and scripts --> <script src="<?php echo $view->getThemePath()?>/js/plugins/bootstrap.min.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/smoothscroll.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/velocity.min.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/form-plugins.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/waypoints.min.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/waves.min.js"></script> <script src="<?php echo $view->getThemePath()?>/revolution-slider/js/rs-tools.min.js"></script> <script src="<?php echo $view->getThemePath()?>/revolution-slider/js/revolution-slider.min.js"></script> <script src="<?php echo $view->getThemePath()?>/masterslider/masterslider.min.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/jquery.spincrement.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/jquery.stellar.min.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/jquery.magnific-popup.min.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/isotope.pkgd.min.js"></script> <script src="<?php echo $view->getThemePath()?>/js/plugins/owl.carousel.min.js"></script>
Viewing 15 lines of 16 lines. View entire code block.
and this is what I have in registerAssets()
public function registerAssets() { $this->requireAsset('javascript', 'jquery'); $this->providesAsset('javascript', 'bootstrap/*'); $this->ProvidesAsset('css', 'bootstrap/'); $this->providesAsset('javascript-conditional', 'detectizr.min'); $this->providesAsset('javascript' 'modernizr.custom/*'); $this->providesAsset('javascript', 'magnific-popup/*'); }
I've tried some variations without any luck.
Suggestions anyone? Help is appreciated.