web:modx:revolution:tag:resourcefields
リソースフィールド
標準のリソースフィールド
| 名前 | 説明 |
|---|---|
| id | The ID of the Resource. |
| template | A reference to the Template that this Resource is using |
| published | If the Resource is Published, or viewable on the front-end. |
| pagetitle | The title of the Resource. |
| longtitle | A longer title of the Resource. |
| description | An extended description of the Resource. |
| introtext | Also called 'Summary', an introductory excerpt of the Resource's content. Useful for blogs or searching. |
| alias | The URL alias to use, if your site is using Friendly URLs. A Resource with alias 'home' and Content Type 'html' |
| parent | The Parent Resource's ID. |
| link_attributes | Used with menu building snippets to add attributes to links, etc. Can be repurposed for other needs. |
| menutitle | The title to show for the Resource when displayed in a menu. |
| menuindex | The order index of the Resource in a menu. Higher order means later. |
| hidemenu | Also called 'Hide from Menus', if set, this Resource will not show in most Menu or Navigation snippets. |
| content | The actual content of the Resource. |
設定
| 名前 | 説明 |
|---|---|
| isfolder | Labeled as 'Container', this specifies whether or not the Resource renders with a / in Friendly URLs instead |
| searchable | If the Resource is searchable. |
| cacheable | If the Resource is cacheable. |
| createdby | The ID of the user who created the Resource. |
| editedby | The ID of the last user to edit the Resource. |
| deleted | If the Resource is deleted or not. |
| deletedby | The ID of the user who deleted the Resource. |
| publishedby | The ID of the user who last published the Resource. |
| createdon | The date the Resource was created. |
| publishedon | The date the Resource was published. |
| editedon | The date the Resource was last edited. |
| pub_date | The scheduled date for a Resource to be published. |
| unpub_date | The scheduled date for a Resource to be unpublished. |
参照
web/modx/revolution/tag/resourcefields.txt · 最終更新: by 127.0.0.1
