[eluser]ryantran[/eluser]
My structure is :
- assets
- public
- css
- images
- admin
- mysite
- application
- system
In controller file :
Code:
$data['css']['style'] = $this->assets->load('style.css');
$data['asset_img']['logo'] = $this->assets->load('logo.png');
In view file :
Code:
{$css['style']} // smarty code
My problems are :
1. CSS file did not linked.
2. Image did not load. When i show my code in browser :
Code:
<img src='http://localhost/mysite/assets/public/imageslogo.png' />
- How to remove
mysite in my link ?
- Between Folder link and file link has not "/". How to add it ? (I tried to add in "/" font of file name in controller but i do not think that is a good solution

)
Plz help me ? Thanks again ! ^ ^
PS/ Sry, if i posted many. (I have recent post in Wiki Artical Discussions)