Hi all,
i want to add a button with a migx-tv that build a anchor-link. The tv "button-url" gets the resource list of "sections" within the migx-tv. But now with the tpl-chunk that contains the part "<a href="#[[~[[+button-link]]]]" ..." i have the problem that the output is something like:
base.de/modx/
#sections/portfolio instead of "base.de/modx/#portfolio
I could also use the "*alias" of the resources under sections if it would help more than using the id of the resource. Did the same with the wayfinder after help from this forum. Something like: "<a href="#[[+alias]]" could help me - but this does not work, too.
Every resource under sections is a section/part of the main site "home" byusing getresource.
Need help
Resource-tree
Home
Sections
- Teaser
- Portfolio
- About
- Contact
Site A
Site B
MigX Code
[[!getImageList?
&tvname=`teaserbutton`
&tpl=`teaserbutton_tpl`
&docid=`[[+id]]`
]]
[ed. note: dsquare last edited this post 10 years, 10 months ago.]