Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by MaryMatlow

  1. Yes, of course. Thank you @kongondo ?
  2. Thanks @kongondo Is there a way to add a new post other than "quick post'? I can see the Repeater field when I edit an existing post, but how do I access it when creating a new post?
  3. Hello there, I have added a Repeater field in the blog_post template. But when I go to Quick Post to add a post I don't see the Repeater field in the editor. Am I missing anything?
  4. Thanks @flydev. Let me look into this. It's a client's site, on a shared server I think.
  5. I'm having a strange problem. Only the homepage is giving server error: Server Error We're sorry! The server encountered an internal error and was unable to complete your request. Please try again later. error 500 But the rest of the site works fine. I've turned on the debug mode but the errors don't show up. In the logs I get these errors: Error: Call to a member function get() on null (line 29 of /home/wespenqf/public_html/site/templates/_functions.inc) Error: Exception: SQLSTATE[42000] [1203] User wespenqf_speak already has more than 'max_user_connections' active connections (in /home/wespenqf/public_html/wire/core/ProcessWire.php line 377) #0 /home/wespenqf/public_html/wire/core/ProcessWire.php(209): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #1 /home/wespenqf/public_html/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #2 {main} Does anyone have any idea what's going on? Thanks for your help!! Running ProcessWire 3.0.64
  6. PHP was 5.6.21 but changed it to version 7 and now it works fine. Thank you @Macrura
  7. Hello, When I install this module I get this error: Parse error: syntax error, unexpected '[' in ....../html/site/assets/cache/FileCompiler/site/modules/FieldtypeAssistedURL/FieldtypeAssistedURL.module on line 26 What could be the reason for this. Please help!
  8. Yup, of course, the pagination was not turned on!! Thank you @Peter Knight
  9. Hello, Anyone out there who can help me out!!! Thanks.
  10. Hi @kongondo, I'm having a problem with pagination for the blog. The pagination links appear alright, but when I click on page 2 it brings me back to the top of the first page? What could be wrong? Appreciate your help. Thanks. I'm using ProcessWire 3.0.61 and ProcessBlog 2.4.0
  11. Thanks a ton @Robin S. It worked. Although I had to add some code to create a heading for each category. Thanks once again. Cheers!!
  12. I want to revive this thread as I could not find the solution I'm looking for. I've a function using the "repeater" field. I'm using it to display portfolio items (images and text). What I want to achieve is render the items according to category, such as, Web, Print, In Progress etc. I've created a field within "repeater" to specify the category. I've no idea how to make it work. This is the function I'm using: function bsRenderPortfolio($portfolio) { $out = "<div class='row portfolio'>"; foreach ($portfolio as $item) { $imgname=""; foreach($item->images as $img){ $imgname="<img class='portfolio-image img-responsive' src='".$img->url."' />"; } $out .= "<div class='portfolio-item'> <div class='col-xs-12 col-sm-6'> <figure class='wow fadeInLeft animated' data-wow-duration='500ms' data-wow-delay='300ms'> <div class='img-wrapper'> {$imgname} <div class='overlay'> <div class='summary'> <p>{$item->summary}</p> </div> <div class='buttons'> <p><a class='btn btn-lg' href='{$item->button_link}' role='button' data-toggle='tooltip' data-placement='right' title='{$item->button_tooltip}'> {$item->button_title}</a></p> </div> </div> <figcaption> <h3> $item->title} </h3> <h5> {$item->subheading} </h5> </figcaption> </div> </figure> </div> </div>"; } $out .= "</div>"; return $out; } And this is how it is being rendered: if($page->portfolio) $content .= bsRenderPortfolio($page->portfolio); Any help would be greatly appreciated. Thanks.
  13. Okay, this is sorted out. It was the "access" issue with the "blog-post" template. I removed "view and edit" access restriction and it works. Thanks for your help @christophe
  14. I've set the permissions to give access to blog to users and guest. Post show up on front-end only when I'm logged in as Admin.
  15. I'm facing another problem. Posts don't show up on the front-end, but when I login to the admin, I can see them on the fornt-end. Any idea what could be causing this behaviour?
  16. I'm using ProcessWire 3.0.58 and Blog 2.4.0 I see the "view" tab for regular pages but not for the posts.
  17. Is there a way to preview posts before publishing them? Couldn't find the option.
  18. Just an update: This was resolved when I recompiled the modules. In trying to fix this I had uninstalled ProcessCommentsManager, but now I can't install it back. It doesn't seem to exist. Is there any other way to manage comments?
  19. Hi @kongondo, I had to reinstall the Blog module as it was giving a problem (it was completely disabled, couldn't perform any action: post, delete etc.). Anyway ,I reinstalled and everything works fine but for the comments. It is giving me this error: Recoverable Fatal Error: Argument 1 passed to MarkupBlog::renderComments() must be an instance of CommentArray, instance of ProcessWire\CommentArray given, called in /xxx/html/site/templates/blog-post.php on line 53 and defined (line 1059 of /xxx/html/site/modules/ProcessBlog/MarkupBlog.module) This is the code I'm using on blog_post.php: $blog = $modules->get("MarkupBlog"); $blogConfigs = $modules->getModuleConfigData('ProcessBlog'); $renderComments = $blogConfigs['commentsUse'] == 1 ? $blog->renderComments($page->blog_comments) : ''; $options = array('post_date_text' => on, 'post_categories'=>0, 'post_comments' => 2, 'post_large_image' => 1, 'post_author' => 1); $content = $blog->renderPosts($page, false, $options) . $blog->postAuthor() . $renderComments . $blog->renderNextPrevPosts($page);//with post author widget //include the main/common markup require_once("blog-main.inc"); I'm using ProscessBlog 2.4 and Processwire 3.0.53 What could be the problem here? Thanks for your help.
  20. Just to let you know that I was able to add links to the slides. Thank you for your help.
  21. Hi @flydev, It works like a charm . Thank you, thank you. The only other thing i needed was a link/button to link the slide to another page/post. I'll try to do that myself first. If I get stuck will ask for your help. Thank you very much.
  22. @flydev That's awesome. I'll try it out and report back. The Processwire version I'm using is 3.0.42. Thanks a ton.
  23. Hi @flydev, I plan to use your profile for my next project. I've installed it and it works fine. The carousel however just has only images and no corresponding heading and links, for that would really make the carousel experience complete. Is there a way to add heading and link to the images? Thanks.
  24. Yes, I meant AND. Rewriting URL as you suggest is way beyond my capability. I guess I'd have to live with it. In any case it's no biggie. About the categories, sorry about the confusion. What I meant was the categories that are displayed at the end of each post. Ideally when you click on it it should take you to the pages with the "news" and "blog" template respectively rather than the page with "category" template. I hope I'm makes sense. Thanks for your help.
  • Create New...