[TYPO3-english] R: staticpub and to top link
Tomoko OOYA
ooya at kcn.ad.jp
Thu Feb 24 05:28:45 CET 2011
Hi,
Thank you for advice, but due to lack of my knowledge (for me, lib.XX is
something to dorop TemplaVoila's DS) and time (this monday was our site
renewal open day.) , I couldn't make this sample code work.
I modified class.t3lib_parsehtml.php directly to ignore if url is
'#container'.
After this aftermath of site renewal, I should learn more deeply.
(2011/02/21 0:43), De Contardi Riccardo wrote:
> Hello,
> I've had the same problem a long time ago with "local" anchors I've used to build a "Jump to section" menu...
>
> Keep the
> config.tx_realurl_enable = 1
> config.prefixLocalAnchors = 1
>
> And rewite the "to top" object in a manner similar to this:
>
> lib.localanchor=TEXT
> lib.localanchor{
> value=link to header
> typolink.target =
> typolink.addQueryString = 1
> typolink.parameter = #header
> typolink.ATagParams = tabindex="1" rel="nofollow"
> typolink.ATagParams.insertData=1
> }
>
> Best regards.
>
> -----Messaggio originale-----
> Da: typo3-english-bounces at lists.typo3.org per conto di Tomoko OOYA
> Inviato: sab 19/02/2011 4.48
> A: typo3-english at lists.typo3.org
> Oggetto: [TYPO3-english] staticpub and to top link
>
> Hi, I'm working on my first TYPO3 site.
>
>
> with config.prefixLocalAnchors = all, output in static html file
> <p class="csc-linkToTop"><a href="index.php?id=588#container">
> result in broken link
>
>
> without config.prefixLocalAnchors = all output
> <p class="csc-linkToTop"><a href="../../../#container">
> result in link to root page
>
> what's wrong?
>
> instllation --------------------------------------------------
>
> TYPO3: 4.3.3
> realurl: 1.8.1
> staticpub: 1.1.0
>
> realurl setup ------------------------------------------------
>
> config.simulateStaticDocuments = 0
> config.baseURL = http://192.168.X.XXX/
> config.tx_realurl_enable = 1
> config.prefixLocalAnchors = 1
>
> staticpub setup -----------------------------------------------
>
> tx_crawler.crawlerCfg.paramSets {
> staticpub =&L=[|_TABLE:pages_language_overlay;_FIELD:sys_language_uid]
> staticpub.procInstrFilter = tx_staticpub_publish
> staticpub.procInstrParams.tx_staticpub_publish.includeResources = relPath
> staticpub.procInstrParams.tx_staticpub_publish.overruleBaseUrl =
>
> staticpub.baseUrl = http://localhost/
> }
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
>
> **************************************************
>
> Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.
>
> The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.
>
>
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list