I am using the module Profile Plus from magic x's site http://www.portalzine.de.
With that module, you can display user dynamic fields in the templates. Can you also add that feature to pagesetter? I would find it much easier if info can be pulled from the dynamic user info and if a user updates their info in their account setting, it gets automatically updated in pagesetter, without having to make change there manually.
since i also use pncuserhack for dynamiuc fields from http://dev.pnconcept.com, being able to show any dynamic field would be good also.
Magix x's profile plus can display fields from the pncuserhack.
Posted: 20.11.2003, 07:32
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Sounds interesting, but who's dyn.data do you want to show? The current users? Something like adding {$user.xxx} variables in the templates? This should be possible - the new use of PN .8's pnRender already includes a lot of PN specific stuff, so why not also add user data.
Could you give an example?
Posted: 20.11.2003, 13:19
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Should be done in the future using the pnusergetvar pnRender plugin, so there is no need to provide it through pagesetter's core.
J?rg
Posted: 20.11.2003, 13:49
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Thanks, I was hoping for something like that.
How about namespaces for the various variables? Right now Pagesetter uses "$userFieldName" and "$core.coreFieldName" - but I suppose this may clash with PN's variables?
Posted: 20.11.2003, 15:35
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
PN does not assign any varaibles to the template, so you are free to use whatever you like. It might be a good idea to group the assignments using associative arrays as you did with $core, but it isn't a must.
J?rg
Posted: 20.11.2003, 15:37
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
please replace the asteriks above with a-s-s (maybe you should not censor this word :P )
J?rg
Posted: 20.11.2003, 20:50
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Dropped the censoring (not the first time it caused problems).
Posted: 20.11.2003, 20:51
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Hmmm ... it strikes me that user specific values are a bit difficult to handle when the output is cached. It's the same problem with hit counts and "edit this".
Posted: 21.11.2003, 07:48
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Shortly, pnRender will contain a nocache-Tag as described here.