-
Posts
55 -
Joined
-
Last visited
Everything posted by Christian
-
No problem, It's not the usual hosting, but if you know that basic of git you can take the advantage of using this service. I just submit one click installation that is currently on review so for now, this quickstart will use a bit of terminal but if you manage to install rhc, your good to go We are willing to assist you
-
I just stumble openshift and created some quickstart for it: https://processwire.com/talk/topic/11777-openshift-processwire-quickstart/
-
How many of you use a service like OpenShift?
Christian replied to OrganizedFellow's topic in Dev Talk
I just stumble openshift and created some quickstart for it: https://processwire.com/talk/topic/11777-openshift-processwire-quickstart/ -
I just created a quickstart of Processwire to OpenShift here: https://hub.openshift.com/quickstarts/229-processwire This will helps you get up and running quickly with a Processwire installation on OpenShift. The database credential will automatically use upon installation and the hook script will check if you already completed the installation and remove it upon building.
-
Hi! Thanks for the heads up! Already updated! the template now support multiple images.
-
Hi! I think it's also serachable via API since it also a page. Have a look a comment with rating module. There is a added custom fields with that plugin
-
Hi! Have you already test the comments fields type? I think it suits on your need
-
Hi! Just currently using this on our proof of concept and on a hackaton. It's like ServicePage module but the difference is it return data without the need of extra programming (Image field for example). Also it only coded on the template. It primary used template URL segment to identify what page should be returned. All output is generated in JSON format. You can view it here.
-
Hi! Just create some WebServiceTemplate which enhance the functionality of the snippet. You can view it here
-
Ok. I already do this. What I do is this: public function init() { // add before-hook to the inputfield render method $this->addHookBefore("Inputfield::render", $this, "getPreviewURLField"); $this->pages->addHookAfter('Page::render', $this, 'hookFormRendering'); } public function getPreviewURLField(HookEvent $event) { $field = $event->object; if( $field->name == 'site_preview_url' ) { $this->url = $field->value; } } public function hookFormRendering(HookEvent $event) { // GET PAGE DATA $url = $this->url; $page = $event->object; if ( $url ) { $event->return = str_replace('<form id="ProcessPageEdit"', '<a href="' . $url . '" target="_blank">Go to site</a><form id="ProcessPageEdit"', $event->return); } } I have a follow question. Is this ideal
-
Hi! Is there anyone here already try to modify the function of View function? I tried to modify it using Inputfield::render when I assign new value, nothing happen. Also, I tried to use Page::render to have a different button but I cannot get the current editable field value of the page.
-
Hi! Is this applicable on managing data? specifically editing. Our app will not render any data on template file. This mean that all of our data will be fetch by another framework. So I will not put any code on the template. And I will only use this idea on editing a page on admin side. Is there any way processwire can do this without any APIsh approach? By the way. Nice idea
-
Yeah it's the same since it's serve as a widget. The only purpose of putting again a newsletter on the Credit Card page is for easy referencing of what widget is use on that page while Widget page is the collection of all Widgets.
-
Hi! Is it possible to have multiple page with shared content where when I edit a page some page will also affect by that changes? Here is a sample tree stucture: -Home --Credit Card ---Newsletter --Widgets ---Social ---Newsletter On the example above. If I edit some fields on Newsletter then the chile page Newsletter on Widget is also affected. Is this possible?
-
Remove Null Fields On Service Pages (Settings)
Christian replied to Christian's topic in Modules/Plugins
Oh! I'm sorry Posted -
We are currently using Service Pages to pull data and serve it on our front end. We can also remove null values by iterating to each fields and prepare new set of data with the formatted data we need. All is fine as of now, but it seems that a performance issue could occured if all available fields must return before formatting it. Is there any option to remove null fields via settings?
-
We are currently using Service Pages to pull data and serve it on our front end. We can also remove null values by iterating to each fields and prepare new set of data with the formatted data we need. All is fine as of now, but it seems that a performance issue could occured if all available fields must return before formatting it. Is there any option to remove null fields via settings?
-
Yup Hi! I think this is applicable on an API but what about the service pages. Is there any effiecient way to do this rather than finding content of an id?
-
Hi! Is there anyone here successfully get the data of repeater that has image fields on Service Pages Module?
-
Is it possible to use bootstraping using a url of ProcessWire?
-
Thanks I just tried to follow what Pete concept.
-
I'm currently on creating a module. What I want is, on a certain user, their publish post must be accepted by some author before going to live. In order to do this, I will put save the revised content on child page of that page then redirect them to parent. I want to put a message like "Revision saved. Waiting for publisher confirmation.". My question is, how can I show custom message on ProcessWire. Is it via session (PW wiil detect certain session then displayed)?