|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi there,
this topic seems to have been discussed before but since I couldn't find a satisfying solution I dare to ask again ![]() When creating a template file with "in template links" (e.g. a "go to top" link) templavoila always adds the relative path prefix before the link. Can this be turned off / fixed? Example: In the template I have: (which is perfect as is) <a href="#top">Go to top</a> Templavoila creates <a href="fileadmin/templates/#top">Go to top</a> and this causes problems in several occasions. I have found two related bug reports which sadly do not help me solve the issue. 1) bug 5418 (http://bugs.typo3.org/view.php?id=5418). 2) bug 4703 (http://bugs.typo3.org/view.php?id=4703). A possible workaround is to map each of these links href-attributes to a typoscript object and place the value "#top" there using a TEXT-Object. But this is not very attractive since you create large Datastructure files for just a static value... Does any of you have found a solution to this by now? All the best Søren _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#2
|
|||
|
|||
|
Hi!
Søren Schaffstein wrote: > When creating a template file with "in template links" (e.g. a "go to > top" link) templavoila always adds the relative path prefix before the > link. Can this be turned off / fixed? TemplaVoila does not do anything like this. You have config.prefixLocalAnchors enabled in your main TS template. It does exactly that. -- Dmitry Dulepov TYPO3 core team Web: http://typo3bloke.net/ Skype: callto:liels_bugs "Nothing is impossible. There are only limits to our knowledge" _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#3
|
|||
|
|||
|
Hi Dmitry,
> Hi! > > Søren Schaffstein wrote: > >> When creating a template file with "in template links" (e.g. a "go to >> top" link) templavoila always adds the relative path prefix before >> the link. Can this be turned off / fixed? >> > TemplaVoila does not do anything like this. You have > config.prefixLocalAnchors enabled in your main TS template. It does > exactly that. > thanks for your quick reply - although I found no time to test it until today. I have now double checked that I have not enabled the config.prefixLocalAnchors setting in any way. I assume there is another script/configuration that causes the prefixing. Do you have any idea where the prefixing could come from otherwise? All the best Søren _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#4
|
|||
|
|||
|
Hi!
Søren Schaffstein wrote: > Do you have any idea where the prefixing could come from otherwise? There are two tools to help you find this: - use TypoScriot Object Browser to check if property is set - Use Templata Analyzer to find who set it Both are in Web>Template. -- Dmitry Dulepov TYPO3 core team Web: http://typo3bloke.net/ Skype: callto:liels_bugs "Nothing is impossible. There are only limits to our knowledge" _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#5
|
|||
|
|||
|
Hi Dmitry,
thanks for the tip - but of course I used the object browser already to check this. There is not even a trace of "prefixLocalAnchors" anywhere. Even an explicit removal of the setting using config.prefixLocalAnchors > doesn't change a thing. any other ideas from where this might come? Cheers, Søren > Hi! > > Søren Schaffstein wrote: > >> Do you have any idea where the prefixing could come from otherwise? >> > There are two tools to help you find this: > - use TypoScriot Object Browser to check if property is set > - Use Templata Analyzer to find who set it > Both are in Web>Template. > _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#6
|
|||
|
|||
|
Søren Schaffstein wrote:
> thanks for the tip - but of course I used the object browser already to > check this. There is not even a trace of "prefixLocalAnchors" anywhere. > Even an explicit removal of the setting using > config.prefixLocalAnchors > > doesn't change a thing. > > any other ideas from where this might come? No idea I may take a look to tv next time when I work on it.-- Dmitry Dulepov TYPO3 core team Web: http://typo3bloke.net/ Skype: callto:liels_bugs "Nothing is impossible. There are only limits to our knowledge" _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#7
|
|||
|
|||
|
Dmitry,
too bad ![]() But maybe I can sponsor your hopefully successful looking with a bottle of champagne (to be drunk at next Snowboard-Tour or T3DD... Are you there?) If I find out earlier I'll let you know. Merry christmas Søren >> > No idea I may take a look to tv next time when I work on it.> _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#8
|
|||
|
|||
|
Hello Dmitry,
please look into it, this is really an issue and it still persists (TYPO3 4.2.1, TV 1.3.6). If you reopen http://bugs.typo3.org/view.php?id=4703 I am willing to sponsor! As Søren wrote before eliminating prefixLocalAnchors or even using config.prefixLocalAnchors > does not change anything. The prefixing continues. Currently it is impossible to put any system wide local anchors into TV templates (e.g. links to jump to the top or bottom of any page). Also the skip links of YAML do not work for the same reason. Cheers, Jörg. Dmitry Dulepov [typo3] schrieb: > Søren Schaffstein wrote: >> thanks for the tip - but of course I used the object browser already >> to check this. There is not even a trace of "prefixLocalAnchors" >> anywhere. Even an explicit removal of the setting using >> config.prefixLocalAnchors > >> doesn't change a thing. >> >> any other ideas from where this might come? > > No idea I may take a look to tv next time when I work on it.> _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#9
|
|||
|
|||
|
...please also have a look into
http://bugs.typo3.org/view.php?id=5418 it might give some hints to the basic problem. Joerg Wagner schrieb: > Hello Dmitry, > > please look into it, this is really an issue and it still persists > (TYPO3 4.2.1, TV 1.3.6). > If you reopen > http://bugs.typo3.org/view.php?id=4703 > I am willing to sponsor! > > As Søren wrote before eliminating prefixLocalAnchors or even using > config.prefixLocalAnchors > > does not change anything. The prefixing continues. > > Currently it is impossible to put any system wide local anchors into TV > templates (e.g. links to jump to the top or bottom of any page). > Also the skip links of YAML do not work for the same reason. > > Cheers, Jörg. > > > > Dmitry Dulepov [typo3] schrieb: >> Søren Schaffstein wrote: >>> thanks for the tip - but of course I used the object browser already >>> to check this. There is not even a trace of "prefixLocalAnchors" >>> anywhere. Even an explicit removal of the setting using >>> config.prefixLocalAnchors > >>> doesn't change a thing. >>> >>> any other ideas from where this might come? >> >> No idea I may take a look to tv next time when I work on it.>> _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#10
|
|||
|
|||
|
Hi!
Joerg Wagner wrote: > please look into it, this is really an issue and it still persists > (TYPO3 4.2.1, TV 1.3.6). > If you reopen > http://bugs.typo3.org/view.php?id=4703 > I am willing to sponsor! > > As Søren wrote before eliminating prefixLocalAnchors or even using > config.prefixLocalAnchors > > does not change anything. The prefixing continues. > > Currently it is impossible to put any system wide local anchors into TV > templates (e.g. links to jump to the top or bottom of any page). > Also the skip links of YAML do not work for the same reason. Reopened. I can take a look at it but not the next week. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book In the blog: http://typo3bloke.net/post-details/t...ng_in_eclipse/ _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-templavoila] Relative links starting with anchor improperlyprefixed with directory path in html template | Rino Razzi | typo3-project-templavoila@lists.netfielders.de | 0 | 05.09.2007 18:17 |
| [TYPO3] RealURL 1.1.4 / path problem automatic double path | Michael Kromschröder | typo3-english@lists.netfielders.de | 0 | 06.06.2007 11:14 |
| [TYPO3] Lumophpinclude - local/url - relative paths? | Anna Nees | typo3-english@lists.netfielders.de | 0 | 02.04.2007 00:33 |
| [TYPO3] Relative links in template broken | felix | typo3-english@lists.netfielders.de | 12 | 05.02.2007 11:15 |
| Re: [TYPO3] Relative links in template broken | Markus Lange | typo3-english@lists.netfielders.de | 0 | 26.01.2007 15:53 |