docs-archive icon indicating copy to clipboard operation
docs-archive copied to clipboard

Wrong link target in cronjob section

Open planepix opened this issue 11 years ago • 5 comments

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.

planepix avatar Sep 05 '14 13:09 planepix

I can't see that link?

aschempp avatar Sep 08 '14 13:09 aschempp

The link is at the very top of the page:

hooks

xchs avatar Sep 08 '14 17:09 xchs

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

cliffparnitzky avatar Nov 10 '14 10:11 cliffparnitzky

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?

aschempp avatar Nov 10 '14 17:11 aschempp

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)

leofeyer avatar Nov 12 '14 09:11 leofeyer