Skip to main content

Timeline for anchor (#) in url alias

Current License: CC BY-SA 4.0

15 events
when toggle format what by license comment
Nov 15, 2019 at 10:50 history edited user72672 CC BY-SA 4.0
deleted 24 characters in body
Apr 9, 2015 at 7:30 comment added szapio I've got a site where I don't want to display nodes directly. All nodes are in Views, on my site i've got search form. Search results gives me direct links to nodes, i want to modify them to point to page with View which contains searched node. I also want to move user to this node using anchor. This is my idea, You tell i can't do it this way so which way i can achieve this?
Feb 20, 2013 at 13:08 answer added Marcus Farrington timeline score: 0
S Feb 18, 2013 at 13:09 history suggested Ambidex
Since this question is mainly about anchors, a "anchors" tag would definitely be in place for future searches
Feb 18, 2013 at 12:27 review Suggested edits
S Feb 18, 2013 at 13:09
Feb 18, 2013 at 12:15 comment added Ambidex @MPD That would be a piece of "logics" implementation for your summary of nodes, it still is not a reference to your node itself but a position in a summary of nodes, so that should not be in a path (nor alias).
Feb 18, 2013 at 12:03 comment added Clive @MPD From a "this is what I'd like" point of view it does make sense, but from a practical standpoint it's not implementable. Ambidex's answer goes a good way towards explaining why that is
Feb 18, 2013 at 11:54 comment added mpdonadio I can think of a few instances were having a fragment as part of the pathalias would make sense. Like when you have nodes that never live on their own, but are always part of a view.
Feb 18, 2013 at 11:49 answer added Ambidex timeline score: 3
Feb 18, 2013 at 11:36 comment added Never Quit @Ambidex I'm using this at one of my content->URL path settings-> URL alias = "testimonials#group-1". But browser encode '#' to %23 so it gives an error.
Feb 18, 2013 at 11:10 comment added Clive @NeverQuit Please read Ambidex's comment. Fragments are not part of the path, it doesn't make sense to add a fragment to a URL alias (and you can't do it). You should add the fragment to the end of a URL in a link that points to the path
Feb 18, 2013 at 11:00 review Close votes
Feb 19, 2013 at 14:05
Feb 18, 2013 at 10:44 comment added Ambidex Why would you be using pathauto for this? It is not actually part of the "path", since it is only an anchor. We will be needing more info about where you are trying to implement this.
Feb 18, 2013 at 10:39 answer added Martin Poulsen timeline score: 1
Feb 18, 2013 at 10:21 history asked Never Quit CC BY-SA 3.0