Loading...
 

Dynamic Content Admin


The Dynamic Content System (DCS) is a very easy and flexible tool for displaying dynamic content in your Tiki sites/applications. While this tool is easy to use, there are a few steps involved in implementing it.

The DCS lets you administer blocks and then program content for these blocks. After a block is created, you will be able to display it in any Tiki template (.tpl file) or user module.

First of all, enable dynamic content from the main admin screen (and if you can’t find it there, try: tiki-admin.php?page=textarea). Then you will see a link to “admin content” at the end of the admin menu. Clicking on that link will take you to the DCS edit screen

1.1. Overview

In short, you need to keep these simple steps in mind in order to have the dynamic content working on your site:
  1. Be sure to enable Dynamic Content (see your own: /tiki-admin.php?page=textarea).
  2. Create a Content Block and Save
  3. Program the Content Block (Program...not Edit...to add something to Current Value)
  4. Clear your Cache...all of it.
  5. Add the content to a page using the {content id=#} option.
Additional note: links you get from other sites might need to be tweaked to work, like accuweather’s weather clip doesn’t seem to go in too easily...IFrames and DIVs can be used to add the content, but you have to edit iframes on the server (in tiki_programmed_content).


1.2. Step by step

1.2.1. Getting dynamic content from an external site to a tiki block

Imagine you can add this dynamic Google Map to your page.

Image


You can click on the upper right corner where it says “Link to this page” (surrounded in red at the screenshot above). This would show the url you need to copy for your dynamic content block at Tikiwiki:

Image


1.2.2. Creating and editing blocks

When you click at “Admin > Dynamic content” (tiki-list_contents.php), you can create a dynamic content block. First you need to provide a description; for example, in this example, we will create the “Google map for ))TikiFestPortoandWikiSym(( (and dogfooding dynamic content)” block:

Image


Once it is created, you will see the block in the listing:

Image


From the listing you can remove the block (all content if present will be removed as well), you can edit the block description (Edit desc), or you can program some content for the block. Click on “program” to add some content:

Then you can click on the tools icon on the action column (Image ) in order to add the dynamic content to that block that we have just created. There you can paste the url of the Google Map you copied previously.

Image


After you save that information, you’ll see the dynamic content shown in the list below:

Image


Then you can add the content block to any Wiki page or User Module you wish, just adding:

Image


In this example, we’ll add this content block to a wiki page called TikiFestPorto

There we can edit that page, and we’ll add it floating to the right of the screen, thanks to the PluginDIV.


Image


Once saved, you get the content on the page:

Image


1.2.3. Programming content


Now to program some content for the future, go again to the Admin Content screen, click “program” for the block with the id=4 (or the id applicable in your case). Click on “program” and enter some data. In our example, we’ll get another map like the one above, but this time avoiding highways:

Image


At the screen to program content, we’ll change the date for 5 minutes ahead of the current time.

Image


The listing will show in a dark shadow the current content active for the block and in a lighter color the rows for future content or old content.

Image


There is a block displaying the new map that will be displayed at 16:00. Now just wait until that time and refresh the screen — the user block on the right side bar will change!

Image


Finally, we can see that the content is indeed dynamic: in this case, the map is zoomable and clicable on its links, to show further content (wikipedia links, in the example):

Image



doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as “hubs” for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show php error messages