|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
typoscript to replace <b> to <strong> tagHi All,
Can anyone please help me to find out what did i do wrong in the typoscript below: lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines { encapsTagList = b,strong remapTag.b = strong } I just want to replace the <b> tag for <strong> tag. Also, if anyone know how to put meta title, meta description and meta keywork right after <head> tag? Thanks, John _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: typoscript to replace <b> to <strong> tagJohn,
to replace the <b> tag with the <strong> tag in RTE just use the following snippet in PageTS: ----- RTE.default.proc { entryHTMLparser_db = 1 entryHTMLparser_db { tags { b.remap = strong } } exitHTMLparser_db = 1 exitHTMLparser_db { tags.b.remap = strong } } ----- Chris. John Sullivan schrieb: > Hi All, > > > Can anyone please help me to find out what did i do wrong in the > typoscript below: > > > lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines { > encapsTagList = b,strong > remapTag.b = strong > } > > > > I just want to replace the <b> tag for <strong> tag. > > > Also, if anyone know how to put meta title, meta description and meta > keywork right after <head> tag? > > > Thanks, > John TYPO3-english mailing list TYPO3-english@... http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english |
|
|
Antwort: typoscript to replace <b> to <strong> tagHey,
paste those lines to your TSconfig of the root page. RTE.default { proc { entryHTMLparser_db = 1 entryHTMLparser_db { tags.b.remap = strong tags.i.remap = em } exitHTMLparser_db = 1 exitHTMLparser_db { tags.b.remap = strong tags.i.remap = em } } } RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db Try those lines for your meta tags. page.meta { keywords.field = keywords keywords.ifEmpty ( some, default, keywords ) description.field = description description.ifEmpty ( This is your default description ) } Toodle-oo! Stefan Von: John Sullivan <john@...> An: typo3-english@... Datum: 04.11.2009 00:19 Betreff: [TYPO3-english] typoscript to replace <b> to <strong> tag Hi All, Can anyone please help me to find out what did i do wrong in the typoscript below: lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines { encapsTagList = b,strong remapTag.b = strong } I just want to replace the <b> tag for <strong> tag. Also, if anyone know how to put meta title, meta description and meta keywork right after <head> tag? Thanks, John _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Antwort: typoscript to replace <b> to <strong> tagHi all,
@Chris, Stefan: Thanks for that. It works perfectly now. I was so stupid to not look in TSconfig of the root page. @Stefan: Thanks, but I mean to re-order all meta tags right after <head> tag. Something like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Affordable Corporate Video</title> <meta name="description" content=" some description here" /> <meta name="keywords" content=" keyword1, keyword2" /> </head> .... Thanks, John Stefan Isak wrote: > Hey, > > paste those lines to your TSconfig of the root page. > > RTE.default { > proc { > entryHTMLparser_db = 1 > entryHTMLparser_db { > tags.b.remap = strong > tags.i.remap = em > } > exitHTMLparser_db = 1 > exitHTMLparser_db { > tags.b.remap = strong > tags.i.remap = em > } > } > } > RTE.default.enableWordClean.HTMLparser < > RTE.default.proc.entryHTMLparser_db > > > Try those lines for your meta tags. > > page.meta { > keywords.field = keywords > keywords.ifEmpty ( > some, default, keywords > ) > description.field = description > description.ifEmpty ( > This is your default description > ) > } > > Toodle-oo! > Stefan > > > > Von: > John Sullivan <john@...> > An: > typo3-english@... > Datum: > 04.11.2009 00:19 > Betreff: > [TYPO3-english] typoscript to replace <b> to <strong> tag > > > > Hi All, > > > Can anyone please help me to find out what did i do wrong in the > typoscript below: > > > lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines { > encapsTagList = b,strong > remapTag.b = strong > } > > > > I just want to replace the <b> tag for <strong> tag. > > > Also, if anyone know how to put meta title, meta description and meta > keywork right after <head> tag? > > > Thanks, > John > _______________________________________________ > TYPO3-english mailing list > TYPO3-english@... > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english > > _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Antwort: typoscript to replace <b> to <strong> tagHi,
> @Stefan: Thanks, but I mean to re-order all meta tags right after <head> > tag. > > > Something like this: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title>Affordable Corporate Video</title> > <meta name="description" content=" some description here" /> > <meta name="keywords" content=" keyword1, keyword2" /> > </head> What is exactly the point of "ordering" those tags? If you really want to do fancy stuff, you may do what you want with page.headerData but why not wanting to using "official" ways? -- Xavier Perseguers http://xavier.perseguers.ch/en One contribution a day keeps the fork away _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english |
| Free embeddable forum powered by Nabble | Forum Help |