SO I have two content types, a "Candidate" and a "Job Opening". "Candidate" has an Entity Reference field that points to a Job Opening. I've currently got separate views for both, but on the "Job Opening" view I'd like to have a field that users can click to apply for a job, which would ideally create a new Candidate node with the Job Opening ER field pre-filled so users don't have to fill that in.
I tried adding a Custom Text field containing
<a href="/node/add/candidate">Apply Now!</a>
but I just get an "object not found" error when I click on it.
Is there any way to accomplish this be it with existing modules or built-in stuff, or am I gonna have to dive in and start coding?
Edit: So I've managed to get half of what I want. Turns out because my installation is at "/localhost/drupal", then my link needed to be
<a href="/drupal/node/add/candidate/">Apply Now!</a>
So now I just need to find out how to pass a reference to the job opening its from and I'm golden.