-
Posts
355 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Mats
-
-
-
This solved it: \ProcessWire\__text(' Your email', 'email');
I tried to add namespace ProcessWire earlier but got an error that it had to be added at the beginning of the file.
Thanks @teppo!
Edit: Seems like the field doesn't show up in the editor. The field (label is showing) is there but no field to edit.
-
-
Hi @teppo!
I'm trying to use Ryans Functional field on a Wireframe site like this in the home view:
<?= __text('Email') ?>
But i get an error:
#0 wire/core/TemplateFile.php (327): require() #1 site/modules/Wireframe/lib/View.php (84): TemplateFile->___render() #2 wire/core/Wire.php (414): Wireframe\View->___render() #3 wire/core/WireHooks.php (951): Wire->_callMethod('___render', Array) #4 wire/core/Wire.php (485): WireHooks->runHooks(Object(Wireframe\View), 'render', Array) #5 site/modules/Wireframe/Wireframe.module.php(799): Wire->__call('render', Array) #6 wire/core/Wire.php (417): Wireframe->___render(Array) #7 /Applications/MAMP/htdocs/stellankram (line 19 of site/templates/views/home/default.php)
Do you have any ideas how to get the Functional fieldtype working with Wireframe?
/Mats
-
Thanks @teppo!
I used the code in a search function like you do in the Wireframe docs site. The init method works fine.
Thanks for your help and for creating Wireframe and SearchEngine, trying to use them on everything i build nowadays.
-
1
-
1
-
-
I'm using the Searchengine module along with Wireframe. When trying to set the view for the ajax return it seems that the default view is called instead. When i add mark up to the default view it shows up in the json.
if ($this->wire('config')->ajax) { // Respond AJAX query with JSON search results. $this->view->setLayout(null)->setView('json'); header('Content-Type: application/json'); // Return results as JSON. $json = $searchEngine->renderResultsJSON([ 'results_json_fields' => [ 'title' => 'title', 'desc' => 'summary', 'url' => 'url', 'parent' => 'parent.title', 'template' => 'template.name', 'image' => 'pris_strl_nr_repeater.first.images.first.url', 'price' => 'pris_strl_nr_repeater.first.pris' ], 'results_json_options' => JSON_PRETTY_PRINT, ]); return $json; } else { // Render search form and results. return $searchEngine->render(); }
-
-
I'm trying to use a component in the layout file and followed the instructions here: https://wireframe-framework.com/docs/view/components/.
But i get an error that the Wireframe class is not found:
Fatal Error: Uncaught Error: Class 'Wireframe' not found in site/templates/layouts/default.php:12
-
Hi @Bike
Did you check the docs? https://processwire.com/docs/fields/select-options-fieldtype/#multi-language-translating-options
If you want pages as options you can use the page reference field.
/Mats
-
@JeevanisM Hi! I don't know if that is possible at the moment, the website field is already there like Wanze mentioned.
-
1
-
-
The 5000 hits limit resets hourly so I think it should be ok.
-
1
-
-
1 hour ago, bernhard said:
= I have not thought about that, but it's a good idea and easy to implement.
= I have not thought about that and I'm not willing to add any other services.= I have not thought about that and I don't know how o add any other service. ?
2 hours ago, Macrura said:Does this use a fixed api key, or will that api key need to be configurable at some point?
This uses a fixed api key.
-
2
-
-
2 minutes ago, bernhard said:
thx, this has been on my wishlist for quite some time ? Have you thought about also integrating other services like https://www.pexels.com or https://pixabay.com ?
Hi @bernhard! No, i haven't thought about that.
-
28 minutes ago, kongondo said:
Loving the name ?
The name might be the best part of the module. ?
A Readme is added.
-
3
-
-
BETA: SplashAndGrab
https://github.com/madebymats/InputfieldSplashAndGrab
This module attaches a search input to selected image fields that lets you search and download images from Unsplash.
(Unsplash is a stock photo service where you can download images for free and use as you wish. No strings attached.)
You can search by string, colors, orientation/crop and order by relevance or time publishedI find Unsplash useful both for placeholder images when building sites but also as a time saver for editors if they don’t have any images at hand, just search, download and publish.
Thanks to @apeisa for building the FlickrInputField Module and @Robin S for AddImageUrls, took a lot ideas and code from those modules.
-
16
-
-
No, i don't know why it is happening. Check the link for the pull request, it might help.
This could help also: https://stackoverflow.com/questions/48599370/issues-with-google-map-greyed-out
-
Do you have the latest version of the Googles map marker module?
There was an issue with hidden elements (looks like the map is in a repeater field) although it should be fixed in the latest version: https://github.com/ryancramerdesign/FieldtypeMapMarker/pull/2There is a Leaflet version of this module: https://modules.processwire.com/modules/fieldtype-leaflet-map-marker/.
Don't know if it will solve your issue though. -
@Mamun Paul Do you have any console errors?
OT: Looks like this site could be of interest based on your map: https://alltpaoland.se/platser/parboang-naturturism/ ?
-
Hera are som tips and tricks for Azure web apps on IIS: https://cloud.accigo.se/blog/azure-app-services-and-wordpress-slow-heres-how-to-fix-it/
-
1
-
-
Hi!
Did you install the MarkupAddInlineScript module?
/Mats
-
Tested on another MAMP installation and it works as expected there.
-
1
-
-
Perhaps a MAMP thing then.
-
Can't save Crop Settings (square,200,200 for example). Other settings saves.
ProcessWire 3.0.152 dev
-
Tested on local installation on MAMP.
No previous CroppableImage module installed.
I get the error only when trying to save with Crop Settings otherwise it saves as expected.
Downloaded the module here: https://github.com/horst-n/CroppableImage4
Wireframe
in Wireframe
Posted
Thanks @teppo
Didn't look close enough in the select list to see all available files.