- I have a custom content type for Real Estate
- I have a custom view on the homepage that displays the 5 most recently added real estate properties and displays basic information about this property
This view is in a block on the home page.
I essentially want to put a button on these teasers that links to the full node for the user to view. I'm not sure what the easiest way to do this is?
Then, once in the full node I want to have a button that 1. Checks if the user is logged in (using php session or however that is handled with drupal) and then 2. if user is logged in it directs them to another page or if not logged in directs them to log in.