Welcome Guest, Not a member yet? Register   Sign In
Correctly locating asset file with asset library
#1

[eluser]xtremer360[/eluser]
I'm using the asset library that comes with pyrocms for my cms and I have a set up like this for my assets. I am trying to figure out with the paths and namespacing how I can access the bootstrap.css file correctly with the documentation.

http://docs.pyrocms.com/2.1/manual/devel...ols/assets

I have updated my asset.php configuration file to look like this:

Code:
$config['asset_paths'] = array(
    'core' => 'assets/',
    'globals' => 'assets/globals/'
);

This is the line I have set up in my template page to try and retrieve the bootstrap file:

Code:
<?php
Asset::css('globals::bootstrap/css/bootstrap.min.css');
?>

This is my file directory:

Code:
/root
    /assets
        /globals
            /bootstrap
                /css
                    bootstrap.css

It is saying the following error message.

Code:
Found no files matching assets/globals/css/bootstrap/css/bootstrap.min.css

Any ideas on what I good fix would be for this?


Messages In This Thread
Correctly locating asset file with asset library - by El Forum - 05-20-2013, 08:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB