possible problem with 1.2.1.1
- Single Page
Posted 24 April 2012 - 18:04 PM
protected $default_javascript_path = 'assets/grocery_crud/js';
protected $default_css_path = 'assets/grocery_crud/css';
protected $default_texteditor_path = 'assets/grocery_crud/texteditor';
protected $default_theme_path = 'assets/grocery_crud/themes';
protected $default_language_path = 'assets/grocery_crud/languages';
I moved the assets dir and doesn't work.... is that for those vars are?
because in list_template.php are this others:
$this->set_css('assets/grocery_crud/themes/flexigrid/css/flexigrid.css');
$this->set_js('assets/grocery_crud/js/jquery-1.7.1.min.js');
$this->set_js('assets/grocery_crud/themes/flexigrid/js/cookies.js');
$this->set_js('assets/grocery_crud/themes/flexigrid/js/flexigrid.js');
$this->set_js('assets/grocery_crud/themes/flexigrid/js/jquery.form.js');
$this->set_js('assets/grocery_crud/themes/flexigrid/js/jquery.numeric.js');
[b]this should be...[/b]
[b]$this->set_css($this->default_theme_path.'/flexigrid/css/flexigrid.css');[/b]
[b]$this->set_js($this->default_javascript_path.'/jquery-1.7.1.min.js');[/b]
[b]$this->set_js($this->default_theme_path.'/flexigrid/js/cookies.js');[/b]
[b]$this->set_js($this->default_theme_path.'/flexigrid/js/flexigrid.js');[/b]
[b]$this->set_js($this->default_theme_path.'/flexigrid/js/jquery.form.js');[/b]
[b]$this->set_js($this->default_theme_path.'/flexigrid/js/jquery.numeric.js');[/b]
that way it works.
@web-johnny is it a bug?
Posted 24 April 2012 - 20:29 PM
I am trying to move all the hardcoded javascripts and css to one path that the user will change it from the config. I just didn't finished it yet.
Thank you to reminding me this.
P.S. Your fix is right just make sure that all the files are like this.
Posted 26 April 2012 - 13:42 PM
Nice work!
Posted 09 July 2012 - 11:47 AM
Posted 09 July 2012 - 19:02 PM