Greetings,
I have the following vocabulary (category):
*Home
*Services
*Portfolio
|-> Commercial
|-> Public
and so on.
You can see the menu layout on the www.test.architectonicaltd.com
I have created a View for the Portfolio->Commercial sub-vocabulary. (you can access it from the according menu).
That "division" as the view calls it, has 2 projects in it currently.
Now everything works pretty well (I removed the linking from the title) and I only need 1 node per page, BUT when I click on the EDIT button below the page it takes me to editing THE VIEW and not the node itself.
Is there any way to make it so that a user can edit the NODE displayed on the current page?
I also need to only allow Logged in users to see that option.
Any help is much appreciated.
Thank you!
Comments
solved
I figured this one out.
What I did is just made a link to "/node/23/edit"
By including the code in the node.tpl.php of my theme:
<a href="/node/<?php print $node->id?>/edit">Click here to edit the node</a>