-
Posts
1,699 -
Joined
-
Last visited
-
Days Won
14
Everything posted by renobird
-
Just to echo what's already been said, the site profile option works great. I have my own "blank slate" profile, which really just has a few baseline things setup.
-
I can see why you would want to return hidden pages, as they are still viewable even if excluded from lists and searches. Not including unpublished pages seems like the desired behavior. Maybe I'm missing something, but why would you want to redirect to an unpublished page? It should return a 404.
-
Employee Directory and Intranet: Suggestions?
renobird replied to Lance O.'s topic in General Support
Hi Richard, Back when I initially commented on this I had a frontend system for users to edit their profiles. I went that route initially because I didn't want the majority of users to have access to the ProcessWire admin. I quickly abandoned that approach. I found it was easier to create a base level of access to the PW admin that is just for profile editing. Everything else (including the page tree) is hidden. From there I add back the page tree and other resources based on roles. We have 7-8 internal business applications that run on one install. It works really well actually. I can leverage all the power and simplicity of the admin to create things pretty quickly. It's definitely a lot more efficient that creating frontend versions of them. If you really need something that is isolated from your regular PW install, then you could always do what you mentioned above. Setup a separate install and use it like an intranet. You could probably customize the admin theme to make it look/feel a lot like the front end of your site. You could pull in the profiles from one install to the other via services pages module, or some custom JSON. I think there is a relatively new pages to JSON module that looked pretty robust from what I remember. The other option is the full scale frontend approach. It's not that complicated really. User pages are the same as any other page. I think there are some examples floating around the forums already. I'll dig around here and see if I can find the old frontend system I built.- 16 replies
-
- 3
-
-
- password protected
- admin
-
(and 1 more)
Tagged with:
-
Hi marc1n, Welcome to the forums. I highly recommend looking at Jumplinks. Mike Anthony took this module and fed it some steroids.
-
Steve, This module is great! I've been using it a lot lately, and just wanted to publicly say thank you!
-
Looking for a Card Based Layout or Template
renobird replied to NooseLadder's topic in API & Templates
Yeah, preferably you would load that additional content via ajax. Otherwise you are loading lots of hidden content that may never get seen. -
Looking for a Card Based Layout or Template
renobird replied to NooseLadder's topic in API & Templates
The site linked below is currently live, but it's still very much a WIP. All the responsiveness has been disabled for now until we can get some other issues addressed. I've been reluctant to post anything about it, as it's really not complete. That said, here is another example of a card based layout. http://arts.ufl.edu/in-the-loop/news/ I'll post more about that site over the summer when it's officially live and complete. @adrian, Thanks! Lots more coming soon too. I'm waist deep in phase II. -
Looking for a Card Based Layout or Template
renobird replied to NooseLadder's topic in API & Templates
http://assessment.ifas.ufl.edu/assessments/ This is a very simple example from a site I built. No frameworks, just a simple responsive grid. As Macrura said, there really isn't a whole lot to it. -
$pages->find("template=xxxx") not working for certain template
renobird replied to Tyssen's topic in General Support
Just in case anyone else stumbles on this. Adding include=hidden or include=all to your selector can help troubleshoot when you aren't getting any results. $my_array = $pages->find("template=xxxx, include=hidden"); -
Module Release: Blick - Helpers for your front end
renobird replied to owzim's topic in Modules/Plugins
Sweet! I have a super limited version of something like this locally, but just for paths to css/js/images. This module offers a lot of additional power! Love it! Thanks owzim! -
I'm kind of rushing to get this out the door—so I'm just looking quickly—but it appears there is a quiet mode which probably explains why it's not there.
-
If I set $page->modifiedUser = $this->user in my saveReady hook, then $page->getChanges() has modified_users_id. This works, and will allow me to move on. Would be nice to know if there is a "proper" way.
-
Looks like I found it. https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/core/Pages.php#L881
-
I'll need to dig a little further…. if I check $page->ModifiedUser from saveReady, it still shows the value currently in the DB, not the value of the user who is saving this page.
-
works as expected on other fields, including status. public function hookSaveReady(HookEvent $event){ $page = $event->arguments[0]; $changes = $page->getChanges(); foreach ($changes as $change) { $this->session->message($change); } }
-
I saw that, but it doesn't seem to be part of getChanges() when I list them all out.
-
I'm looking to check if $page->modifiedUser has changed in a (saveReady) hook. $page->getChanges() doesn't contain modified_user_id, or modified (I think that is set by mySQL). Any pointers?
-
Thanks for the heads up. Works fine for me, but I'll change it - :after makes more sense anyway.
-
Steve, Just wanted to say thank you again for this module. I just added about 15 notifications, and threw all kinds of tags at it — works flawlessly. Cheers!
-
It works fine with 2.5, I'll update the module to reflect that.
-
m-artin, Welcome! If you just need accordions, you might like the TextformatterAccordion module. Here's a simple demo.
-
Check PageTable and/or PageTableExtended.
-
There are a lot of new features in TableSorter, but mostly I'm just hoping to be able to reset sorting for admin tables. http://mottie.github.io/tablesorter/docs/example-method-sortreset.html
-
- 3
-
-
make pw variables available in custom script
renobird replied to helmut2509's topic in API & Templates
Can you post your code?