Jump to content

Pixrael

Members
  • Content Count

    275
  • Joined

  • Last visited

  • Days Won

    3

Pixrael last won the day on April 29

Pixrael had the most liked content!

Community Reputation

307 Excellent

About Pixrael

  • Rank
    Sr. Member

Profile Information

  • Gender
    Male
  • Location
    Florida, USA

Recent Profile Visitors

1,900 profile views
  1. Hi @Mats thanks for your module!.. very useful for quick blog posting or a lading page / blocks builder.. and will be perfect if integrate something like this https://glide.thephpleague.com/ πŸ™‚
  2. https://modules.processwire.com/modules/process-wire-upgrade/
  3. This could be a block builder option? https://grapesjs.com/ https://github.com/artf/grapesjs Newsletter demo: https://grapesjs.com/demo-newsletter-editor.html Webpage demo: https://grapesjs.com/demo.html Usage: <link rel="stylesheet" href="path/to/grapes.min.css"> <script src="path/to/grapes.min.js"></script> <div id="gjs"></div> <script type="text/javascript"> var editor = grapesjs.init({ container : '#gjs', components: '<div class="txt-red">Hello world!</div>', style: '.txt-red{color: red}', }); </script> That's it.. I try it before, but I don't know how to build a module 😞
  4. If you have access to ProFields, it should be easier to use the Table field: https://processwire.com/store/pro-fields/table/
  5. In the Items template you can use a Repeater field (Ingredients) with two or three fields: Ingredient (Page reference) + Quantity (Float) + Unit (Dropdown) .. for ml, mg, oz, etc.
  6. I suggest you check this website that Ryan created to show the potential of PW, you can see the Frontend, the Backend and the source code on Github: https://processwire.com/about/demo/
  7. A piece a cake! πŸ˜‰
  8. Pixrael

    Hanna Code

    Check this: https://github.com/blynx/TextformatterFunkyFunctions
  9. Oh! ... put it here: https://processwire-recipes.com/about/contribute/
  10. The Github Sponsors program is still in beta. We need to put a link for donations in each profile of the Developer Directory.
  11. I always use the Markup Regions, until now I haven't needed more complicated system in my projects. Roughly this is my standard configuration: _main.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Title</title> <link rel="stylesheet" href="..3rd_party_styles_1.css"> <link rel="stylesheet" href="..3rd_party_styles_2.css"> <pw-region id="styles_area"></pw-region><!--#styles_area--> <link rel="stylesheet" href="..my_main_style.css"> <pw-region id="head_area"></pw-region><!--#head_area--> </head> <body> <header> Header Content Here </header> <div class="container"> <pw-region id="content_area"></pw-region><!--#content_area--> </div> <footer> Footer Content Here </footer> <pw-region id="append_area"></pw-region><!--#append_area--> <script src="..3rd_party_scripts_1.js"></script> <script src="..3rd_party_scripts_2.js"></script> <pw-region id="scripts_area"></pw-region><!--#scripts_area--> <script src="..my_main_scripts.js"></script> </body> </html> template_file.php <?php namespace ProcessWire; $vars_or_arrays = "fill_some_vars_or_arrays_here"; ?> <pw-region id="styles_area"> <style> body { background: #F2F2F2 !important; } h2 { text-transform: uppercase !important; } .classA { background: red; } .classB { font-size: 2rem; } </style> </pw-region> <pw-region id="head_area"> <link rel="dns-prefetch" href="//example.com"> <link rel="preconnect" href="//example.com"> <link rel="prefetch" href="image.png"> </pw-region> <pw-region id="content_area"> Here render your page content from $page or using $pages, $vars_or_arrays, etc. </pw-region> <pw-region id="append_area"> <div class="modal"> <a href="#">close</a> <div class="modal_body"> Content of modal window </div> </div> </pw-region> <pw-region id="scripts_area"> <script src="..3rd_party_scripts_3.js"></script> <script> window.onload = function(event) { alert('Hello World!'); }; </script> </pw-region> Use the regions from the main layout as needed on each page, to add a modal window, run a javascript, add styles, etc. I always use <pw-region> because this element is removed from the final markup if it's not used in the template file.
  12. In your Formbuilder check the tab Actions for the form, there are an option to save the data to a page
  13. Pixrael

    jQuery help

    https://timkadlec.com/remembers/2020-04-21-the-cost-of-javascript-frameworks/
Γ—
Γ—
  • Create New...