Hi
This module works very good. As per the Documentation in README.TXT in the module.
"
/node/1.json is the direct path can that be made for the URL Alias of the same. say content/welcome.json returns the same as node/1.json ?
"
Hi
This module works very good. As per the Documentation in README.TXT in the module.
"
/node/1.json is the direct path can that be made for the URL Alias of the same. say content/welcome.json returns the same as node/1.json ?
"
Comments
Comment #1
klausiNo, that does not work. content/welcome.json is not registered as URL alias, so you would have to add an URL alias "content/welcome.json" that points to "node/2.json". That works :-)
Comment #3
Sjarsena commentedI did what you said. I have article/example.json and node/2.json and I still get nothing when trying to get the node using URL alias.
Comment #4
alibama commentedthat's not a great solution - I'm thinking perhaps we might be able to use rules to create that? I'll test and get back on it
Comment #5
jaskaran.nagra commentedNeeds to be reopened....
Comment #6
jaskaran.nagra commentedReopening ... Not fixed
It seems pretty straight forward though.. just need to call drupal_get_normal_path() IMO on the alias before the processing begins....
Comment #7
jaskaran.nagra commentedI have written a module, which is currently in sandbox stage, for this.
https://www.drupal.org/sandbox/jaskaran.nagra/2470461
Please review and help towards making it a full project.
https://www.drupal.org/node/2470483
Comment #8
alibama commentedi'll test in the next couple hours - thanks jaskaran.nagra!
Comment #9
jaskaran.nagra commented