Jump to content

DV-JF

Members
  • Posts

    318
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by DV-JF

  1. Short question: Is it possible to add custom page classes to repeaters?

    I'm trying to do this with method but without any luck:
     

    Repeater Field Name: my-repeater
    File: /site/classes/RepaterMyRepeaterfield.php
    <?php namespace ProcessWire;
    
    class OwnRepeaterPage extends RepeaterPage {
        public function test() {
            return 'Test';
        }
    
    };

    Any ideas or hints?

  2. 10 minutes ago, ryan said:

    The new FormBuilder version includes various improvements but the biggest is a new version of the included InputfieldFormBuilderFile module that supports file/image uploads in forms. It has been improved with a preview option (for images), the ability to collect a description for each file, improved multi-file inputs, and more.

    A dream comes true !!! There's a german saying: "Was lange währt wird endlich gut." (What lasts long finally becomes good.)

    Actually, I wanted to get off work and start the weekend, so I guess it will be nothing for the time being ?

    • Like 3
  3. 3 hours ago, heribertus said:

    So I have to live with the jump to the startpage when switching.

    I don't get what you mean with this sentence. Could you explain? 

    You can put the language switcher wherever you want to. If you have e.g. a site spanning header or footer you could put the code in there.

  4. Hey @Wanze I've maybe figured out a problem with your module - see: https://github.com/wanze/SeoMaestro/issues/40

    Edit: Because this seems for me that this could be a problem for anybody else, I'll copy the text and images here - anyone else facing this problem?

    Seo image is duplacated multiple times:

    • PW Ver. 3.0.184
    • Modul Ver. 1.1.0
    • PHP 7.4
    • Settings - see. Screenshot below

    Description:
    Till now I've only setup one image on the Homepage (page id 1) for the SEO image field.
    But it seems, that every time  I save the page  I visit the page an extra image is created in site/assets/files/1234 the folder corresponding to the page I'm saving.

    EDIT OUUUCH -It seems even worse: - The suspicious files are generated every time the page is loaded in frontend - see last three screenshots.

    999075392_2021-12-2011_11_58.jpg.cfa38b9d40b7c5b4e995b2404c273100.jpg

    1295879251_2021-12-2011_13_13.jpg.03c3cff43d41d6f1402162b4f3671c12.jpg648843762_2021-12-2011_14_14.jpg.a02fd1f3700809277921516b0c362ba5.jpg

    This blows up the assets folder enormously and is absolutely weird.

    For more screenshots see attachments.

    2021-12-20 10_48_32.jpg

    2021-12-20 10_44_08.jpg

    2021-12-20 10_39_12.jpg

    Screenshot 2021-12-20 at 10-30-13 Feld bearbeiten seo_meta • stadthalle-kelkheim local.png

  5. 9 hours ago, kongondo said:

    I am closing the expressions of interest today folks. Final chance to register, otherwise you'll have to wait for the production release. Thanks.

    Thanks for the reminder. Just in time a customer of mine asked for a solution for a "mini-shop" on his website. This seems like the perfect opportunity to help you with some testing. Hopefully I'm not to late for the party ?

    • Like 1
  6. 1 hour ago, wbmnfktr said:

    Has anyone ever tried this css.php-approach in combination with ProCache?

    I'd tried, but it doesn't work out for me. Don't remember where the exact problem was. In the end I decided to not compress or cache the template, which is responsible for the output of the css file. 

    • Like 1
  7. Hey @DrQuincy

    in site/templates/admin.php you could do somthing like this:

    <?php $wire->addHookAfter('AdminTheme::getExtraMarkup', function(HookEvent $event) {
       
        $parts = $event->return;
    	$markup = '';
    	
    	if((wire('config')->debug) == true) $markup = '
            <div class="pw-container uk-container uk-container-expand">
                <div class="uk-alert uk-alert-danger">Your in Debug Mode!</>
            </div>';
        
        $parts['masthead'] .= $markup;
        $event->return = $parts;
      
    });?>

    Perhaps you could even check the $config->httpHosts if you want to.

    I hope this'll help you ? Many greets!

    • Like 4
×
×
  • Create New...