custom attribute form.css NOT loading
Permalink
Dumping the AttributeTypeView::render() within the
shows it has got the right url. Then, the
runs so you'd think it would be good to go - but no, it never makes it to the page source.
Don't see any mention of this problem anywhere on C5 forums. Using C5 5.4.2.1 . Any thoughts?
$css = $this->attributeType->getAttributeTypeFileURL($view . '.css');
if ($css != false) { $this->controller->addHeaderItem($html->css($css)); }
Don't see any mention of this problem anywhere on C5 forums. Using C5 5.4.2.1 . Any thoughts?
I was simply losing the race to the header. Using AJAX to load some code without a page refresh. Went with javascript ccm_addHeaderItem() to call the css when it is needed.
Thanks to C5 member jessup for that one: http://www.concrete5.org/community/forums/customizing_c5/custom-jsc...