Jump to content

rick

Members
  • Posts

    651
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by rick

  1. rick

    404 Hits

    Since we have a new security forum, why not post a topic containing the IPs and related files there, where we can all benefit from a pseudo- 'blacklist'?
  2. rick

    Macaw

    I certainly can appreciate the effort that went into developing macaw, as well as the others mentioned. But like Mike Rockett said, coding is better for me. I am old-school, and still flowchart my procedures. o_O I have tried other pseudo-gui applications in the past, but was always dis-satisfied with the unclean code they generated; It took longer to learn the app, then clean up the output, than starting from idea/sketch/code process. I'm not saying these are a bad thing. They just aren't for me. /$.02
  3. I like this site; simple, clean, and effective. Your html is formatted well too, which is always an seo plus. The only thing missing is the "powered by" Seriously, nice work. If I had to critique something, it would be the layout of 'alberta news' and 'twitter feed' content. It just 'looks' odd lineally separated. It only responds side by side at a very narrow-tolerance display width. Personally, I would make the side by side look for those two sections standard for all displays except the smallest.
  4. Hello pixelschiff, and welcome to the forum. I do like the site; it is uniquely layed out. One issue is the text link contrast at the bottom of the page. It is difficult to read. Nice first post.
  5. Certified hosting is a very good company who offers managed vps up to dedicated. Don't laugh, but godaddy has managed and unmanaged vps plans that are actually good performers at reasonable prices. One bonus is a free ssl cert.
  6. rick

    Westchester Vocal

    The site is clean, looks good, and loads quickly. I would add the bio info for the instructors, and add a detailed description of the voice and piano instruction for programs so that the prospect/student can see that the offerings meet their interests. I know you said you are adding pages in the future -- Just wanted to offer a couple of notes for those pages. Nice work!
  7. Noooooo! Do not walk into the light. It is a trick! I walked away from winblows in '03 and never looked back. Now I sleep well too.
  8. I just wanted to post this in an additional location for those that may not know about, or frequent the ProcessWire Blog. This is a great source of information that describes possible uses of the various field types, and the optional modules that accompany ProcessWire. https://processwire.com/blog/posts/processwire-2.6.19-plus-guide-to-optional-core-modules/ Take a few minutes and read this article. It helped me to find elements that I didn't know I needed.
      • 7
      • Like
  9. That is where my question came from. Looking forward to trying this out soon. Nice work.
  10. Okay/ Was just curious. I'm here to learn as much as I can. Which at my age isn't easy.
  11. This looks nice. I'll be testing this shortly, but I do have a question. Just glancing through the module, why are you setting 500 errors, or 422, etc. rather than throwing errors?
  12. This might not be much help. A 'lag' in display effects is commonly a cache issue. The new visual effect would become permanent after the cache was updated, if this is indeed the case. An intermittent, i.e., alternating effect is puzzling. Does this occur in different browsers? I'm sure a more knowledgeable member will be along shortly.
  13. <?php if( is_array( $page->images ) ) { } ?>
  14. Welcome to the forum Claudio! I'll add to what LostKobrakai said, but on the subject of seo, since you specifically state seo on your site. The <head> section is missing many of the seo items, such as description, author, keywords, etc. Almost all of the alt and title attributes of the <h*>, <img>, and <a> elements are missing or blank. I would also recommend that you add a <noscript> section since your site does not display anything if the visitor has javascript disabled. On another note, welcome to ProcessWire. You will find a lot of good information here from a lot of knowledgeable members. Feel free to ask about anything. You'll find that this forum is pretty active.
  15. rick

    ProcessWire Day

    I've been celebrating *hic* by drinkin' scotch every day since *hic* I started using ProcessWire.
  16. Hi wishbone, First, you have the variable $box_count being set to zero within the loop, so it will always be reset -- it never reaches a value of 3. You should move it before the loop begins, like my original code example. The underscore is simply a means to separate the words of the variable name, since spaces are not allowed. It is only a convention that I use. You can use whatever naming convention you are comfortable with. Hope this helps.
  17. Hi wishbone, Yes, you are correct that css doesn't limit the number of items per row, but it will allow you to display however many items that will fit on each row depending upon the width of the display, if that is your intent. As far as the programming is concerned, php uses either the keyword OR or the characters || (two pipe characters) to designate this type of comparison. I personally prefer the keyword simply because it is easier for me to read, and becomes more readily apparent when there is a misspelling. And here is what your conditional statement says: If the number of boxes is less than 3 OR the number of boxes is greater than 3 then ... render the box content. ... else if the number of boxes does equal 3 then ... start an new line. Three issues with this structure: Going back to css, the DIV elements you use as a container are by default block-level elements, which means each DIV will be rendered on a new line, unless you change that behavior through css. If you want to bypass css, then I would recommend you render your content within a table. The count function returns the total number of items -- it will not change within your for-each loop. You will need to set a counter and increment that counter at each iteration in order to obtain the desired value. Since you are only concerned about the count equal to 3, you could rewrite your conditional statement like so: $box_count = 0; for each $boxes as $box { if ( $box_count == 3 ) { // start a new line $box_count = 0; } else { //render box content $box_count = $box_count + 1; } } Regarding the actual ProcessWire method of obtaining those boxes, I will leave to the more knowledgeable members.
  18. Sorry. I misunderstood its intent. You can still view a complete page list by simply clicking the Pages > Tree option. Hovering over the pop-out icon only displays defined bookmarks, if any. </pilot-error>
  19. Just curious if anyone has/had this same issue. When I select a user to edit from Access > Users list, the password field is populated with that user's password (confirmation field is blank), and the display is collapsed by default. When I make any change and then attempt to save it, I receive the Passwords Do Not Match message. When I am logged in as any user, and select Profile from the bottom of the page, the profile data is displayed with the password fields collapsed, but both the password fields are blank, and I do not get the non-matching password warning. Is there an option to have the password fields initially set to blank? Currently running 2.16.17 dev on localhost. This issue has been present in previous versions. Thanks!
  20. Howdy, I just upgraded my localhost to 2.6.17 dev to take advantage of the new bookmark feature. However, none of the menu entries are displayed for each of the page menu options (edit, find,...). This is the case with the default theme and with reno's theme. The following image reflects the current page menu display after this upgrade. Is there a config option I am missing? Thanks for y'alls help!
  21. At the very bottom of the page is a Mark Community Read link.
  22. Hi iNoize, I'm just trying to get a better understanding of what is going on here, so please don't take offence to my questions. Usually a 500 error is some mistake made in programming or configuration, such as an error in an htaccess file, and it is rarely (in my experience) an issue with a process, like uploading a file. Is your web server running IIS or apache or ?? Are there any entries in the web server logs corresponding to the approximate time the error occurs? I see the domain is webmailer, is the file upload processed as an attachment? Is the file upload in any way associated with a mail server? When you state the upload stops at 100%, is that based off the browser progress indication, or on an upload progress indicator function defined in your application? Have you increased the settings for memory use, timeout, upload file size, and retried the upload? Is it one specific file only that your user has an issue with, or does it affect every file regardless of file type or size? Is the PDF file being uploaded created by that user, or is it an existing PDF file, such as a form, that they have saved and want to upload? Since this issue is with one of your users, have them send you their IP so you can easily locate their connection data in the log files.
  23. Sorry. I tagged the post with 2.6.16 dev, but I don't see it.
  24. I received the following errors after setting a 'manager' role to edit users, then selecting the users option from the access menu. Notice: Trying to get property of non-object in /wire/modules/PagePermissions.module on line 226 Notice: Trying to get property of non-object in /wire/modules/PagePermissions.module on line 238 Fatal error: Call to a member function has() on a non-object in /wire/modules/PagePermissions.module on line 238 Error: Call to a member function has() on a non-object (line 238 of /wire/modules/PagePermissions.module) This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged. I was in the middle of debugging why I was getting a unresolvable redirect error with the ProcessDashboard module with any user role login except superadmin, so I uninstalled that module. I could then view the admin page with each of my user roles. The manager role is the only user role with edit user assigned. I don't have any other admin-related modules, such as ProcessAdminCustomPages, etc. installed. The apache error log only has entries like this: [Sun Sep 06 18:07:38.548640 2015] [:error] [pid 19250] [client 127.0.0.1:38679] PHP Warning: strpos() expects parameter 1 to be string, array given in /wire/modules/Process/ProcessPageLister/ProcessPageLister.module on line 1377, referer: http://localhost/admin/access/users/ The PW logs contain the same information as the error messages above. Any ideas where or what I've done incorrectly?
×
×
  • Create New...