Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Bug: fix $asset_path to point to custom modules path also

#703

$asset_path & $view_path are built assuming we are a system module in the /framework folder and not flexible for custom modules which prevents using common coding in templates (e.g., link="$asset_pathcss/announcement.css")

expController lines #95, #100

Reported by dleffler · September 2nd, 2012 @ 11:43 AM

State: resolved
Milestone: 2.0.9
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja
    • State changed from new to resolved

    (from [cd6902dffd4a3cd38495be03f522dce63b60c5c9]) Fixes asset_path & view_path properties to point to correct location even with a custom module in themes folder. NOTE: have upgraded the static methods in the expControllers classes to reflect their status...this REQUIRES updating all custom controllers in like manner. This is necessary for php v5.4 compliance and also allows simple controller information to be obatianed without instanciating the controller itself (e.g., to get the controller name previously required instanciating it, now it may be called statically) [#703 Bug: fix $asset_path to point to custom modules path also state:resolved] https://github.com/exponentcms/exponent-cms/commit/cd6902dffd4a3cd3...

    September 2nd, 2012 @ 08:11 PM

  2. expNinja
    expNinja

    (from [250fed2da5d5be6903ae3fdfc69bbaf43e02124f]) Fixes broken aspects of changes to fix asset_path & view_path properties to point to correct location upgraded static methods in the expControllers classes [#703 Bug: fix $asset_path to point to custom modules path also state:resolved] https://github.com/exponentcms/exponent-cms/commit/250fed2da5d5be69...

    September 3rd, 2012 @ 02:39 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.