Actions

Talk

Difference between revisions of "Objects methods and properties available from your template"

From Joomla! Documentation

(Format of document)
Line 9: Line 9:
 
Should the name and description be turned into chunks or just copied between the two documents? [[User:Sovainfo|Sovainfo]] ([[User talk:Sovainfo|talk]]) 04:08, 25 September 2013 (CDT)
 
Should the name and description be turned into chunks or just copied between the two documents? [[User:Sovainfo|Sovainfo]] ([[User talk:Sovainfo|talk]]) 04:08, 25 September 2013 (CDT)
 
:I think actually what we need is to delete this. None of these properties seem to actually be defined anywhere - you still have to access them through JFactory in the template index.html file (or where ever they are needed). And in that case I don't see the need for this to have it's own page. You just mention it in passing in a "Building a template" tutorial.
 
:I think actually what we need is to delete this. None of these properties seem to actually be defined anywhere - you still have to access them through JFactory in the template index.html file (or where ever they are needed). And in that case I don't see the need for this to have it's own page. You just mention it in passing in a "Building a template" tutorial.
 +
:The only available things we have from $this is baseUrl, params and template
 +
:--[[User:Wilsonge|Wilsonge]] ([[User talk:Wilsonge|talk]]) 10:39, 25 September 2013 (CDT)

Revision as of 09:39, 25 September 2013

Scope of document

Should this also include JApplication? Sovainfo (talk) 04:04, 25 September 2013 (CDT)

Yes but see below --Wilsonge (talk) 10:31, 25 September 2013 (CDT)

Format of document

Should the methods be links to documents in JDocument category? Should the name and description be turned into chunks or just copied between the two documents? Sovainfo (talk) 04:08, 25 September 2013 (CDT)

I think actually what we need is to delete this. None of these properties seem to actually be defined anywhere - you still have to access them through JFactory in the template index.html file (or where ever they are needed). And in that case I don't see the need for this to have it's own page. You just mention it in passing in a "Building a template" tutorial.
The only available things we have from $this is baseUrl, params and template
--Wilsonge (talk) 10:39, 25 September 2013 (CDT)