Changes between Version 28 and Version 29 of BluePrintRESTImplementation


Ignore:
Timestamp:
01/10/09 21:30:36 (13 years ago)
Author:
nemik
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintRESTImplementation

    v28 v29  
    319319If needing to create custom views (e.g. GIS Layer currently) then can extend these to add extra information in a maintainable way.
    320320
    321 Custom views to replace the create.html, display.html, etc for each module and its resource can be created in the regular 'views/module' directory as '<resource-name>_create.html' for example to replace create.html. If this view is not found for that module/resource, it will revert to the default one.
     321Custom views to replace the create.html, display.html, etc for each module and its resource(s) can be created in the regular 'views/module' directory as '<resource-name>_create.html' for example to replace create.html. If this view is not found for that module/resource, it will revert to the default one.
     322For example, to make a custom list_create view for the 'cr' module's 'shelter' resource, you would make a new view template file in 'views/cr/shelter_list_create.html' and make it look how you want. It will get picked up automatically if it exists, else the default one will be used.
    322323
    323324{{{create.html}}}