[TYPO3-calendar] Cal events facebook share

Loïc KIJ loic_kij at yahoo.com
Thu Mar 28 07:34:44 CET 2013


Hello,
i'm trying to implement proper facebook sharing over cal events
i've find this typoscript

page.headerData = COA page.headerData { 5 = RECORDS 5 { source.data = GPvar:tx_cal_controller|uid tables = tx_cal_event dontCheckPid = 1 conf { tx_cal_event = TEXT tx_cal_event { field = title htmlSpecialChars = 1 } } wrap = <meta property="og:title" content="|" /> } 10 = RECORDS 10 { source.data = GPvar:tx_cal_controller|uid tables = tx_cal_event dontCheckPid = 1 conf { tx_cal_event = TEXT tx_cal_event { field = image
  } } wrap = <meta property="og:image" content="http://www.meinedomain.net/typo3/uploads/tx_cal/pics/|" /> } 15 = RECORDS 15 { source.data = GPvar:tx_cal_controller|uid tables = tx_cal_event dontCheckPid = 1 conf { tx_cal_event = TEXT tx_cal_event { field = description crop = 300|.. stripHtml = 1 brTag = } } wrap = <meta name="description" content="|" /> } }

there http://www.typo3.net/forum/beitraege/diverse_sonstige_module/108975/

but meta stay empty for me . Could there be an interaction with the fact that i'm using realurl ?

so far the only thing working for me is the change of the page title
lib.field_page_title = TEXT
lib.field_page_title.data = DB:tx_cal_event:{event_id}:title

i'm still trying to get the description and image link/meta right.

thx in advance for your time,


More information about the TYPO3-project-calendar mailing list