pogidude Posted May 14, 2013 Share Posted May 14, 2013 I installed the Blog Profile. After creating a blog post, you can go to the Settings tab of that blog post and see a "Created by User" field there. I'm just wondering how that got there? Coz I'd like to replicate it for another template. When I look at other pages using basic-page template or any other template for that matter, there is no "Created by User" field anywhere. I'd appreciate it if someone can point me in the right direction. Thanks! Link to comment Share on other sites More sharing options...
onjegolders Posted May 14, 2013 Share Posted May 14, 2013 Hi pogidude, not sure as to creating a field (though I'm sure it's possible) but did you know you can access this information at a template level with $page->createdUser ? http://processwire.com/api/cheatsheet/?filter=createdUser Link to comment Share on other sites More sharing options...
ryan Posted May 14, 2013 Share Posted May 14, 2013 You can enable this option by editing your /site/config.php and setting $config->advanced=true; Next edit the template (Setup > Templates > edit) that you want to be able to change the createdUser. Click on the "system" tab (this is only visible in advanced mode). You'll see checkboxes for various options–check the appropriate one and save. Go back to your /site/config.php and remove the $config->advanced line you added earlier… as you don't usually want advanced mode on (some settings can be dangerous). But you should now have the ability to change the created user for pages using that template. 7 Link to comment Share on other sites More sharing options...
pogidude Posted May 15, 2013 Author Share Posted May 15, 2013 ahhhh.. there it is thanks Ryan! @onjegolders - yeah saw $page->createdUser when I was searching in the forums but it wasn't what I was looking for. see the screenshot.. but thanks for the heads up Link to comment Share on other sites More sharing options...
pogidude Posted May 15, 2013 Author Share Posted May 15, 2013 is there any documentation that I can look in to about the options that show up when you set $config->advanced to true? Link to comment Share on other sites More sharing options...
onjegolders Posted May 15, 2013 Share Posted May 15, 2013 Glad you got it sorted Link to comment Share on other sites More sharing options...
ryan Posted May 17, 2013 Share Posted May 17, 2013 is there any documentation that I can look in to about the options that show up when you set $config->advanced to true? Most of these options are meant for ProcessWire (core) development, so they aren't meant to be documented as part of the settings you would typically use in site development. But for people that want to experiment with them, the inline documentation is pretty good. Of course, feel free to post questions here about any of the options too. Link to comment Share on other sites More sharing options...
johnstephens Posted December 2, 2015 Share Posted December 2, 2015 Click on the "system" tab (this is only visible in advanced mode). Has this changed or moved? I enabled Advanced mode and I see the beaker at the bottom of my admin panels labeled "Advanced Mode", but I can't find a "System" tab. I looked at it using both the default and Reno admin themes, and I don't see it. Sorry if I'm overlooking something obvious. It works now. What once was lost, now is found. Link to comment Share on other sites More sharing options...
mcwhitey Posted February 22, 2017 Share Posted February 22, 2017 Ah. This feature moved in PW3 from the system tot the advanced tab. Good move Link to comment Share on other sites More sharing options...
FireWire Posted March 14, 2018 Share Posted March 14, 2018 Is there a way to give this permission to non-superusers? I'd like to have a person ranked below a superuser to have this capability as well. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now