justb3a

Members
  • Content count

    317
  • Joined

  • Last visited

  • Days Won

    5

justb3a last won the day on April 26

justb3a had the most liked content!

Community Reputation

660 Excellent

2 Followers

About justb3a

  • Rank
    Sr. Member

Contact Methods

  • Website URL
    https://justb3a.com/

Profile Information

  • Gender
    Female
  • Location
    Leipzig, Germany

Recent Profile Visitors

4,794 profile views
  1. Version 1.0.7 excludes email and password confirmation fields from spam count. @Donald I hope, I've answered all your questions. Now I'm looking forward to merge your pull request to improve the documentation!
  2. Just basic test fields.. sometimes just some basic fields do break something. If I know that you use an email field with the checked option verify email address, it's pretty easy for me to submit a hotfix and exclude it from the counter. Thanks @maxf5 for pointing it out. You don't have to use the prefix at all. All fields which are added by the module will be prefixed – just to make sure the name has not been chosen yet. Please do not rename scf_website and scf_date because they are used for spam tests. The rest is up to you!
  3. @see: How to send more than one email
  4. Fell free to improve the documentation! You could easily send a pull request. This is open source. I develop it in my spare time. I don't receive any money doing this. I developed this module for personal use, and thought, it would be nice to share it with others... @see: Render multiple instances To figure out what causes this, it would be a good starting point to provide a bit more information. For example: which fields are added, how do you execute the module---...
  5. There you go: <?php $feed = $modules->get('InstagramFeed')->setImageCount(8)->getRecentMedia(); ?>
  6. I created a "Pull Request" at my own and extended the module config, so one is able to define a date range and reverse sorting. Thanks @Macrura
  7. @titanium The problem wasn't that you entered multiple fieldnames at once. The comma-separated may not include spaces. So entering `contact_title,contact_firstname,contact_lastname...` does work. I added a hotfix which removes the spaces before parsing the string.
  8. ah, good hint I added an option at the top of the list to select – All – countries.
  9. @mel47 You could use the following methods: $countries = $modules->get('ContinentsAndCountries')->getCountries(); // OR: $countries = $modules->get('ContinentsAndCountries')->findBy('countries', ['code', 'name']);
  10. Please rename headerImage to header_image (or something like this) and try again.
  11. Hei, I found some time to reproduce your issue. The logfile (BE > Logs > Simplecontactform-log) contains the reason what's going wrong: > [FAILURE] Number of fields does not match. This means that the number of submitted fields does not match the number of fields which are present in the form. Looking further it turned out that $this->input->post does not contain the checkbox field (if it wasn't checked). It's a standard browser behaviour that the value of a checkbox is only sent if the checkbox was checked. This means I have to exclude this fieldtype when comparing number of fields / counting fields. coming soon... Edit: Just published a new release / version 1.0.5. Please update.
  12. @PWaddict: There is already a module for cropping images: CroppableImage3 @theo: Actually the core/module do support it in a way that's not immediately obvious or as straightforward as checking a checkbox, but it's still quite useful and worthwhile when you need the capability. You could use tags or any other image extra field to achieve this. Edit any existing files/images field, or create a new one. When editing the field settings, check the box to enable “tags”, or create a new extra field named “hidden“ or something like that. In the “tags” or “hidden“ field for the image (which should be unpublished), enter a specific phrase like “hidden" (tags field) or “1“ (hidden field). Now you need to check if the file should be shown on the front-end of your site. Here's how you do that: // tag usage example if (!$image->hasTag('hidden')) echo "<img src='$image->url' alt=''>"; // extra field hidden example if (!$image->hidden) echo "<img src='$image->url' alt=''>"; You could also send a feature request to add this as a core feature (so you do not need to check manually whether the image is hidden and as an extra bonus the hidden images would be visible at first glance using opacity to indicate that).
  13. @geedamed I took me some time but I figured out, what the problem might be. I found a fix, but I do not understand exactly why this is happening. So if anybody could explain this behaviour, feel free to share it I added the `already formatted` check because in some cases the formatter was called twice (which could break the output). Let's define `in some cases`: images are outputted on the same page as saved to it just counts for the first/one image field I compared the passed HookEvents. The only difference was that in the first argument, which contains the current Page object, the page title was missing. So I added a check whether the Page object does contain a title, otherwise skip the formatter. I tested different cases (multiple images, multiple image fields, output from another page and so on). Seems to work – or every extra field the formatter is only called once.
  14. @Mike Rockett It's declared in `SimpleContactFormConfig.php:19`. It was declared as string (oops, my fault ) but should be of type array. I've fixed it.
  15. // @see: https://github.com/somatonic/Multisite/tree/dev#good-to-know-some-variables echo $page->rootParent->id; ... should work