Jump to content

quickjeff

Members
  • Posts

    323
  • Joined

  • Last visited

Posts posted by quickjeff

  1. Does anyone know best approach to including the featured image in the post itself? Let’s say below the rendered head of the post? I already have it setup as an option in the blog home page but not the post. 

    Thanks!

  2. Right, something like this would be good. I may try this approach. Any thoughts on my other approach?

    5 hours ago, Ivan Gretsky said:

    If I understood correctly, you are trying to get some kind of a content builder. So your client can add a section with copy, then a section with a copy and an image and so on. I suggest you use Repeater Matrix for that. If you cannot afford the subscription, use Page Table from the core. But... just buy Repeater Matrix) There are other ways, but this one's the best.

     

  3. Hi Guys, 

    I recently have received a client who has various page layouts. I wanted to give them the ability to simply add their HTML into a body field with CKEditor to allow HTML customization.

    However, the client isn't very familiar with HTML.

    This has left me to build a template that has multiple of the similar field types.

    The thing is, I cannot use the repeater since I cannot repeat lets say an image for repeated item 1 and only body field for repeater item 2.

    Therefore, I have to literally add 15 fields for them to totally be able to edit the page without issues.

    What are your thoughts on this approach?

    Also, I have to name the template according to what it contains, so I was thinking of using numbers instead of words.

    Reason being, numbers can describe the amount of title fields, body fields and images.

    Therefore something like, 3-3-2.php or three-three-two.php 

    I have never run into a situation where the client needed so many fields. I was always able to get around it with repeaters etc. 

    Thoughts?

  4. Love love love your blog module. I have used it multiple times on sites I have built for clients. Recently ran into a weird issue. I installed your latest version of your blog module on latest processwire. When I got to save the settings in the blog quick settings tab, they dont save. The fields reload blank. Any idea?

    • Like 1
  5. Hi Guys, 

    I have been using Processwire for years now and have mastered enough to create some amazing sites and applications. 
    However, recently I have been thrown a bit of a curveball and hoping some more veteran members can chime in. 

    I recently ran into a weird issue. I had imported about 100+ wordpress pages into a new Processwire site using namespaces. 
    I imported them under a parent page called /landing-pages/.

    However, I needed to move 20+ of these imported pages to a new parent page called /customers/.

    Since I was moving so many, I figured batcher was a solid module to run this task.

    Here are the steps I took:

    1. Located all the pages I needed using batcher
    2. Changed the pages templates
    3. Located the pages again after changing their template
    4. Made the pages hidden and then located them again using batcher
    5. Changed parent page from /landing-pages/ to /customers/

    The issue that occurred is that not only did I change the parent page for these pages but apparently the pages also existed under /admin/repeaters/for-field-whatever which now changed to the new parent of /customers/.  

    for-page-1625 admin /admin/repeaters/for-field-108/

    So I reverted this by using batcher again, here are the steps I took:

    1. Located all the pages that were not supposed to be moved 
    2. Changed the pages parent back to /admin/repeaters/

    The issue is, after this was done, every time I clicked the new page under /customers/whatever-page I would get a 404. 

    To correct this I had to delete all the pages under /admin/repeaters/ and /admin/repeaters/for-field-whatever and then go back and delete the pages under /Customers/ and create them all from scratch. 

     My questions are: 

    1. Why did Processwire create pages under /admin/repeaters  for the imported pages?
    2. The steps I took to correct this issue, is this okay to keep building the site or am I better off starting fresh again?

     

  6. 22 minutes ago, adrian said:

    It should be easy to modify it so that if a template (defined by the user in the module settings) already exists to use it.

    If you send a PR directly to the main repo (Nicos), I can merge it for you.

    Was hoping for a quick solution but might have to rewrite some of this module to use a defined template. Might take a stab at it tonight. 

  7. 48 minutes ago, adrian said:

    Hi @quickjeff - did you set the template details on the config page of the MigratorWordpress module?

    It looks like even though it should use the template you defined, it will use "Basic Blog Page" as the label for the template - see here: https://github.com/adrianbj/MigratorWordpress/blob/fa8c54485f230db39c7fb5f5a42c6f1b5a3d27a9/MigratorWordpress.module#L279

    Maybe it's not possible to use existing templates with the MigratorWordpress module - I need to check more thoroughly to confirm. If that's the case, it should be an easy fix though.

     

    Right, I caught this also when browsing where it was being created, I may need to strip this and simply use my existing template. 

  8. Hey Guys, I have setup a new Processwire site which was originally a Wordpress site. I was able to successfully migrate the blog using the WordPress Migrator module. 

    However, I am running into an issue. I am having trouble migrating only the WordPress pages. 

    I can export from WordPress and import into Processwire under the correct section. 

    The issue I am having is when I import the WordPress XML. It populates the new pages under the correct section but doesn't use the correct template i indicated which is landing-pages. Instead, it creates a new template called Blog Basic Page. 

    Any light on this guys?

  9. Hi BitPoet, thanks for the suggestion. I will fix this asap! 

    Another thing that came up is when using hooks and getting an error of an undefined function wire().

    The site was built about 1 year ago without using namespaces, do you suggest to I simply roll it back to 2.8 instead of 3.0?

  10. Hi Mike, any progress in the export functionality, I installed the latest version of Jumplinks on a site that was already using your older version. however the jump links got all wiped out. I need to get the old ones back in. :-)

  11. Hey Guys, 

     

    Hope everyone is doing well! It's been quite some time since I have had to reach out for some help. 

     

    So far, I have launched over 20 ProcessWire sites in the last couple of months. I ran into an issue this morning. 

     

    I have upgraded a ProcessWire site from 2.6 to 3.0.42 and have updated all the plugins. The error I am getting now is related to the comments manager that resides outside of the pages, under Setup. 

     

    The error I see is the following:

    Error: Call to a member function showInHeader() on a non-object (line 586 of /wire/modules/Process/ProcessCommentsManager/ProcessCommentsManager.module

    I have never seen this error. Any thought on this guys?

×
×
  • Create New...