Jump to content

DATmedia

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by DATmedia

  1. Hi,

    I don't know how the official module should work, cause the QR-Codes are not permanent, so uploading a QR-Code makes no sense for me.
    Normally SEPA QR Codes are generated on the fly, with simple text.

    There are 12 lines with LF/CRLF:

    BCD
    002
    1
    SCT
    BICOFBANKACCOUNT
    RECEIVERNAMEOFBANKACCOUNT
    IBANOFBANKACCOUNT
    EUR123.45 // HERE CURRENCY AND AMOUNT
    // LINE EMPTY
    // LINE EMPTY
    HEREPURPOSE // E.G. INVOICE NUMBER
    

    QR Generator for testing: https://www.qrcode-generator.de/solutions/epc-qr-code/

    Best regards
    Philipp

  2. Hi,

    if you want to sort your tlds on domain page alphabetically you could add the following php function to "/templates/website/your-template/domain.php".

    Search for the line (in modern theme it is line 766)

    <?php
    	if(isset($tldList) && is_array($tldList) && sizeof($tldList)){
    		foreach($tldList AS $row){

    and add before the foreach this line:

    usort($tldList, function($a, $b) {
    	return strcmp($a['name'], $b['name']);
    });

    So it looks like:

    <?php
    	if(isset($tldList) && is_array($tldList) && sizeof($tldList)){
    		usort($tldList, function($a, $b) {
    			return strcmp($a['name'], $b['name']);
    		});
    		foreach($tldList AS $row){

    Voila, your array $tldList will be sorted alphabetically.

    Regards
    Philipp

×
×
  • Create New...