TechBill
(Bill Fleming)
21 February 2019 01:27
1
I posted this on another board thinking it was one of the stack upgrade stripping anchor ID when referred to a RW page with anchor in URL link
Someone there mentioned that he was getting report of this bug from other user after the RW 8.1.5 upgrade so I came to post here
If you click on this link https://www.agwm.org/quicklinks/index.php#da8 which goes to one of my RW page, you will notice the anchor ID “da8” get stripped.
Can anyone advise if it something I did wrong or a bug?
Thank you
1 Like
instacks
(Jannis from inStacks Software)
21 February 2019 08:48
3
IMHO this has not anything to do with RW Core.
Either it’s your PHP code which is removing the anchor, or a htacess setting.
TechBill
(Bill Fleming)
21 February 2019 14:55
4
I have not done anything to the php code or the htaccess setting.
Check this thread out on Weaver Space …
https://community.weavers.space/content/perma?id=112554
teefers
(Doug Bennett)
21 February 2019 15:11
5
I definitely think there’s been a bug introduced with “links”.
I’m not at a Mac now so I can’t confirm this, but I think it’s related to this post from Joe (@joemart1951 ):
This is not an issue with the link not opening in a new window…it is that there is no attribute add…i.e. rel=external.
On all new links…if you want this to work, you have to manually add the item…checking the box does nothing.
p.s.
After looking at the code…RW is not putting in target="_blank" instead of rel=“external”…but still not working…Help!
instacks
(Jannis from inStacks Software)
21 February 2019 16:43
6
There is a difference between:
a) Wrong links / anchor tags in the HTML markup
b) A change of the URL / hash value
The component which seems in charge of b) is com_bigwhiteduck_stacks_magicgellan_s3_stack
The JavaScript on the page doing this:
if(window.location.hash){
automarker=location.hash.replace('#','');
window.location.hash="";
autoscroll=true;
}
Of course, what’s seems possible is that if a) is wrong, the component in support of reacting to the hash b) isn’t working.
tav
(Andrew Tavernor)
21 February 2019 17:26
7
Correct this is a different issue than the one that @teefers linked to above. My answer on WS was the right answer on the wrong thread.
tav
(Andrew Tavernor)
21 February 2019 17:34
8
@TechBill Just got back to my computer and looked at the stack, it is just a setting that needs to be changed. You just need to turn off the smooth scroll from URL hash feature (and yes I’ve noticed the typo in it!)
1 Like
system
(system)
Closed
24 March 2019 03:34
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.