anvoz / CodeIgniter-Skeleton

A decent starter for most web apps. Includes HMVC, jQuery, Bootstrap, Bootstrap TLDR, Ajax and Template libraries. Unit tests with PHPUnit and vfsStream.
Other
157 stars 100 forks source link

Ion_auth login page + assets #6

Closed ahpetrot closed 10 years ago

ahpetrot commented 10 years ago

Appears that ion_auth pages are not getting to the assets folder see below

    <!-- favicon.ico and apple-touch-icon.png -->

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <!-- Custom styles -->
    <link rel="stylesheet" href="assets/css/main.css">
            <!-- / -->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
        <script src="assets/js/html5shiv.js"></script>
        <script src="assets/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <header class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
    <div class="navbar-header">
        <button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a href="http://127.0.0.1:8080/" class="navbar-brand">CodeIgniter Skeleton</a>
    </div>
    <nav class="collapse navbar-collapse">
        <ul class="nav navbar-nav">
            <li><a href="http://127.0.0.1:8080/">Home</a></li>
            <li><a target="_blank" href="https://github.com/anvoz/CodeIgniter-Skeleton">Github</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
            <li><a href="http://127.0.0.1:8080/addons">Add-ons <span class="badge">3</span></a></li>
anvoz commented 10 years ago

Please edit the assets_url config in application/config/assets.php then try again.

It should be something like the below:

$config['assets_url'] = 'http://127.0.0.1:8080/assets/';

I will add this instruction to manual installation section of the Ion auth library soon. Thank you.