TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] Searching for a hook

This is a discussion on [TYPO3] Searching for a hook within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; I'd like to enrich the text content of my application by links from a separate table (similar to a ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 08.01.2008, 11:39
Sascha Mantscheff
Gast
 
Beiträge: n/a
Standard [TYPO3] Searching for a hook

I'd like to enrich the text content of my application by links from a
separate table (similar to a glossary).
I found the hook
TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output']
and I could scan the complete HTML output for text chunks which might be
transformed into links. But I wonder if there is a hook which is nearer
at the tt_content table so that I don't have to analyze the whole HTML
output for inserting my links.
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 08.01.2008, 12:02
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Searching for a hook

Hi!

Sascha Mantscheff wrote:
> I'd like to enrich the text content of my application by links from a
> separate table (similar to a glossary).
> I found the hook
> TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output']
> and I could scan the complete HTML output for text chunks which might be
> transformed into links. But I wonder if there is a hook which is nearer
> at the tt_content table so that I don't have to analyze the whole HTML
> output for inserting my links.


Content is obtained from TS template. You can make postProc there, if you find where.

--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 08.01.2008, 12:14
Sascha Mantscheff
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Searching for a hook

Hello Dmitry,

the template reads:

page.30 = CONTENT
page.30 {
table = tt_content
wrap = <div id="_content" width="78%" float="right">|</div>
}

How do I add a post-processing function from my extension to the content
here?

Dmitry Dulepov [typo3] schrieb:
> Hi!
>
> Sascha Mantscheff wrote:
>> I'd like to enrich the text content of my application by links from a
>> separate table (similar to a glossary).
>> I found the hook
>> TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output']
>> and I could scan the complete HTML output for text chunks which might
>> be transformed into links. But I wonder if there is a hook which is
>> nearer at the tt_content table so that I don't have to analyze the
>> whole HTML output for inserting my links.

>
> Content is obtained from TS template. You can make postProc there, if
> you find where.
>

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 08.01.2008, 12:38
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Searching for a hook

Hi!

Sascha Mantscheff wrote:
> the template reads:
>
> page.30 = CONTENT
> page.30 {
> table = tt_content
> wrap = <div id="_content" width="78%" float="right">|</div>
> }
>
> How do I add a post-processing function from my extension to the content
> here?


CONTENT has stdWrap. If I were you, I would look into stdWrap definition in TSRef document... I think it has an example too.

--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] searching for a good tutorial on tt_news J.Bakshi typo3-english@lists.netfielders.de 6 14.12.2007 10:28
[TYPO3] Searching for whole words only in indexed_search Christian Lerrahn typo3-english@lists.netfielders.de 0 26.02.2007 04:14
[TYPO3] searching by date with indexed_search ?? Eckbert Peter Dollhofer typo3-english@lists.netfielders.de 0 21.02.2007 11:25
[TYPO3] Searching website for content on 404 Andreas Balzer typo3-english@lists.netfielders.de 0 17.02.2007 12:50
[TYPO3-dev] Searching for developer in Hungary Akos Horvath typo3-dev@lists.netfielders.de 0 11.01.2007 16:12


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:18 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

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 31 32 33 34 35 36 37 38 39