ai_slop
Members-
Posts
35 -
Joined
-
Last visited
Everything posted by ai_slop
-
Thanks @virtualgadjo. The contentTypes tip looks interesting, though I'm not yet advanced enough yet to fully understand it, but I'll get there eventually! 😄 Ah yes @psy, I forgot about the <region> tags - good idea. I was just going to try something like <script pw-id='js' ...... pw-optional></script> but I'm not sure if that would work with prepending, before, after, etc and if the tags don't match. The region approach looks cleaner. Thanks!
- 11 replies
-
- 1
-
-
- markup regions
- template
-
(and 1 more)
Tagged with:
-
So I'm trying to create a little page builder of sorts for the project section of a porfolio site using a section repeater. The repeater includes fields for creating various section options to build out a page (1xfull-width screen image, image+txt, txt+image, 2ximages, triptych, etc.). I added a "section-type" radio field with layout options so I can use if statements in the code to change what markup will be created in the template. The screenshot below shows my repeater as it is now, but I'd like to use field dependencies to hide fields that are not required for the chosen layout type. The problem is - I just can't manage to get the "Show this field only if..." to work for partial text matches or OR statements. Taking the heading field as an example -- I only managed to hide the heading field with the following, and only for that one case: section_type%=heading_txt I tried using OR statements, but this didnt work either: section_type%=heading_txt|txt_heading Partial matching like this doesnt seem to work: section_type%=heading Am I missing something obvious? Would really appreciate any help. 1=single_image 2=two_images 3=three_images 4=txt_image 5=image_txt 6=heading_txt 7=txt_heading
- 3 replies
-
- repeater
- field dependencies
-
(and 1 more)
Tagged with:
-
Thanks @virtualgadjo, appreciate the advice. It's a little difficult at first (for a newcomer, at least) to wrap one's head around markup regions but it sounds flexible and more future proof than sticking with direct output and includes. You're right about the JS and animation overhead. That's the main thing that's bothering me. For my site, the homepage is animation and image heavy so I'm wondering whether I should just serve it as a static page without _main.php (with a few project thumbnail <a> tags thown in) and then use _main.php for the other pages. The idea would be to avoid cutting out bits of scripts from my existing static home page and putting them into templates for appendng - only to append them back in with markup regions. I guess serving home.php as the homepage wouldnt impact the URLs or anything
- 11 replies
-
- markup regions
- template
-
(and 1 more)
Tagged with:
-
Thanks again @monollonom. That helps a lot. Still trying to scope out what output stategy is best for a portfolio site I've built as static html, with possible a small store at a future date. I would like to ensure my GSAP scroll animations work properly so controlling JS and CSS from one working base seems better than using lots of include templates, Idk... Rather new to this. By the way, I had a look at your site. Your work is very impressive, well done. Did you build any of those sites with ProcessWire by any chance?
- 11 replies
-
- 1
-
-
- markup regions
- template
-
(and 1 more)
Tagged with:
-
Thank you, @monollonom. I suspected it was that but I wasn't sure. While I have you 😄 - If I use multiple base files like _main.php in this way, do I need to change anything in config.php or am I good? Thanks again.
- 11 replies
-
- markup regions
- template
-
(and 1 more)
Tagged with:
-
So in the Markup Regions output strategy, the docs seem to suggest that we can render markup using a different base to _main.php, for use on specific pages (like rss feed, homepage, etc) if needed. Have I understood that correctly? https://processwire.com/docs/front-end/output/markup-regions/ It says "we can do so by editing the template settings in the ProcessWire admin to use a different file, or no file at all, when appropriate. (This is found in Setup > Templates > [choose a template] > Files [tab])." I'm not sure, however, what setting I should change here. Let's say I want this template to apply Markup Actions to 'base.php' instead of _main.php, where would I set that here? Most of my confusion stems from the "Prepend" and "Append File" wording... I'd really appreciate any help 🙂 Thanks
- 11 replies
-
- markup regions
- template
-
(and 1 more)
Tagged with:
-
E-commerce recommendations with ProcessWire in 2026?
ai_slop replied to ai_slop's topic in Getting Started
@szabesz If the cart is only in session storage, would you recommend a JS approach over PHP or does it really matter? Yeah I had the impression that store builder modules were no longer maintained. I can't really see why - the cms itself looks promising so far... Thanks @Mikel Ya I came across RockCommerce but thought it was a paid solution... I guess it's MIT open source from now on? Your own Stripe Payment Links setup looks good. Do you still use it for single products/single subscriptions or have you moved to RockCommerce or something else? My use case is to sell design template files for download. Separately, global tax compliance looks like a pain with Stripe unless I pay serious $$$ for Stripe Tax. I saw with your solution that you can grab customer data from Stripe - does that negate any need for storing customer data in a database (hence avoiding data regulation headaches)? @elabx I did have a quick look at Shopify but for a side project (which may or may not work out) I can't really justify the monthly fees vs a pay-as-you-go model. Also, in that case I'm not sure why I would use ProcessWire at all if Shopify has its own cms features. Do they have a cheaper plan for just using their API with an existing site? Thanks everyone for the advice. -
Hi all, I'm evaluating ProcessWire as an alternative to Wordpress, and I'm curious to know what you are all using for your shopping cart and payments integrations. I have some front-end skills but I'm new to backend web-dev, so as a practice/hobby project, I'd like to setup a design template shop where customers can buy mockups for download. The more I look into this, it seems that it can cause a lot of global tax-compliance headaches, so I'm currently looking at lemon squeezy or something similar like a MoR, but I'm open to suggestions. As for Lemon squeezy, ideally I'd like to create a custom cart on my ProcessWire site (probably just using session storage) and only pass to LS for the final payment. Has anyone any experience with this? I've come across FormBuilder on here in relation to Stripe payments - can that be used as a shopping cart also? I could be wrong but ProcessWire seems to be short on modules similar to WooCommerce or e-commerce related tools (?) Would love to hear about your current payments integrations for 2026.
-
ProcessWire Commerce Features
ai_slop replied to kongondo's topic in ProcessWire Commerce (Padloper) Support
@markus-th Thank you! Ah, I should have looked more carefully - new here. Searching ProcessWire Commerce on google leads directly to this page so I wasn't sure if it was still active. I'll take a look at that, cheers. -
ProcessWire Commerce Features
ai_slop replied to kongondo's topic in ProcessWire Commerce (Padloper) Support
Has this module been removed or something? None of your links are working and there's no mention of ProcessWire Commerce on the Modules page... Am I missing something here?