
hellerdruck
Members-
Posts
33 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
hellerdruck's Achievements

Jr. Member (3/6)
5
Reputation
-
Hi @bernhard I wasn't able to work with DDEV (too complicated for my taste and simply no time to learn). I have just downloaded the latest RockCommerce Version and still can't install it. This is the error I'm getting: ModulesInstaller: Unable to install module (RockCommerce): Invalid value sent to Page::setTemplate. With latest PW version 446. Any ideas? Thanks
-
Hi @bernhard Thanks for your reply. Same result with RockMigrations 6.5.
-
Good morning @bernhard I did a fresh installation and did everything like you suggest in your video above. After clicking "install", I get the following error: Unable to install module (RockCommerce): Invalid value sent to Page::setTemplate PW 3.0.244 PHP 8.2.26 MySQL 5.7.44 Local installation on Mamp Pro 7.2 Mac iOS Sonoma 14.7.1 Thanks for your help! Best, Roli
-
Hi @bernhard, it basically states the following: Error installing module - RockCommerce ModulesInstaller: Unable to install module (RockCommerce): Invalid value sent to Page::setTemplate Templates: Template 'cart' page class '\RockCommerce\Cart' is not available Templates: Template 'carts' page class '\RockCommerce\Carts' is not available Templates: Template 'item' page class '\RockCommerce\Item' is not available Templates: Template 'order' page class '\RockCommerce\Order' is not available Templates: Template 'orders' page class '\RockCommerce\Orders' is not available Templates: Template 'rootpage' page class '\RockCommerce\RootPage' is not available Templates: Template 'settings' page class '\RockCommerce\Settings' is not available Templates: Template 'taxrate' page class '\RockCommerce\Taxrate' is not available Templates: Template 'taxrates' page class '\RockCommerce\Taxrates' is not available Templates: Template 'webhook' page class '\RockCommerce\Webhook' is not available Templates: Template 'webhooks' page class '\RockCommerce\Webhooks' is not available
-
Hi All Bought the RockSuite including the RockCommerce Module. When I try to install the Commerce Module, I get the following errors: Any ideas what's wrong here? Using PW 3.0.244 and PHP 8.2.26 on local Mamp Pro Installation. Thanks for any input. Roli
-
Thanks for your answer @elabx, but I can't get it to work.. I used the following settings in config.php: $config->httpHosts = array('rootpage.ch', 'www.rootpage.ch'); $config->MultisiteDomains = array( "site-a.ch" => array( // domain name is used to map to root page "root" => 4886 // page id ) ); $config->httpHosts = array_unique(array_merge($config->httpHosts, array_keys($config->MultisiteDomains))); the domain site-a.ch points to the same hosting as rootpage.ch (I guess there should be no redirect on the domain) but no luck...
- 2 replies
-
- processwire
- multisite
-
(and 3 more)
Tagged with:
-
Hi all I've built a website that contains 3 OnePagers. The structure is: - home (landingpage with links to sites a, b and c) -- site a -- site b -- site c -- other pages... Home has the main domain, let's call it main.com. the three pages are main.com/site-a, main.com/site-b and main.com/site-c. I'm looking for a way to have site a to c with their own domains, like site-a.com, site-b.com, site-c.com. these domain names should be visible in the url-bar of the browser (not main.com/site-a). Is there a way to do that? I want to keep it a single Processwire installation, not having three different ones (I know how to do that). Your help is very much appreciated. Thanks
- 2 replies
-
- processwire
- multisite
-
(and 3 more)
Tagged with:
-
Hi all I have a text search based upon Ryans search template. Unfortunately, I can't make it work with Repeater Matrix fields inside repeaters. I have a repeater field called "content_sections" and inside, there's a repeater matrix field called "items". As I understand it, the selector for a textfield inside the repeater matrix should be: content_sections.items.textfield But this does not deliver any results at all. Any ideas anyone? Thanks Roli
- 1 reply
-
- search
- repeater-matrix
-
(and 2 more)
Tagged with:
-
Create Page from OpenImmo XML Files (Images)
hellerdruck replied to hellerdruck's topic in API & Templates
Hi @3fingers, thank you! @horst, can you help me with the attributes part? I tried this now (not working): foreach ($xml->anbieter->immobilie->anhaenge->anhang as $anhang) { $attr = $anhang->attributes(); foreach ($anhang as $key => $image) { if ($attr == 'TITELBILD') { $object->object_header_img = $image->daten->pfad; } else { $object->object_images->add($image->daten->pfad); } } } -
Create Page from OpenImmo XML Files (Images)
hellerdruck replied to hellerdruck's topic in API & Templates
Hi @horst Unfortunately, it doesn't work. As mentioned above, I have one field, where the header image should be added (object_header_image) and the other field for the rest of the images, they go to the gallery. The only difference between these images is the xml attribute ("Titelbild" or "Grundriss" or whatever). I thought, that's how I have to target them. I just don't get it to work. Is there a setting that I haven't done on the image field itself maybe? -
Hi all I'm working on a website for a real estate company using a CRM Software called "Propstack". All the Objects are created in Propstack and when ready, the customer can send an XML-File (OpenImmo Format) to the server of the website - one per language (English and German). I was able to create pages out of every estate object apart from the images. I can't make it work. Here's the important part of the XML-File (pfad would just be the image link): <openimmo> <uebertragung art="OFFLINE" umfang="TEIL" modus="CHANGE" version="1.2.7" sendersoftware="PROPSTACK" senderversion="1.0"/> <anbieter> <immobilie> <anhaenge> <anhang location="REMOTE" gruppe="TITELBILD"> <anhangtitel>Aussenansicht</anhangtitel> <format>PNG</format> <daten> <pfad>https://image-link.com/image.png</pfad> </daten> </anhang> <anhang location="REMOTE" gruppe="GRUNDRISS"> <anhangtitel>Grundriss 1.2</anhangtitel> <format>PNG</format> <daten> <pfad>https://image-link.com/image.png</pfad> </daten> </anhang> </anhaenge> </immobilie> </anbieter> </openimmo> There will always be one image with the tag gruppe="TITELBILD" that should be inserted to the field object_header_img. All other images should go to the gallery field object_images. I was able to create the pages and transmit all textfields to the right fields in Processwire then save it, but it would not save the image. Here's what I've done: $object = new Page(); $object->template = 'object'; $object->parent = wire('pages')->get('/objekte/'); $object->name = 'objekt-' . $object_id; $object->object_id = $object_id; $object->title = $xml->anbieter->...; // this works $object->save(); // this part doesn't work foreach ($xml->anbieter->immobilie->anhaenge->anhang->attributes() as $attribute) { if ($attribute == 'TITELBILD') { $object->object_header_img = $xml->anbieter->immobilie->anhaenge->anhang->daten->pfad; } else if ($attribute != 'TITELBILD') { $object->object_images->add($xml->anbieter->immobilie->anhaenge->anhang->daten->pfad); } } $object->save(); Can anyone help with this, please? Also, I would need to know, how to target the fields for a certain language. Propstack will deliver 1 xml file per language, but I would want to have one object in Processwire with both languages. Any ideas? Thank you very much Roli
-
Hi all I need to export all the texts from a website to a translation company (as json or csv or txt...). How can this be done? Of course manually, but this website is huge and it would take me years... Also, as a second step, importing the translation ... Any ideas anyone? Tutorials? Plugins? Thanks for your help.
- 1 reply
-
- translation
- export
-
(and 3 more)
Tagged with:
-
No, I meant rather some list-like thing. I wouldn't need a thumbnail preview for an excel file. A line of info, next line of info.. what you have there only kinda suits images.. I guess I'll find it in the CSS files then.
-
by the way, is there a way to show a more "dataTables" kinda look? I find the thumbnails quite big for the file load we'll have..
-
No, I uploaded the zip file by using the modules installation uploader. just upload, install, didn't work. hope that helps.