-
MODX Staff
- 12,272 Posts
You should be able to do that (in an HREF attribute of course).
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
That works for Weblinks, but a Symlink placed that way doesn’t seem to do anything (unless I’m doing something wrong).
Thanks. Is there any practical use for these other than in a menu generated by Wayfinder or another menu Snippet?
Quote from: OpenGeek at Feb 25, 2009, 05:49 PM
Quote from: BobRay at Feb 25, 2009, 05:13 PM
Thanks. Is there any practical use for these other than in a menu generated by Wayfinder or another menu Snippet?
Another I can come up with off the top of my head is form scripts being able to forward to thank you pages without changing the URL
Would that be accomplished with a Symlink and <form action="[[~nn]]"> where nn is the id of the Symlink?
Got it.
I didn’t think that would work but thought I’d better ask.
So, using $modx->sendForward() with the id of a Symlink would keep you at your current URL, but show the content of the "Thank You" page in the Template of the current page?"
I’m trying to use a symlink but so far unsuccesfully. Can someone
checkout my attempt and see if I’m doing something wrong? My understanding is that if url_id_80 points to url_id_15 then when I got to url_id_80 it should be the exact same as going to url_id_15. However, it’s not working that way for me.
UPDATE: I figured out what I was doing wrong. I was clicking-and-dragging to fill in the Symlink field which put a link tag around the resource. Instead, I just needed to put the resource number and nothing else.
God does not save those who are only imaginary sinners. Be a sinner, and let your sins be strong, but let your trust in Christ be stronger, and rejoice in Christ who is the victor over sin, death, and the world.