Hingucker GmbH
Forum Replies Created
-
We were able to set up a test environment where two domains point to the same wordpress instance. This also works wonderfully with Elementor.
Using our own shortcode, we can read the variable $_SERVER[‘HTTP_HOST’] in the Elementor header in a similar way to what has already been described and insert the appropriate header template accordingly (with another shortcode to load the corresponding Elementor templates).
This already solves many points on our list of problems.
At the moment, we still have the question of how we can make it so that the English-language content of the main domain can be displayed when calling the co.uk domain without requiring a directory in the URL. At the moment, the page is called up via domain.co.uk/en, but we would like the page to be called up via domain.co.uk. We use Translatepress for translation. However, we were told by the plugin developer that the plugin is not compatible with this requirement.
Is there a suggestion for solving this problem? Or a suggestion for a translation plugin that we can use instead of Translatepress and that could meet our requirements?
- This reply was modified 2 years, 6 months ago by Hingucker GmbH.
The suggestion to solve everything in a WordPress instance and to do without synchronisation sounds very good to us. Is that feasible with Elementor?
Is there a code example that we could use to get to grips with the issue? At the moment, it is completely unclear to us how we should solve this exactly and which requirements have to be met on the server beforehand so that we can translate the page and then have it delivered to the users via the dynamic domain.
Forum: Plugins
In reply to: [Swiss QR Bill] Umlaute werden in der QR-Rechnung mit ?? dargestellt@asoguet Oben finden Sie die Codekorrektur, welche für den Fehler hilfreich ist.
So k?nnen Sie den Fehler umgehen, bis es zu einem fehlerfreien Release kommt.Kreative Grüsse
Forum: Plugins
In reply to: [Swiss QR Bill] Umlaute werden in der QR-Rechnung mit ?? dargestelltEs freut mich, dass es bei dir geklappt hat, Jean-Pierre.
Ich hoffe nun, dass die Plugin-Entwickler das Problem in der n?chsten Version angehen werden. Ansonsten wissen wir ja jetzt, was zu tun ist.
Liebe Grüsse
PhilippForum: Plugins
In reply to: [Swiss QR Bill] Umlaute werden in der QR-Rechnung mit ?? dargestelltHallo
Das Problem hat mit dem Encoding zu tun.
Beim Aufruf einer Funktion in swiss-qr-bill/includes/tcpdf/templates/parts/order-items.php ist dieses nicht spezifiziert, was zum Fehler führt.Bei uns hat folgende ?nderung das Problem behoben:
Die folgende Zeile
<td colspan="2" class="order-item w-lg <?php echo $item['type']; ?>"><?php echo mb_strimwidth($item['td1'], 0, 70, "(...)"); ; ?>
?ndern in
<td colspan="2" class="order-item w-lg <?php echo $item['type']; ?>"><?php echo mb_strimwidth($item['td1'], 0, 70, "(...)", "UTF-8"); ?>
Ich hoffe, das hilft auch Ihnen weiter.
Philipp von hingucker.ch