« June 2010»
S M T W T F S
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

[blog...]

19.06.2010
20:37

Link t3blog and tt_news Articles on Your TYPO3-Site

Quite often I want to set a link to an article I wrote somewhere else on this TYPO3 page. This is no problem, if this article is on a separate page with a unique ID.

 

But howto set a link to a t3blog article or a tt_news article?

 

As usual, there are several possibilities:

 

I tried them all. To link a tt_news article is no problem with all of it. But howto link a t3blog-article? This seems to be not so easy if you're using realurl!

[...]

By adding the following Typoscript to your page TSconfig (Page->Edit->Options), tinymce_rte shows you the articles and t3blog-categories when selecting the blog-record folder (in my case ID is 3):

 

RTE.default {  
linkhandler {      
tx_t3blog_post {          
default { 
# instead of default you could write the id of the storage folder            
# id of the Single News Page             
parameter = 3            
additionalParams = &tx_t3blog_pi1[blogList][showUidPerma]={field:uid}
additionalParams.insertData = 1
select = uid,title as header,hidden
sorting = crdate desc
}
}        

 

 

       tx_t3blog_cat {            
default {                
parameter = 3                
additionalParams = &tx_t3blog_pi1[blogList][category]={field:uid}                
additionalParams.insertData = 1                
select = uid,catname as header,hidden                
sorting = crdate desc            
}

}
}

 

 


 

Unfortunately it is not possible to select the tags from the menu. This is because all tags of one post are stored in the tagClouds field of the tx_t3blog_post table. So still have to add an external link to your page and add e.g. "blog/tags/typo3" if you're using realurl, your blog is located on page "blog" and you want to select the "typo3" tag.

  •  
  • 0 Comment(s)
  •  

Your comment

Notify me when someone adds another comment to this post

back

[ 29.01.2012 ]