-
Posts
1,303 -
Joined
-
Last visited
-
Days Won
16
Everything posted by elabx
-
Thanks for this very useful fork! It would be rad if it integrated @flydev 's fork too for hashtag search!
-
Just got my copy I hope this is safe! I'll trust random internet software with my servers haha
-
Guess I just jumped to fast on the forum, thanks!
-
I want to render a repeater matrix repeater type with the following code: foreach($page->content_repeater_matrix as $content){ if($content->type == "hero"){ $content->render(); break; } } The field has its own field template asigned in fields/content_repeater_matrix/hero.php. Why shouldn't this work? It would seem to me to be "the processwire way" I got this one working in fields/content_repeater_matrix.php: <?php foreach($value as $item) { echo $item->render(); } Am I trying to call render in the wrong context?
-
Dude it was so much vanilla ProcessWire that it was like plain cheating, heads up to @joshuag who had the actual idea!
-
I did a "hotel review" app that sends emails to clients and catches responses nicely in a PageTable!! I also use PW fields to configure the survey page (add hotel logo, color styles, headlines). The users just have a list under root, each one representing a hotel, displaying the responses nicely inside brackets next to the title. New hotel for review? Just add a new page and configure! Happy clients with minimum effort and straightforward interface!
-
This looks really nice! I agree having the page as context is a smart move! Hadn't thought of the problems of having that represented at field level. I also REALLY like the idea of variations existing on its own as presets somewhere else. Something that I see solved nicely and horrible at the same time, is Shopify's very own variation editor is batch edition of prices and variation names. Eg. Select a variation by one of its properties and change the price in a batch table mode. This was done pretty nicely in an Excel like fashion, or multi checkbox select and command in menu. What I did suffered was making a soccer uniform shop with 10+ sizes and sometimes 20+ variations in color. An error in creating the names would imply to REDO all the variations, or go through a menu to edit EACH variations name. Always almost easier to recreate the whole thing. It seemed as if after creating the list of variations per property in a nice interface, they all lost the relationship amongst them. So if you had written Brgundy / Dark Blue, get ready to edit +50 fields in modals or just delete the whole thing. There goes your day! And the variations problem reveals a flaw in Shopify's service, no more than 100 product variations. Why I might guess won't be a problem for PW. I think variations images would also be quite the deal! Nothing more to add, just personal experiences of suffering from product variations. Hope to see this released!
- 11 replies
-
- 1
-
Digging this from the grave, is this now easier to accomplish? Sometimes for mocking data with the few resources one might have it's useful to just repeat the same thing. Maybe add an icon to the repeater item toolbar through a hook. Came back to say I'm blind and crazy, I was already using latest dev -.- Time to make coffe
-
I have a site that wants to benefit from ads but due to the nature of its content (drug education/culture related), the popular advertising solutions are not available for use (like AdSense). I have though on putting my own ads server using something like Revive Adserver but I wonder if its worth the effort to mantain another piece of software. Any opinions or experiences?
-
Module Module: RuntimeMarkup Fieldtype & Inputfield
elabx replied to kongondo's topic in Modules/Plugins
@Juergen I have used this module with ProcessWire's translation capabilities with no problems! And actually, forgot to mention that on my previous post. Once upon a time, a client wanted to control the contrast of their b&w converted image, so with the help of @horst 's PIM 2 module and RuntimeMarkup I was able to quickly setup a "thumb preview and edit" button. All buttons and text were in spanish and english. -
Can confirm what @LostKobrakai says, and I have experienced that same error, I just updated a site all the way from 2.0 and had to do version stepping to get it working again.
-
When can we get our hands on this? Where do I throw my money?!
-
It seems to me that $page->author is referencing a single Page and thus not an PageArray you can loop through, please check the author field configuration, on the Details tab of the field, you can select the field type value. Also, I don't see any other difference rather than having (to my opinion) a better organised code base with the render() function. For example, you could keep your publication.php containing only the markup that makes up an author, and do the render() inside the loop. Another way I have found useful is to use wireIncludeFile() which accepts a second parameter which could be the actual author page found by a selector in case I don't want to actually assign a template file to a template.
- 1 reply
-
- 2
-
Why is the end slash necessary for this to work??
-
Module Module: RuntimeMarkup Fieldtype & Inputfield
elabx replied to kongondo's topic in Modules/Plugins
Just came here to say that this module works brilliantly! I have made an "email sender field" that uses the page's data to manage surveys for a certain product and right now I'm doing a "defaults selection for repeater field" for a repeatear field with page fields in it that will describe features of a product. It's really nice to just hack your way so fast with this! I use it with wireRenderFile() which rules because it lets me handle the markup nicely in a separate file in my preferred text editor. EDIT: Added "mail settings" screenshot. Jus realized my description text is all messed up engrish -
I like that VPS gives the advantage of the whole Linux tool chain (if using linux) , now including wireshell. With the disadvantage that, I never want to work on shared hosting that has no shell access lol. That, plus ServerPilot to set up the whole deal, just makes my life much easier.
- 15 replies
-
- 1
-
- webserver
- processwire
-
(and 1 more)
Tagged with:
-
Is there and update for this question??
-
Chat bots are the new RSS feed, you need to make one for each of the 40 different clients xD
-
Another great year with the great PW community!! This year was the year I got tons of projects in PW, and they were just like ProcessWire is wants things to be: fast, simple and fun!!! All the learning paid up, thanks everyones, couldn't have done it without your help and buried posts!
-
Something to do with PHP namespaces?
-
Can confirm, no wall can stop spam.
-
I'm sorry I didn't read this correctly before, but to clarify I wasn't bootstraping the PW installation, it was a plain AJAX call to the same URL. Why I came back? I had a "similar" issue where I tried pulling some content via AJAX and when trying to use $user->isLoggedin(), the result always returned true. I moved that code to a custom module (and called $modules->get("CustomModule")->someFunction() ) , and it all worked just fine. Would this issue be related to output formatting too? Thanks for further help!
-
THIS, so much. I love PW, but I have yet to see something that delivers so much to the users managing the store (in features and experience) as the online services for eCommerce that I have tried.
-
Does anyone have experience with either React Native or Nativescript? I am evaluating the possibility of doing some low cost apps for clients (just showing info for an Event) in either of this technologies/frameworks, would just like to know if anyone has any experience with this.