Jump to content

Fokke

Members
  • Posts

    74
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Fokke

  1. I just added some structured data to website with blog posts. I used https://github.com/spatie/schema-org library, which covers all schema.org types and their properties. This library was very simple to use.
  2. Hi! I tried your example and it seems to work properly, as the value of input is being outputted in alert after pressing enter. Which browser you're using? Any errors in console?
  3. Sorry, that repository no longer exists, as shipping translations for multiple modules in a single repo is not practical.
  4. v. 1.2.0 is now released Twitter tags will be rendered by default Added support for image alternative text using custom fields in images Added support for inheriting image from parent pages (including home page) Added support for fallback page for image. If the image cannot be found from the current page (and possibly enabled inheritance fails), the module will try to find the image from the given page. You can use this to define default image for all pages. Fixed crash when passing an empty Pageimages object as an image Fixed crash when supplying an invalid image width or height Note that module now requires PW 3.0.142 or later, as custom fields for image and file fields were introduced in that version.
  5. Updated for PW 3.0.200 master. Download here: https://github.com/apeisa/Finnish-ProcessWire/archive/refs/tags/v.3.0.200.zip
  6. Fokke

    other CMSs

    @AndZyk Here's a new fieldtype I have been working on for the past weeks. These draggable blocks are defined by developer using custom templates, and they are fully stylable. The module is quite far from being production ready, but I wanted to share this, since I think this might be something you're looking for ? Proper teaser video will come after I reach the first milestone in development process.
  7. New version of the module is now released. Truncate description using $sanitizer->truncate() method Added properties: description_max_length and description_truncate_mode Due to the usage of truncate method, the module now requires PW >=3.0.101 Image added using API will be resized Validate image object before resizing it Added API notes for all fields in module configuration Documentation fixes Download here: https://github.com/Fokke-/MarkupMetadata/releases/tag/1.1.2
  8. Hello there! Thank you for your suggestion. This sounds like a nice addition, and it will be added to the next version. maxLength will be configurable setting.
  9. ProcessWire 3.x markup module for rendering meta tags in HTML document head section. Note that this module is not a full-blown SEO solution, but rather a simple tool for rendering meta tags based on module configuration. Adding custom meta tags is also supported. Built-in meta tags The following meta tags are supported out-of-the-box: Document title consisting of page title and site name Character set Canonical Viewport Description Keywords Hreflang tags Open Graph og:title og:site_name og:type og:url og:description og:image og:image:width og:image:height Twitter meta tags twitter:card twitter:site twitter:creator twitter:title twitter:description twitter:image Facebook meta tags fb:app_id The full documentation with configurable options can be found here: https://github.com/Fokke-/MarkupMetadata Requirements: ProcessWire>=3.0.0 PHP >=7.1 Installation using Composer composer require fokke/markup-metadata Manual installation Download latest version from https://github.com/Fokke-/MarkupMetadata/archive/master.zip Extract module files to site/modules/MarkupMetadata directory.
  10. Finnish language pack is updated for PW 3.0.184 master. Download here: https://github.com/apeisa/Finnish-ProcessWire/archive/refs/tags/v3.0.184.zip
  11. Hi there! Backup your database and try changing database table collations to utf8_swedish_ci. In addition this solves some sorting issues with words starting with Å, Ä or Ö.
  12. Pushed another update. All strings are now translated! ?
  13. New version of the language pack for 3.0.123 master is now released! https://github.com/apeisa/Finnish-ProcessWire/releases
  14. Hi! You can use URL Segments to archieve this.
  15. Hi! I just pushed a new bunch of updates for PW 3.0.36 and drafted a new release. We are slowly reaching 100 % Any fixes or additions are welcome! Have a nice weekend!
  16. The current version covers a lot of 3.x stuff. Is there something in particular what you are missing? Since PW3 is now released as stable, maybe it's a good time to publish another release of the pack.
  17. Hi! Take a look at Repeater Matrix. Not really a drag-drop system like Visual Composer, but it lets you to define layout presets, edit and reorder them etc.
  18. Looks like you're using delayed output method. Therefore JS will be outputted in the wrong place. Try: $content .= "<script>history.go(-1);</script>";
  19. Hi! How about redirect using JS? Here's some discussion regarding sleep() function: http://stackoverflow.com/questions/3078867/php-output-text-before-sleep
  20. Hi there! Check configuration for "title" field. If you have unchecked "Global" option, the field will not be shown in the first step of page creation.
  21. Have you checked if there's any JS errors in console? Perhaps there's an error in your mystyles.js, or the file was not found.
  22. Hi Celfred! Maybe you're having non-breaking spaces in your if statement, which causes the error. Try clearing spaces in your statement and rewrite them. At least on mac version of Sublime Text alt+space inserts non-breaking spaces. If you're using Sublime Text, add this line to key bindings configuration (Settings > Key bindings - User) to prevent those nasty spaces: { "keys": ["alt+space"], "command": "insert", "args": {"characters": " "}},
  23. Hi! 'outer_tpl' is missing the class attribute. Set 'outer_tpl' => '<ul "pure-menu-list">||</ul>', to 'outer_tpl' => '<ul class="pure-menu-list">||</ul>',
  24. Hi Tony! Create a template for dam and attach all needed fields to the template. Then export database table to CSV file and use this module to create dam pages from table rows. http://modules.processwire.com/modules/import-pages-csv/
  25. Hello! Have you tried this module? With this you can edit company pages directly via page field. http://modules.processwire.com/modules/admin-page-field-edit-links/
×
×
  • Create New...