Does the Template Parser class supports inheritance like Django's template? |
[eluser]tlam[/eluser]
I was testing Django's template's inheritance feature and noticed how useful it is. Does anyone know if it's possible to do something similar with CI's Template Parser? Here's what I was referring to for Django, lifted from http://docs.djangoproject.com/en/dev/top...lates/#id1: The following is base.html Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" The sub template: Code: {% extends "base.html" %} |
Messages In This Thread |
Does the Template Parser class supports inheritance like Django's template? - by El Forum - 04-20-2009, 02:48 PM
Does the Template Parser class supports inheritance like Django's template? - by El Forum - 04-20-2009, 03:02 PM
Does the Template Parser class supports inheritance like Django's template? - by El Forum - 04-20-2009, 05:42 PM
Does the Template Parser class supports inheritance like Django's template? - by El Forum - 03-29-2010, 09:42 PM
Does the Template Parser class supports inheritance like Django's template? - by El Forum - 03-29-2011, 03:24 AM
|