Jump to content


Config help with Alternate path layout

Configuration

  • Please log in to reply
1 reply to this topic

#1 wclark

wclark

    Member

  • Members
  • PipPip
  • 11 posts

Posted 28 January 2012 - 07:03 PM

Hi there,

I have application and system under the site_root. ie:

/application
----/config
----/database
----/etc...
/media
/html
----/index.php <- main codeigniter index in site_root
/system

I adjusted 2 lines in /libraries/grocery_crud.php because I also moved your media directory under site_root

starting at line 2114
    protected $default_theme_path    = '../assets/grocery_crud/themes';
    protected $default_language_path= '../assets/grocery_crud/languages';

I am using your example tables with your example.php controller and view.

The page loads now, but the formatting is not being displayed. I get the data and column headings, etc, but no layout, no colors.
I suspect this is a problem with the relative paths in the css files. Before I started digging further, I thought I would ask if there is an easy way to use my alternate path layout with grocery CRUD.

Thanks for a great library!
Bill Clark

#2 wclark

wclark

    Member

  • Members
  • PipPip
  • 11 posts

Posted 28 January 2012 - 08:35 PM

Nevermind. I decided to put the media directory in site_root. Works great!





Also tagged with one or more of these keywords: Configuration

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users