TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-templavoila@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 04.12.2007, 16:17
Søren Schaffstein
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] Relative path prefixing

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
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 04.12.2007, 17:26
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

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
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 17.12.2007, 13:18
Søren Schaffstein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

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
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 17.12.2007, 15:16
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

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
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!
  #5  
Alt 17.12.2007, 16:16
Søren Schaffstein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

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
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!
  #6  
Alt 17.12.2007, 17:26
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

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
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!
  #7  
Alt 17.12.2007, 17:32
Søren Schaffstein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

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
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!
  #8  
Alt 06.08.2008, 18:45
Joerg Wagner
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

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
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!
  #9  
Alt 06.08.2008, 18:47
Joerg Wagner
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

...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
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!
  #10  
Alt 08.08.2008, 10:44
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Relative path prefixing

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
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!
 

Lesezeichen

Themen-Optionen
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-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


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:37 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75