No auto.css?
Permalink
Hello, today I really tried to find if there is a way to add auto.css when adding or editing block,
only one solution was this:
But the problem is that this function tries to find auto.css in local_dir/concrete/css but that is not what I want. I want to add auto.css from my block directory. Is there any way to do this?
only one solution was this:
$this->addHeaderItem($html->css("auto.js"));
But the problem is that this function tries to find auto.css in local_dir/concrete/css but that is not what I want. I want to add auto.css from my block directory. Is there any way to do this?

What is the best way to include css to my edit.php file?
If there's not too much CSS then I just add a < style > < /style > section to the top of my edit.php file and stick the css in there.
Here's a more detailed way to make your add and edit dialogs grab custom css
http://www.concrete5.org/community/forums/customizing_c5/view-css-n...
http://www.concrete5.org/community/forums/customizing_c5/view-css-n...
Yeah, right now i did it in a similar way, i just added But it would be much better if there was a way to add auto.css automatically (i wonder why didn't concrete developers made auto.css available), i want my code to be easily readable by other developers, that's why I'm looking for some better practices.
<link rel="stylesheet" href="url_to_auto.css" />