-
Posts
433 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Klenkes
-
I think the problem is that in the moment of adding the new page the ID ist not known yet. So, the logical steps would be: add the page and then rename it. The issue has been discussed before.
-
Holy __insert-term-of-choice__ This works absolutely great! I replaced stuff on hundreds of pages with textareas of type text and teatareas with CKE and didn't encouter one error! Without BCE and the replace admin action this whole untertaking of migrating to PW wouldn't work at all! I can't thank you enough.
-
Thanks, but no need to work witout pay on a sunday...
-
@adrian just asking... I am in the process of migrating 10+ websites to processwire and exporting and importing content works great so far, but in some fields old Smarty calls are present and I want to search and replace it with new Hannacode. Unfortunately most of the affected content is in Profields Textareas and the admin action SearchAndReplace doesn't work there. All content is deleted... Should it work in textareas or do you know of any quick fix or snippet? (BTW too many pages to it by hand)
-
Haha, that was quick Works like a charm! Thanks!
-
Is HannaDropdown supposed to work on ProFields Textareas too? Because I can't get it to show on multiple textareas with CKE, but perfectly on a single CKE textarea. PW 3.0.42 and ProFields Textareas 0.0.6
-
I don't want to live without ProFields anymore! If your fields have all the same requirements then ProFields Textareas is your friend. The name a bit misleading, because it covers more than just Textareas. Also oneline inputs and more(Email, Datetime...). Imagine 10 or more input type text with different sizes, titles and notes, all grouped together but just a single database field! My clients love it! And so do I. RepeaterMatrix is a work of art in itself. Those two fields alone are worth every Penny/Cent/CurrencyOfChoice!
-
Awful load times after upgrading to ProcessWire 3
Klenkes replied to Marc's topic in General Support
I did exactly the same test with exactly the same results as Soma, and I squeezed PW 2.8.35 in between, which resulted in values riight in between around 200ms with Chrome Dev Tools. I even took a small website of a friend(PW 2.7.2) and copied it to 2 locations and updated one to 2.8.35 and the third to 3.0.42 At first the 3.0.42 was faster! About 30%. But after a lot of reloads to check the load times it got slower and slower and ended up last place. This is weird... -
Awful load times after upgrading to ProcessWire 3
Klenkes replied to Marc's topic in General Support
I absolutely agree! I tested a testsite of mine with PHP 5.4(and 5.6) and noted the times for a few different pages with Tracy. Times like 750ms to 1.2 sec. Then I switched to PHP 7 and generating times went down like crazy. Well... about 30-40% down. 500ms instead of 750ms and 400ms instead of 680ms -
Switch Statement to control included files
Klenkes replied to louisstephens's topic in API & Templates
Seems to me that you need something like a PHP var: $_SERVER['REQUEST_URI'] instead of: $config->httpHost; -
The Pseudo German is adorable I think I have to learn to talk like that
-
Since website.com/cycle/ would be a toplevel category why not show some kind of summary of the latest entries? This is what PW is great in! $newentries = $pages->find("parent=$page->children, sort=-created");
-
Have you tried to change the settings for the CKE Field? There is a section called: Beautify Markup Toggles. Are there any settings checked?
-
Perhaps I misunderstood but what if you put it outside of the foreach loop so it gets output only once? <?php echo $page->parent->title;?> <?php foreach($pages->find("parent=recommendations") as $child) { ?> <?php echo $child->title;?> <img src="<?php echo $child->Image->first()->size(200,0)->url;?>"> <?php } ?>
-
How do show full path of image on template plus different sizes
Klenkes replied to OpenBayou's topic in API & Templates
The slightly longer version... where (200,200) means an image width 200px in width and height, croped from the center. (200,0) would result in an image 200px in width and whatever results in the height A good starting point would be the doc to the fieldtype images -
One way of doing it would be: foreach($pages->find("parent=recommendations") as $child){ echo $child->title; } but there are many more ways to accomplish that goal. Best starting point would be to read the docs of selectors
-
I usually do it this way: if(count($match->pic)){// if pic is the fieldname and more than one image is allowed $resized = $match->pic->first->size(100,0);// if the image has to be smaller than original echo "<img src='$resized->url' width='100' alt=' '>"; } if pic has more than one image allowed in max filers setting
-
Ahhh... new module name: ImportingMadeEasy! Absolutely great! I tested with field pairing and it works without any flaws. And no rush with the "Configurable Pages" issue, or even if it is no doable. The way BCE now works is absolutely great and I can plan to migrate a few websites to PW. Many thanks and have a great christmas holiday.
-
just asking... could it be that it is not yet supported to import multiple images(separated with a delimiter) to an image field? I went through the module code(not that I understand a lot of it but getting better) and couldn't find any reference to importing multiple images.
-
How about disable it in the settings for the field? Uncheck PWimage or remove it from the toolbar?
-
Wishlist: Add a "Siblings" tab to edit mode
Klenkes replied to creativejay's topic in Wishlist & Roadmap
Since it remembers which tree is open it's exactly two clicks. Open tree and click on siblingpage. Or do you mean a siblingsview on the same tab as your fields? -
Wishlist: Add a "Siblings" tab to edit mode
Klenkes replied to creativejay's topic in Wishlist & Roadmap
@creativejayUntil the new admintheme Reno I thought the same thing but with the modal-flyout-tree it's just as easy. -
While importing one image per field works fine I seem to be unable to import multiple images to an image field. The image field has no special setting and importing just one image works. I have tried with different separators(#, ##, \r, |) but to no avail. Strange, because this week I imported multiple values to an option field with no problems. Did I miss something? BCE 1.4.9 on PW 2.8.35 3.0.39
-
After test importing hundreds of pages in the last days I think BCE is a real time saver! Good job Adrian! I still struggle with one feature though... since I have a lot of ProField Textareas to import to I have to use field pairings which works great, even with images, but the only location to configure field pairings are the parent pages. This means I have to add each and every parent page to "Configurable Pages" in BCE settings. I can work with that but wouldn't make it more sense to make it template related? Since the template defines the fields to use then field pairings would be unique to a template? I think I read something about this before in this thread but cannot find it anymore...
-
That's strange... I had the same problem with the version 1.4.1(?) but now my version is 1.4.7 and I paste my CSV and it works perfectly. I save my CSV with \r\n at the lines end.