Difference between #1 and #2 of
Understanding "Assets"

Revision #2 has been created by koleto on Feb 20, 2011, 1:00:00 AM with the memo:

change extension of the layout view file main.cpp to main.php
« previous (#1) next (#3) »

Changes

Title unchanged

Understanding "Assets"

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

assets

Content changed

[...]
Yii::getPathOfAlias('xxii.assets') );
return $this->_assetsUrl;
}
....

// xxii/views/layouts/main.
cphp

<link rel="stylesheet"
type="text/css"
href="<?php echo $this->module->assetsUrl; ?>/css/main.css"/>
...
[...]
45 0
40 followers
Viewed: 171 908 times
Version: 1.1
Category: Tutorials
Written by: Steve Friedl
Last updated by: GOsha
Created on: Feb 19, 2011
Last updated: 6 years ago
Update Article

Revisions

View all history