Recently Browsing 0 members
No registered users viewing this page.
Just wondering if someone with a bit more PW knowledge than me could give a run down of what this method actually does and how its achieved.
I get that it rebuilds image variations but based on what settings?
If I wanted to rebuild all the websites image variations but at say a reduced image quality can this be set somewhere globally that this method would take into account?
For some context I have built a fairly simple module to delete all the image variations connected to any FieldtypeImage which is being used on the website, for the most part this works quite well. As I was quite happy with how that turned out I figured I would give the module another option to rebuild the images also. So there would be a 'Remove' and 'Rebuild' button on the modules config page.
The idea being that I could use this tool to delete all the image variations, update some global settings then regenerate them all but currently it doesn't appear to do that.
I assume this is either because my codes borked or im misunderstanding something fundamental about how rebuildVariations() works.
By Mike Rockett
Jumplinks for ProcessWire
Jumplinks is an enhanced version of the original ProcessRedirects by Antti Peisa.
The Process module manages your permanent and temporary redirects (we'll call these "jumplinks" from now on, unless in reference to redirects from another module), useful for when you're migrating over to ProcessWire from another system/platform. Each jumplink supports wildcards, shortening the time needed to create them.
Unlike similar modules for other platforms, wildcards in Jumplinks are much easier to work with, as Regular Expressions are not fully exposed. Instead, parameters wrapped in curly braces are used - these are described in the documentation.
Under Development: 2.0, to be powered by FastRoute
As of version 1.5.0, Jumplinks requires at least ProcessWire 2.6.1 to run.
View on GitLab
Download via the Modules Directory
Read the docs
The most prominent features include:
Basic jumplinks (from one fixed route to another) Parameter-based wildcards with "Smart" equivalents Mapping Collections (for converting ID-based routes to their named-equivalents without the need to create multiple jumplinks) Destination Selectors (for finding and redirecting to pages containing legacy location information) Timed Activation (activate and/or deactivate jumplinks at specific times) 404-Monitor (for creating jumplinks based on 404 hits) Additionally, the following features may come in handy:
Stale jumplink management Legacy domain support for slow migrations An importer (from CSV or ProcessRedirects) Feedback & Feature Requests
I’d love to know what you think of this module. Please provide some feedback on the module as a whole, or even regarding smaller things that make it whole. Also, please feel free to submit feature requests and their use-cases.
Note: Features requested so far have been added to the to-do list, and will be added to 2.0, and not the current dev/master branches.
Jumplinks is an open-source project, and is free to use. In fact, Jumplinks will always be open-source, and will always remain free to use. Forever. If you would like to support the development of Jumplinks, please consider making a small donation via PayPal.
I'm a new to website building. Learned some CRASH course of js,jquery,php. Then I found CMS. Still learning around forum, youtube....
Anyway, please help me with some beginer questions:
1, About template - please correct me if I understand wrong : every page should be (or recommended) built on a template. So if in total I'll have 10 pages, 2 of them have same layout, I'll need 9 templates. And, what fields a page includes, is not defined in page, but defined in the template that page uses.
2, Where to see what modules I've installed? is it in "Modules - Site"?
3, I installed "PageTable Extended", then what? As in a youtube tutorial, it should appear in Setup tab, but it doesn't. What's in there: templates,fields,logs,comments. (I installed "Uikit 3 site_blog profile".)
4, I did a search in Processwire website for the famous "repeater matrix" module, and can not find it, there's a Repeater, as well as a Matrix. Is it not a module?
5, I watched this youtube tuts: https://www.youtube.com/watch?v=IHqnLQy9R1A
Anybody familiar with this tuts please help:
After he analysed a target webpage layout he wanted to mimic, he created some fields, some template, then based on those he created a page and input some "content" in there, then clicked "view", it's just some text. So, here comes my question, he copied a folder "assets" (subfolders are: css,fonts,js,img) over, then the page have the appearance/layout he wanted to mimic. Where does that assets folder come from?
Appreciate any help.
I've created a set of modules for importing (manipulating and displaying) data from external resources. A key requirement was to handle large (100k+) number of pages easily.
import data from CSV and XML sources in the background (using Tasker) purge, update or overwrite existing pages using selectors user configurable input <-> field mappings on-the-fly data conversion and composition (e.g. joining CSV columns into a single field) download external resources (files, images) during import handle page references by any (even numeric) fields How it works
You can upload CSV or XML files to DataSet pages and specify import rules in their description.
The module imports the content of the file and creates/updates child pages automatically.
How to use it
Create a DataSet page that stores the source file. The file's description field specifies how the import should be done:
After saving the DataSet page an import button should appear below the file description.
When you start the import the DataSet module creates a task (executed by Tasker) that will import the data in the background.
You can monitor its execution and check its logs for errors.
See the module's wiki for more details.
The module was already used in three projects to import and handle large XML and CSV datasets. It has some rough edges and I'm sure it needs improvement so comments are welcome.
TemplateEnginePug (formally TemplateEngineJade)
This module adds Pug templates to the TemplateEngineFactory. It uses https://github.com/pug-php/pug to render templates.
doctype html html(lang='en') head meta(http-equiv='content-type', content='text/html; charset=utf-8') title= $page->title link(rel='stylesheet', type='text/css', href=$config->urls->templates . 'styles/main.css') body include header.pug h1= $page->title if $page->editable() p: a(href=$page->editURL) Edit Project on GitHub: github.com/dreerr/TemplateEnginePug
Project in modules directory: modules.processwire.com/modules/template-engine-pug/
For common problems/features/questions about the Factory, use the TemplateEngineFactory thread.