Hello,
For Frontend side, I have my custom css & images folder, it's like below
/assets/siteimages
/assets/site_css/style.css
Now How can I set this path in FUEL?
In assets.php file, If I change the 'css'=>'css/' or 'images'=>'images/' then it is spoiling FUEL Admin panel, So I can't do change over there...
$config['assets_folders'] = array(
'images' => 'images/',
'css' => 'css/',
'js' => 'js/',
'pdf' => 'pdf/',
'swf' => 'swf/',
'media' => 'media/',
'captchas' => 'captchas/'
);
I would like to know Where I can set my custom path, So FUEL admin can also works fine and Frontend too..
(NOTE: In frontend I don't want to load FUEL css/images)
Comments
Thanks..
and my siteimages folder inside "images" folder..
And in View Page I have set like below..
<?php echo css('style'); ?> <script type="text/javascript" charset="utf-8"> //<![CDATA[ var basePath = '<?php echo site_url();?>'; var imgPath = '<?php echo fuel_var('siteimages'); ?>'; //]]> </script>
In _variables/global.php I have set siteimage path like below
$vars['siteimages'] = '/assets/images/siteimages/';
So is it correct method? or is it also possible to set like I have mention in my first post?
/assets/siteimages
/assets/site_css/style.css
fuel/modules/fuel/controllers/login.php
fuel/modules/fuel/libraries/Fuel_base_controller.php