Comments (3)
It appears that 2.11 is either an incomplete package (missing a file) or buggy as it relates to reverting to the default template.
The solution for me was to use the previous version's MY_Loader, which will return false if Ocular is in use -- rather than performing a show_error(), allowing Ocular's logic to fall back to a default template.
Also to note, version numbers and the CHANGELOG.TXT for 2.11 reflects 2.1.0 still.
from ocular-template-library.
I know that was working previously. It's possible I messed it up while implementing caching. I'll look into it.
Actually, just checked Ci's Loader class, and you're right. It will not return false like I was thinking it would. So, in order to use that functionality, the old MY_Loader is required.
Sorry about that. I guess I haven't used that functionality much lately.
from ocular-template-library.
No worries, thanks for confirming what I found.
from ocular-template-library.
Related Issues (20)
- Current View Name Always Displayed HOT 1
- AJAX Layout Not Working HOT 1
- Block's Don't Accept Data from the View HOT 3
- echoing Current View HOT 1
- active_theme
- Session load to use message()
- render helper
- set_message() not clearing
- AJAX layouts not correct in repo
- themed_view()
- 500 Internal Server Error when Template library wants to load config file
- Return layout/view as string rather than render to screen HOT 1
- yield() method conflicts with PHP 5.5+ "yield" keyword HOT 2
- viewing not in the right way... HOT 1
- $bypass always set to FALSE ? HOT 3
- view content echoed before layout content HOT 1
- Controllers in sub-folders HOT 1
- Pass array directly to template->set HOT 2
- HMVC HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocular-template-library.