Closed (fixed)
Project:
Author Pane
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
22 Dec 2015 at 16:12 UTC
Updated:
5 Jan 2016 at 22:34 UTC
Jump to comment: Most recent
I used hardcoded UID 1 just to test the functionality. This needs to be replaced with code to actually allow setting the user and making use of it.
Working on this now.
Comments
Comment #3
michelleOk, no more hardcoded user. If the block is placed on a node page, it will pull the user from the node. Credited Sharique for that since I got the idea from his other patch. If it's not on a node, it won't crash; it just won't display anything. Still need to work out how to pull from the URL for user pages and also make sure it works properly with Panels et al. Left TODOs for that.