Optional page info
Enables or disables display of page header info
Features:
- Uses only one extra field in table SED_PAGES, selectable in setup
- Allows enabling/disabling control over: comments, ratings, owner, date created and author
- Default value is "allow" for all options, which means nothing will change when you first install
Installation:
1. Unzip file and put contents in plugins folder
2. Install the plugin the usual way
3. Setup extra field (eg PAGE_EXTRA5) to be used (default = 5)
4. In file PAGE.TPL of your skin remove these tags, otherwise you'll have duplicated labels:
- {PHP.skinlang.page.Comments}
- {PHP.skinlang.page.Ratings}
- {PHP.skinlang.page.Author}
- {PHP.skinlang.page.Submittedby}
- {PHP.skinlang.page.Date} 5. In file PAGE.ADD.TPL add these tags as necessary
- {PAGEADD_FORM_ALLOW_COMM_LABEL}
- {PAGEADD_FORM_ALLOW_COMM}
- {PAGEADD_FORM_ALLOW_RATE_LABEL}
- {PAGEADD_FORM_ALLOW_RATE}
- {PAGEADD_FORM_ALLOW_AUTH_LABEL}
- {PAGEADD_FORM_ALLOW_AUTH}
- {PAGEADD_FORM_ALLOW_DATE_LABEL}
- {PAGEADD_FORM_ALLOW_DATE}
- {PAGEADD_FORM_ALLOW_OWNR_LABEL}
- {PAGEADD_FORM_ALLOW_OWNR} 6. Do the same in file PAGE.EDIT.TPL
- {PAGEEDIT_FORM_ALLOW_COMM_LABEL}
- {PAGEEDIT_FORM_ALLOW_COMM}
- {PAGEEDIT_FORM_ALLOW_RATE_LABEL}
- {PAGEEDIT_FORM_ALLOW_RATE}
- {PAGEEDIT_FORM_ALLOW_AUTH_LABEL}
- {PAGEEDIT_FORM_ALLOW_AUTH}
- {PAGEEDIT_FORM_ALLOW_DATE_LABEL}
- {PAGEEDIT_FORM_ALLOW_DATE}
- {PAGEEDIT_FORM_ALLOW_OWNR_LABEL}
- {PAGEEDIT_FORM_ALLOW_OWNR}