-
Posts
1,250 -
Joined
-
Last visited
-
Days Won
5
Everything posted by cstevensjr
-
When is this available? I'm too excited. Joss needs to re-record the other videos. Went to look at the other post and saw it was for sale and already purchased my copy! It's Christmas!!!
-
Add new pages with Page edit per user module
cstevensjr replied to verdeandrea's topic in General Support
Yes, a template can have different roles assigned to it, that's what the Access tab is for (to further define what type of access you want to have). I would also look at the module Adrian is mentioning. The best way is to just enable the feature, create the individual roles and play with it (if you can). -
Add new pages with Page edit per user module
cstevensjr replied to verdeandrea's topic in General Support
You could create roles for Group A, Group B and Group C. Give each role appropriate permission. Assign each user to the Role that is needed to do what you want. On each template, enable "Do you want to view and edit access for pages using this template?" Give access to the appropriate Roles as required. The last access option on that page is "Add Children" -
Add new pages with Page edit per user module
cstevensjr replied to verdeandrea's topic in General Support
-
I believe ID base urls have very good uses though they may not be suitable for most projects. I do have a few projects where being able to access the unique Page ID is beneficial. Why should we have to create a new unique identifier when ProcessWire already has a built-in one? The great thing about ProcessWire is that there are a multitude of solutions available. You are not forced to work in a particular or limited way.
-
Puzzled - why do some of my pages have padlocks after them in admin?
cstevensjr replied to wilsea's topic in General Support
I believe this has to do with access being controlled by a template on that page. -
I have been involved with computers and communications professionally since 1977 (that's a long time). I say that to tell you that from what I have seen on this forum, the people contributing are doing it from the graciousness of their heart. They are caring professionals who are making a living mostly as Developers or Designers. They could simply let you wither and don't provide the information. That's not how things are working on this forum. I believe that if you truthfully went back over all of your forum postings, you would immediately see what some have rightfully mentioned to you. There have been numerous posts where you are given the answers and then you go on to another tangent (not taking the valuable advice and working with it). Everybody learns differently. Some will grab onto knowledge faster than others. None of the comments are meant to demean you. The fact that they answered your posts and gave you valuable information shows that they actually care that you learn ProcessWire. You seem to want to do all of the hard stuff first, bypassing the low hanging fruits of ProcessWire. You need to do your part. One part is to take your own time and read some reference materials or take a PHP online course. There are many free resources on the Internet that will provide the missing logic that is holding you back. I believe you are very close to having that "Aha" moment, but you need to persevere, not lash out at people who are freely providing you with all the quality answers. It's a testament to the quality of individuals on this forum that you have been fortunate to have gotten as much help so far. We all want you to be a part of this community and thus we attempt to guide you in a different manner of learning. You need to be able to take constructive criticism because that's a lesson anyone needs to know in the real working world. Good day and good luck. Charles
- 27 replies
-
- 10
-
-
Quill - An Open Source Rich Text Editor with an API
cstevensjr replied to Beluga's topic in Dev Talk
I use all of these tools I once even convinced myself that I didn't need the Adobe products. When the Creative Cloud subscription came out it was a no-brainer to subscribe. The wealth of quality professional tools in the Adobe subscription is truly amazing. I still have a fondness for Inkscape and use it on occasion whenever I need a quick from scratch svg or png file. I also still use GIMP to quickly resize images (for me, it does it better than others). -
You may want to check first with your hosting and/or network provider, to eliminate them as the cause of this issue.
-
It looks nice. How did you structure your site (layout) to work with what seems to be Pure CSS? Thanks.
-
I hope that you will be able to stay faithful to some type of reliable transactional based version control. I believe it will play a big part in where and how applications built on this can be deployed. Anyway, I have always been impressed with your version control module. Good Luck.
-
Very nice and I believe it will be a very useful tool.
-
Adrian, you have been overly helpful to my learning ProcessWire in many ways. I few likes is nothing!
-
Very nice work. I've been actively following this post. The amount of help provided on this forum is outstanding.
-
Sometimes I look at a problem and get consumed with a particular way of trying to solve the issue. I had to step back and rethink about how I was going to solve the issue of the "Priority" field not displaying as I wanted. When I rested, I actually thought "Hey, you already know what the answer is, why not work from that position? Problem I have a Priority field within a note form where the choices are "Not Applicable", "Urgent", "Important", "Routine" or "Low". I chose to use the Page relation field. The only problem I ended having is that I was dealing with a repeater to create the notes within the page. Not normally a bad problem, but I couldn't get the singular page reference field to display it's content. Solution Since I already know what I wanted to display, I worked out a way to make it happen. I modified the repeater_sd_note.php file to accomplish this. The contents of the updated file is shown below. <?php echo "<h4>$page->title</h4>"; echo "<p><strong>Date:</strong> $page->sd_date</p>"; echo "<p><strong>Note:</strong> $page->sd_body</p>"; echo "<strong>Type:</strong>"; foreach($page->sd_type as $type){ echo " | $type->title"; } echo "</p>"; echo "<strong>Priority:</strong>"; $priority = $page->sd_priority; $p = "1098"; if ( strcmp ( $priority, $p) == 0 ){ echo " | Not Applicable |"; } $q = "1099"; if ( strcmp ( $priority, $q) == 0 ){ echo " | Urgent |"; } $r = "1100"; if ( strcmp ( $priority, $r) == 0 ){ echo " | Important |"; } $s = "1101"; if ( strcmp ( $priority, $s) == 0 ){ echo " | Routine |"; } $t = "1102"; if ( strcmp ( $priority, $t) == 0 ){ echo " | Low |"; } echo "</p>"; echo "<strong>Status:</strong>"; foreach($page->sd_status as $status){ echo " | $status->title"; } echo "</p>"; echo "<p><strong>Attached Documents:</strong> [ $page->sd_documents ] </p>"; ?> I'm no coding wizard, however I knew if I could compare the known page IDs of the choices to value of the sd_priority variable I could do the rest easily. It took awhile but I eventually thought about doing a string compare, which gave me logic needed to display the data on the website. It's not elegant, but it works! Thanks once again to Soma for setting me straight on the foreach on the array. I'm still learning after all these years. Thanks also to Valery for getting my mind working by providing me with a detailed start and tutorial on creating custom modules. Good Day.
-
You many want to check out the Date Archiver module. It may not have all what you want, but it should give you an idea on how to achieve this.
-
ProcessWire Error Notification, display IP
cstevensjr replied to Pierre-Luc's topic in General Support
I would try the Login History module, which you can configure to track the IP address. Google Analytics or Piwik would be your other choices, for more fine-grained tracking.- 1 reply
-
- 1
-
-
Good Day. I have created a repeater field on a website that I am building. Three of the fields within the repeater uses page reference fields (I hope that's the correct terminology). Everything works fine, except that I cannot get those three fields to display the Title and not the page IDs. I've tried different syntax, however I cannot seem to get this to work. I used a repeater template (repeater_sd_note.php file), as Ryan had mentioned. This works great. I have included these screenshots, that will hopefully help someone to guide me in the right direction. Screenshot 1 - A portion of what the web display looks like. Screenshot 2 - A portion of what the backend display looks like of the Screenshot 1 web page. Screenshot 3 - The sd_note repeater field contents. Screenshot 4 - The template file used on the web page. Screenshot 5 - A portion of the Zurb Foundation _main.php file that covers the rendering of the repeater. Screenshot 6 - The contents of the repeater_sd_note.php file. I have read quite a few forum articles and website documentation on repeaters, however I didn't find anything that I thought covered this subject. I apologize if a solution to this can be easily found. I worked on this for two days already. Thanks in advance. Using ProcessWire 2.4.1
-
Thank you for all the terrific work you do, Soma!
-
@Soma, I sent you the errors displayed via PM.
-
Yes, it was a Dev image I downloaded last night. I see there's a newer one from about 6 hours ago, but I haven't touched that one.
-
2.4.2 is the Dev version I was having problems with. https://github.com/ryancramerdesign/ProcessWire/tree/dev I had pulled 2.4.1 from an earlier time (can't remember what day that was). I keep copies in my download development repository.
-
I had a similar problem early this morning. I was trying to upload an image to Images Manager and it would not work. This was using the latest version of PW Dev. I struggled with this for a few hours and then reverted my /wire directory to 2.3.12 and then everything worked again (I could upload images). A few minutes ago I uploaded version 2.4.1 and it also worked. I opened an issue on this occurrence in Github.