We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Support
Search
[solved] a href="#backtotop problem
46 Posts
subran
Reply #1,
15 years, 3 months ago
Hi,
When I put
a href="#backtotop
on the bottom of my pages it always refers on the root of my site:
http://www.mysite.com/#global
It should be
http://www.mysite.com/page.html#global
,...
Is it possible to fix that ?
or does a Modx code like [[++site_url]] exists for the current page showing?
Thanks for the info, (i’m new with Modx)
Sub
4,149 Posts
splittingred
Reply #2,
15 years, 3 months ago
<a href="[[~[[*id]]]]#backtotop">
shaun mccormick
| bigcommerce mgr of software engineering, former modx co-architect
|
github
|
splittingred.com
46 Posts
subran
Reply #3,
15 years, 3 months ago
Thanks !