Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Database templates.

Database templates: Difference between revisions

From MoodleDocs
No edit summary
Line 1: Line 1:
{{Databases}}
{{Databases}}


 
== tag usage ==
To use the tags found on the left side... use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place.


== list template tab ==
== list template tab ==
Line 37: Line 38:
===saving===
===saving===
Are there multiple templates allowed? Can't find any interface to suggest more than one template...
Are there multiple templates allowed? Can't find any interface to suggest more than one template...
===tags===
 
What the heck are they and how do you use them?
{{stub}}
{{stub}}
[[Category:Teacher]]
[[Category:Teacher]]

Revision as of 11:40, 25 May 2006

Template:Databases

tag usage

To use the tags found on the left side... use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place.

list template tab

Defines browsing interface for multiple entries

mod/data/templates.php?d=1&mode=listtemplate

single template tab

Defines browsing interface for a single entry.

add template tab

Defines the interface when editing entries What does the reset template do? No challenge before resetting so be careful...

and HOW are the tags used?--Dennis Daniels 16:19, 25 May 2006 (WST)

RSS template tab

Defines appearance of entries in RSS feeds

mod/data/templates.php?d=1&mode=rsstemplate

CSS template tab

Defines local CSS styles for the other templates How is stuff being saved? And, wouldn't an existing CSS pre-loaded by nice? Hand coding CSS? Copy and paste? mod/data/templates.php?d=1&mode=csstemplate

Usage Issues

Can't tell how or where the templates are being saved or what the tags do.--Dennis Daniels 16:16, 25 May 2006 (WST)

I personally think each php with a "mode" should have its own help page...--Dennis Daniels 16:14, 25 May 2006 (WST)

AJAX anyone? Seems like a great place for it... :)

It occurred to me that setting up templates could be a matter of copying and pasting HTML with the database tags ... testing the idea now... --Dennis Daniels 19:35, 25 May 2006 (WST)

saving

Are there multiple templates allowed? Can't find any interface to suggest more than one template...