Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

33 linhas
984 B

  1. :mod:`page_body` --- Page Body Serverside Module
  2. ================================================
  3. .. module:: page_body
  4. :synopsis: Collection of methods that generate the `index.cgi` template and Crawler / Spider friendly static content
  5. .. data:: index_template
  6. HTML Template of index.cgi
  7. .. function:: get_page_content(page)
  8. Gets the HTML content from `static_content` or `content` property of a `Page`
  9. .. function:: get_doc_content(dt, dn)
  10. Gets the HTML content of a document record by using the overridden or standard :method: `doclist.to_html`
  11. .. function:: get_static_content()
  12. Returns the static content from the permalink using the `page` property of the URL (webnotes.form)
  13. ..
  14. Standard format is:
  15. * Form/Ticket/T001 - renders the `Ticket` T001
  16. * Page/Welcome - renders the `Welcome` page
  17. .. function:: get()
  18. returns the full rendered index.cgi
  19. Gets `keywords` and `site_description` from the `Control Panel`