PT Social Media Management
From ADF Docs
Back to Build Subsites, Templates and Pages
Overview
The Manage Social Media page is a page that contains the data management datasheets for the four social media custom elements. This page is build using a tabbed interface with one tab for each social media service datasheet.
Steps
- Create a page from the Base Plus One (or a Web Admin) template titled 'Manage Social Media' with the page name 'index' in the /webadmin/socialmedia/ subsite.
- In the main content area of the page, add a Custom Script element.
- From the Custom Script element interface, click the "Edit" icon.
- Enter the following text into the Explicit Module path:
- /ADF/apps/pt_social_media/customcf/manage_social_media_tabs.cfm
- From the Datasheet element interface, click the "Datasheet" icon.
- From the "Datasheet Views" dialog, click the "Add Datasheet View" link.
- Enter the following information and then click "Next":
- Name: Facebook Pages View
- Private: unchecked
- Default View: checked
- Description: View to manage the all Facebook Pages
- Datasheet Source: Form Result/Custom Element Sheet
- Click "Next"
- From the Datasheet Source dialog choose the "Facebook Pages" custom element and click "Next"
- From the Datasheet Columns Dialog select the columns UNIQUEID, FBPAGENAME, FBPAGELINK and FEEDACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish" or "Save".
- You will be brought to the Datasheet View page; click "Close" to return to your page.
- You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
- Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click "edit":
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- /ADF/extensions/datasheet-modules/1.0/edit-delete.cfm
- Click Finish or Save.
- In the Header field, switch the text to 'Edit/Delete'
- Click Finish or Save
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- Now within the Datasheet View Column Properties dialog choose the FEEDACTIVE column and click "edit":
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- /ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm
- Click Finish or Save
- In the Header field, switch the text to 'Active'
- Click Finish
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- Close the Edit Column window.
- Go back to the Datasheet element interface, select the Layout button
- Uncheck the "Allow JavaScript data sorting" checkbox
- Click Save
- From the Datasheet element interface, click the "Datasheet" icon.
- From the "Datasheet Views" dialog, click the "Add Datasheet View" link.
- Enter the following information and then click "Next":
- Name: Twitter Accounts and Keywords View
- Private: unchecked
- Default View: checked
- Description: View to manage the all Twitter Accounts and Keywords
- Datasheet Source: Form Result/Custom Element Sheet
- Click "Next"
- From the Datasheet Source dialog choose the "Twitter Accounts Keywords" custom element and click "Next"
- From the Datasheet Columns Dialog select the columns UNIQUEID, TWITTERACCOUNTKEYWORD, TYPE and FEEDACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish" or "Save".
- You will be brought to the Datasheet View page; click "Close" to return to your page.
- You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
- Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click "edit":
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- /ADF/extensions/datasheet-modules/1.0/edit-delete-native-CS6.cfm
- or
- /ADF/extensions/datasheet-modules/1.0/edit-delete.cfm
- Click Finish or Save.
- In the Header field, switch the text to 'Edit/Delete'
- Click Finish or Save
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- Now within the Datasheet View Column Properties dialog choose the FEEDACTIVE column and click "edit":
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- /ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm
- Click Finish or Save
- In the Header field, switch the text to 'Active'
- Click Finish
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- Close the Edit Column window.
- If you are using the Edit/Delete datasheet-module '/1.0/edit-delete.cfm'
- Go back to the Datasheet element interface, select the Layout button
- Uncheck the "Allow JavaScript data sorting" checkbox
- Click Save
YouTube
- From the Datasheet element interface, click the "Datasheet" icon.
- From the "Datasheet Views" dialog, click the "Add Datasheet View" link.
- Enter the following information and then click "Next":
- Name: YouTube Channels View
- Private: unchecked
- Default View: checked
- Description: View to manage the all YouTube Channels
- Datasheet Source: Form Result/Custom Element Sheet
- Click "Next"
- From the Datasheet Source dialog choose the "YouTube Channels" custom element and click "Next"
- From the Datasheet Columns Dialog select the columns UNIQUEID, CHANNELTITLE, CHANNELUSERNAME and FEEDACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish" or "Save".
- You will be brought to the Datasheet View page; click "Close" to return to your page.
- You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
- Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click "edit":
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- /ADF/extensions/datasheet-modules/1.0/edit-delete-native-CS6.cfm
- or
- /ADF/extensions/datasheet-modules/1.0/edit-delete.cfm
- Click Finish or Save.
- In the Header field, switch the text to 'Edit/Delete'
- Click Finish or Save
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- Now within the Datasheet View Column Properties dialog choose the FEEDACTIVE column and click "edit":
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- /ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm
- Click Finish or Save
- In the Header field, switch the text to 'Active'
- Click Finish
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- Close the Edit Column window.
- If you are using the Edit/Delete datasheet-module '/1.0/edit-delete.cfm'
- Go back to the Datasheet element interface, select the Layout button
- Uncheck the "Allow JavaScript data sorting" checkbox
- Click Save
WordPress
- From the Datasheet element interface, click the "Datasheet" icon.
- From the "Datasheet Views" dialog, click the "Add Datasheet View" link.
- Enter the following information and then click "Next":
- Name: WordPress Blogs View
- Private: unchecked
- Default View: checked
- Description: View to manage the all WordPress Blogs
- Datasheet Source: Form Result/Custom Element Sheet
- Click "Next"
- From the Datasheet Source dialog choose the "WordPress Blogs" custom element and click "Next"
- From the Datasheet Columns Dialog select the columns UNIQUEID, BLOGTITLE and FEEDACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish" or "Save".
- You will be brought to the Datasheet View page; click "Close" to return to your page.
- You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
- Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click "edit":
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- /ADF/extensions/datasheet-modules/1.0/edit-delete-native-CS6.cfm
- or
- /ADF/extensions/datasheet-modules/1.0/edit-delete.cfm
- Click Finish or Save.
- In the Header field, switch the text to 'Edit/Delete'
- Click Finish or Save
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- Now within the Datasheet View Column Properties dialog choose the FEEDACTIVE column and click "edit":
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- /ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm
- Click Finish or Save
- In the Header field, switch the text to 'Active'
- Click Finish
- In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
- Close the Edit Column window.
- If you are using the Edit/Delete datasheet-module '/1.0/edit-delete.cfm'
- Go back to the Datasheet element interface, select the Layout button
- Uncheck the "Allow JavaScript data sorting" checkbox
- Click Save
Finish
- Publish this page.