contao / docs-archive

Contao Documentation
https://docs.contao.org/
Other
42 stars 76 forks source link

Wrong link target in cronjob section #175

Open planepix opened 10 years ago

planepix commented 10 years ago

Hi there,

on this site: https://contao.org/de/cookbook/3.0/cronjobs-in-contao.html#zu-beachten-gilt

the link to hooks section runs into nowhere https://contao.org/Hooks-in-Contao.md

Thank you for fixing it.

aschempp commented 10 years ago

I can't see that link?

xchs commented 10 years ago

The link is at the very top of the page:

hooks

cliffparnitzky commented 10 years ago

The links between chapters seem to be post processed.

Have a look at the Link "Ansichten" in https://github.com/contao/docs/blob/3.2/manual/de/06-Data-Container-Arrays.md#datens%C3%A4tze-auflisten :

Github Link: https://github.com/contao/docs/blob/3.2/manual/de/02-Administration-area.md#datens%C3%A4tze-auflisten Web Link: https://contao.org/de/manual/3.2/administration-area.html#datens%C3%A4tze-auflisten

Something magic seem to happen. Maybe a post process or manually transformation of the links, or a mapping table ???

aschempp commented 10 years ago

Maybe @leofeyer can shed some light on this? Relative links in the manual seem to be converted to contao.org-Links, but in the cookbook they are not. Is this related to cookbook/manual, or maybe to upper/lowercase letters?

leofeyer commented 10 years ago

The hooks are being post processed. And you can only use relative links within the same project, therefore you need to use an absolute link here: https://github.com/contao/docs/blob/3.2/cookbook/de/Cronjobs-in-Contao.md (line 123)