Part of the EllisLab Network
   
2 of 2
2
Template Library Version 1.2
Posted: 07 August 2008 06:48 PM   [ Ignore ]   [ # 11 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2774
Joined  07-27-2006

BUG REPORT:

Template 1.2 has a bug with the add_css() and add_js() methods. It incorrectly calls base_path() instead of CI’s base_url(), causing a fatal error. Please stay tuned for a 1.2.1 release this evening. Feel free to hack 1.2 (or 1.1 if you’re still using that) if you need these methods to work in the meantime (lines 369 and 424).

 Signature 

Check out the Template Library
Oh yeah, I tweet, too (regarding CodeIgniter on occassion).

Profile
 
 
Posted: 07 August 2008 07:05 PM   [ Ignore ]   [ # 12 ]  
Summer Student
Avatar
Total Posts:  3
Joined  08-18-2006
Colin Williams - 07 August 2008 10:48 PM

BUG REPORT:

Template 1.2 has a bug with the add_css() and add_js() methods. It incorrectly calls base_path() instead of CI’s base_url(), causing a fatal error. Please stay tuned for a 1.2.1 release this evening. Feel free to hack 1.2 (or 1.1 if you’re still using that) if you need these methods to work in the meantime (lines 369 and 424).

I was just about to mention it smile I kept getting “Call to undefined function base_path()” errors!

Thanks for the fix!

Profile
 
 
Posted: 07 August 2008 07:24 PM   [ Ignore ]   [ # 13 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2774
Joined  07-27-2006

Good to hear, SilverTab. That’s what happens when you bounce between platforms all day… (Drupal has base_path)  smirk

 Signature 

Check out the Template Library
Oh yeah, I tweet, too (regarding CodeIgniter on occassion).

Profile
 
 
Posted: 08 August 2008 02:37 AM   [ Ignore ]   [ # 14 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2774
Joined  07-27-2006

Template 1.2.1 has been released. Upgrade is STRONGLY RECOMMENDED.

 Signature 

Check out the Template Library
Oh yeah, I tweet, too (regarding CodeIgniter on occassion).

Profile
 
 
   
2 of 2
2