Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.2. 
Users manual

Go to the extension manager and download + install the following extensions:

  1. danp_libs (It is very important to have this extension installed before installing danp_tagcloud... You are not warned because of a Bug in TER!!!)

  2. danp_tagcloud

  3. Optional danp_extendnews if you want a extrafield in your news (or blogposts) with the name Tags

Insert the plugin on a page of your choice.... and configure it directly in the plugin...

Therefore you have three sections:

  1. General: Here you configure general things, it is important to select the “Use defaults for” selectbox:

  2. News  Keywords = generate a tagcloud from news keywords

  3. News Tags = generate Tagcloud from news Tags (danp_extendnews is needed)

  4. Indexed Search = Tagcloud from indexed_search history

  5. Linksetting:

  6. Parameter: You dont have to touch this...the default configuration should be fine but here you can configure the parameter for the taglinks

  7. Linktarget Page: Please choose the page, where a link on the tag should point to... (e.g. a news Search page or the indexed_search page)

  8. Advanced: You only have to touch this, if you dont use a “Use defaults for” configuration. Here you can select the generation-rules for the Tagcloud

Insert the Tagclouds via TypoScript in your Template you can use this TS-Code:

lib.tagcloud<plugin.tx_danptagcloud_pi1

lib.tagcloud { generationMode=fromDBField tagfield=tt_news:keywords parameter=tx_ttnews[swords] linkpid=13 pid_list=newsfolderid

}

Set up Tagclouds for TIMTAB

Here is an example for having a Tagcloud on the Page and to have Tags for each news displayed:

  1. Install danp_extendnews > Version 1.2: It extends tt_news for some fields like “tags” and “listimage”. It also adds new Markers like ###TAGCLOUD### which you can use in your Newstemplate

  2. Add some Tags to your News/Blogentries

  3. Add a new Page for the Tagsearch

  4. Insert static Template in Maintemplate

  5. Insert Tagcloud

  6. Modify news_template and add Markers

  7. Adjust TypoScript Configuration

to 3)  Add a new Page for Tagsearch:

  1. Add new page “blog tag search”

  2. Insert Plugin “News” in Mode “Search”

  3. Insert extensiontemplate on that site and configure the newsserach only to search in the tagfield:

    plugin.tt_news.searchFieldList = tx_danpextendnews_tags

  4. Insert a constant blogTagSearchPid in Maintemplate:(constants part):

    blogTagSearchPid=<pid to the blog tag serach page>

  5. Test it :-)

to 4) Insert static Template in Maintemplate:

Insert the Static Template “Extnews: Configure Tagclouds” .

This configures:

plugin.tt_news.displaySingle.tagcloud and plugin.tt_news.displayList.tagcloud

This configuration is needed for the Markers ###TAGCLOUD###. You can easily edit the properties (use TS Object Tree):

to 5) Insert Tagcloud:

You have two possiblitys:

  1. Insert the Tagcloud as Plugin on the page and use the preconfiguration for “news->tags”

  2. Insert the tagcloud in you Template using the TS-Code and fill some Marker or TemplaVolia-DS with that.

lib.tagCloud_ttnews< plugin.tx_danptagcloud_pi1
lib.tagCloud_ttnews {
 generationMode=fromDBField
 tagfield=tt_news:tx_danpextendnews_tags
 pid_list={$plugin.tt_news.pid_list} 
 parameter=tx_ttnews[swords]
 maxtags=30
 linkpid={$blogTagSearchPid}
 sys_language_mode=content_fallback
}

to 6) Modify news_template and add Markers

You can add the Marker ##TAGS### for a simple display of the Tags, or (which is better) you can use ###TAGCLOUD### to display a List of the Tags which are linked to the blogTagSearch page.

FAQ

-