Jump to content

Jozsef

Members
  • Content Count

    119
  • Joined

  • Last visited

Community Reputation

32 Excellent

About Jozsef

  • Rank
    Sr. Member

Contact Methods

  • Website URL
    http://www.focuswebsolutions.ie

Profile Information

  • Gender
    Male
  • Location
    Dundalk, Ireland

Recent Profile Visitors

1,713 profile views
  1. I agree, Padloper should work the Processwire way, that's the whole point of it. Using multi-language fields and page objects for products is the way to go. I guess most of us who builds a PW store will expect it that way.
  2. I put my vote on this one too. Conventions play a big role in usability and people still use computers or large enough tablets to get work done (e.g. managing a shop).
  3. Count me in too. I'm also waiting for this for a project where the website is done and I have to add the shop in later. No point to go with the old version. Let me know if you need any testing done, happy to help and pay the price.
  4. Hi @kongondo, thanks for the updates. Do you have a rough idea on when will an initial release be available? I'd need to add a simple store to a PW site after the holidays. You said there won't be an upgrade path so I'd rather not use V1 anymore.
  5. Will do, thanks. I don't know why I didn't think of that earlier.
  6. I can't see an option to apply classes on the link itself, on the <a> tag. When using Bootstrap, links must have the nav-link class. Did I miss something? What workaround can I use without messing with the module code? The module is working great, this is really the only thing I missed.
  7. Solved: It turned out I had no template file for any of the pages in the menu and the module checks if pages are viewable. Since non of the pages were viewable, menuItems returned an empty array. Thanks @kongondo for the help and pointing me to the right direction. All is well now.
  8. But that's the thing, there's no space in the menu name anywhere so I don't know where it came from. I sent you a PM with login details.
  9. It's not live, unfortunately. If I do a print_r($menuItems) in line 86, the output is ' main_menu' instead of an array. Interestingly, there's a space before the name of the menu, I'm not sure if it's important. I'll try to upload it to the server later today.
  10. That also returns nothing. That is, no output appears on screen from Tracy.
  11. That has no output at all. I'm very curious what is that, I must overlook something.
  12. ProcessWire\WireArray #1f8a data protected => array () extraData protected => array () itemsRemoved protected => array () itemsAdded protected => array () duplicateChecking protected => FALSE useFuel protected => TRUE _instanceNum private => 0 localHooks protected => array () trackChanges private => 0 changes private => array () _notices protected => array (3) errors => NULL warnings => NULL messages => NULL _wire protected => NULL
  13. I also deleted the content of the file compiler and cache folders. TracyDebugger shows the same two php errors I quoted before but I don't know how to dig deeper, I don't have a lot of experience with PHP debugging.
  14. Hi Kongondo, it's just a fresh install of PW 3.0.118 with a site profile that I took from the previous site. All modules were added by the site profile backup. I use the same code in the template to output the menu. My development machine is a Mac running AMPPS with PHP 7.1 The menu doesn't render, I get the error message instead. Steps I tried (to no avail): - Delete and recreate the menu - Uninstall and delete the module, download a fresh copy and reinstall - Downgrade the core to the same version as the other (working) site by overwriting the "wire" folder
  15. I hope someone can help: I get an error message and can't figure out what's wrong. I'm getting the following errors: Warning: Creating default object from empty value in .../site/modules/ProcessMenuBuilder/MarkupMenuBuilder.module on line 302 Warning: Creating default object from empty value in .../site/modules/ProcessMenuBuilder/MarkupMenuBuilder.module on line 305 I use the same code on two sites, in the same environment, one works, the other one doesn't. Latest module version: 0.2.4 and latest Processwire dev. The code: <?php // Output the main menu $menu_builder = $modules->get("MarkupMenuBuilder"); $menu_options = array( "menu_css_class" => "navbar-nav justify-content-end main-menu", "current_class" => "active", "default_class" => "nav-item" ); echo $menu_builder->render("main_menu", $menu_options); ?> It looks like the menu items get lost somewhere but I'm not that great with reading code and debugging.
×
×
  • Create New...