-
Posts
42 -
Joined
-
Last visited
Recent Profile Visitors
2,561 profile views
yesjoar's Achievements
Jr. Member (3/6)
16
Reputation
-
It is. And it is installed.
-
I have the latest dev version. PageTable is installed and everything works fine for me. Like I said. But the rendering in the page itselfs doesn't work for me. Also I can't install the second rendering module.
-
Hi Marc, you know - I don't have any experience with PageTable field. I've installed the module and added the templates. Everything works fine for me. The Elements are there, I can add content und frontend shows everything. In your folder are two Modules. PageTable Renderer (Renders PageTable entries in admin) and PageTable render (Adds render functionality for PageTable fields). First one is installed. The second one requires InputFieldPageTable which I can't find. I thing thats the reason, why I have no settings. The rendering doesn't work for me yet and I've a little understanding problem, how I got this working for me…
-
Hi there, I build a module which provides some new fields which you can add to your templates. I want to add these fields via the module settings. At the moment I have a list with all templates and a checkbox, but there is no functionality… Is this possible on an configurable module or do I need a own page for this module under /setup/ to handle this. And how it works? See you! y. // sorry, can someone move this thread to the dev section, please?
-
Hard to handle this with Image-Uploads from the front-end.
-
Is there any documentation how to use this function, Ryan?
-
Hey there, I have a big problem with an Processwire installation on a 1und1 server. I made the whole site locally. Now I switched to the liveserver and nothing works. The following debug message I became: And yes, I use the newest version of processwire. Fatal error: Exception: SQLSTATE[HY000] [2054] Connecting to 3.22, 3.23 & 4.0 servers is not supported (in /homepages/1/d11728757/htdocs/website/wire/core/ProcessWire.php line 143) #0 /homepages/1/d11728757/htdocs/website/wire/core/ProcessWire.php(51): ProcessWire->load(Object(Config)) #1 /homepages/1/d11728757/htdocs/website/index.php(185): ProcessWire->__construct(Object(Config)) #2 {main} in /homepages/1/d11728757/htdocs/website/index.php on line 216 So I tried out a clean installation. At the installation process I get this error: Database connection information did not work. SQLSTATE[HY000] [2054] Connecting to 3.22, 3.23 & 4.0 servers is not supported Any ideas how can I fix this problem? Best, Kai
-
Seems there is a problem with the array merging. The variables $customer_merched, $service_merched and $business_merched alone, but after the merching the result is empty… Any other suggestions? Thanks DaveP!
-
Hey there, a little question. I have three fields for the template project: customer, service, business. Now I go to a project and want to show more projects on the given value. So I want to say: Give me all projects, which have customer=$page->customer or service=$page->service or business=$page->business. The comma is the AND selector. But is there a possibility to set an OR selector between more fields? Thanks for your input! Kai.
-
Hey there, I have an image field, that only can have one image. Is it possible to change the image description without change the uploaded file? I want upload an image in the frontend and set a description. But I need the possibility to change the description without upload the image again. $p->setOutputFormatting(false); $p->image->description = "Test"; $p->save() $p->setOutputFormatting(true); This returns: Error: Exception: Item 'description' set to Pageimages is not an allowed type And ideas? Best, Kai
-
Hey there, short question. I have a Repeater-Field with 2 Text-Fields and 1 textarea. A front-end-user should be able to create new elements in this repeater-field. So I have a form with 2 text-fields and 1 textarea, but I don't know, how I can store the inputs in a new Repeater-element… Any ideas for that? Kind regards. y. /edit Ok, sorry for that. Already documented. http://processwire.com/api/fieldtypes/repeaters/
-
Thanks for your post. Yes, the idea sounds good and simple, but I have many problems with that. $this->pages->addHookAfter('save', $this, 'writepdf'); So, this is my Hook. So the function writepdf will be called AFTER the page will be saved. Now I get the elements which will be in my pdf document, but how I can save the generated document now? I mean, the page is saved already… Know what I mean? So I've no idea what's the right approach is…
-
Hey there, for a new project I need some tricky stuff. The customer need a pdf from his content elements. My idea was to build a module, which create a pdf each time the page will be saved. At the moment I have a init with addHookAfter('save', $this, 'writepdf); In the function writepdf I want to create the pdf and then save this in a file-field, which the page has. Is this the correct way or would you do this on a other way? I don't want to create the pdf every time a user clicked the pdf-link in the frontend, so my idea was to do this on this way? Would be nice to hear from you with a little input. (:
-
@Soma I want collapse both text-area-elements. (Textarea #1 and Textarea #2) And they should be always collapsed. First when i click on an element I see the the fields in there.
-
Hi there. An other question today. I have a really big repeater-field. So now I add a new repeater-element and all my fields are displayed. Thats ok. But I need an option to hide the repeater-element. So, when I create 3 repeater-elements my page is too long. I want a click on my repeater-element and then the fields are displayed. (And now, I don't wanna hide the repeater himselfs at first.) Any ideas, how I can handle this? y.