Wiki

Articles tagged with "paths", sorted by date (updated)X
Displaying 1-2 of 2 result(s).

Fixing extensions without modifying their code

Updated about a year ago by schmunkTips3 comments – viewed 5,917 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

Directory independent extensions

Updated 3 years ago by GOshaTips3 comments – viewed 8,682 times – ( +15 / -1 ) – version 1.1
Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases: