 updates to content blocks would seriously kick butt. Sort of comparable to Livewire in Laravel. That would be incredible for 4.0.
- @Robin S thank you highly. I learned so much from this. So wonderful and practical.
Dependent Selects
fuzenco replied to DxJR's topic in General SupportAs of today, yes! Your prayers were answered today 😂
PW 3.0.198 – Core updates
fuzenco replied to ryan's topic in News & Announcements@ryan does Horst’s commit fix the problem of image uploads that are rotated 180 degrees when saved to a page? From what I can remember in my mini app, even the thumbnail preview when using the file upload field flips images upside down. Which isn’t a deal breaker but still. I end up doing an image rotation on the front-end so the image is showed right-side up.
- @horst Thank you. I think Curl may do the trick. This will give me something to learn.
- I meant uploading a file from my PW page to a remote server. It has to be part of my app and not something done via an FTP client (in my case Transmit on macOS). Also, file permissions and such I don't have to set. I already have access and permissions based on my login credentials to the remove server.
SFTP file uploads to remote server
fuzenco posted a topic in General SupportHey everyone. This community has been of help and I need a little direction. I’m in need of uploading files to a remote FTP server (not at my hosting company). I have to use SFTP and not standard FTP. Can anyone point me in a direction on how to do that within a PW page/app? I have the credentials along with a port number. I’m assuming PW doesn’t have built-in code to facilitate this, correct? So doing research, I found this package: Assuming I have to use this package, seeing I’m a designer (not developer), could I download the package and simply install it somewhere within PW’s directory structure and then call it from my page? If so, where would I place it? And then once placed, would I call it at the top of my page like so?… use phpseclib3\Net\SFTP; $sftp = new SFTP('localhost'); $sftp->login('username', 'password');
Headless ProcessWire - How Do You Do It?
fuzenco replied to wbmnfktr's topic in Dev TalkThis is amazing. This might finally get me started with APIs in the comfort of my favorite CMS/CMF.
- That map is very nice. I’ll keep Leaflet in mind for my next improvement to my app. Thank you, as I see how some of that code you posted would be beneficial. Turns out MapMarker can’t be used in FormBuilder, which I didn’t realize. I wanted to use it for capturing coordinates as entries were saved. So instead, I ended up using a PHP script that I tailored to my needs. In PW, I queried and saved all the addresses (right now about 10–12, eventually up to 30) to an array. I then passed that array to Google’s GeoCoder API and let it do the hard work (parsing the address) instead of me having to figure out latitude and longitude. It works well and loads fast. I’m not a developer but thanks to helpful answers by everyone in this community, I’m able to learn as I go.
- Well, looks like it may be simpler than I thought. This has a PHP example: This tutorial has a nice Fiddle code example:
- I would like to iterate through PW pages and grab the coordinates (that FieldtypeMapMarker created on saving the page) and display those multiple markers in __one__ map. I would love to have a module that does that, but I don’t see that in the PW module directory. Has anyone done anything like this in a PW project? I did a little research and found this from Google: It appears to ingest a JSON file for the marker locations.
Selectize All
fuzenco replied to Robin S's topic in Modules/PluginsCan this be used in FormBuilder forms?
Module Selectize.js modules family
fuzenco replied to Macrura's topic in Modules/PluginsIs there a simple code example for using module with a simple Options list (one per line)? I don’t need fancy visuals. I’d just like to use this module because of its search capability. All I want to do is search the list I entered in the Options field. Options ----- Option A Option B Option C UPDATE: Disregard. I figured it out.
PW 3.0.189 – Core updates
fuzenco replied to ryan's topic in News & AnnouncementsGreat to see HTMX getting some love:
WordPress compromise
fuzenco posted a topic in PubSo happy to be a Processwire user:
Export pages to csv
fuzenco replied to joey102030's topic in General Support@Soma This code works perfect. In my case the file is being saved to server, I want to initiate a download and not save it to the server. How could I do that? I know it has to do with headers, correct? Any help would be appreciated.
- This is awesome. Thank you.
- Yes, I can imagine it would be complex. I think ExpressionEngine did it by means of an inline group-by. For instance: <li class="whatever" groupby="datacolumn"> And then there was a sort-by also: <li class="whatever" groupby="datacolumn" sortby="whatever">
- Generally, this would be a shared template as the homes all contain the same content blocks (title, description, number of bedrooms, number of bathrooms, picture gallery, etc.). The only difference really is the classification of homes. Years ago, I used to work with the CMS Expression Engine which would allow for this type of grouping. I can’t remember how it did it, but it was was useful.Westerly officials say the town was overcharging for parking tickets for years.
The Westerly Sun reports that Police Chief Edward St. Clair told the town council on Monday that they had been charging $25 per instance of overtime parking when a town ordinance only allows a fine of $15.
Council Vice President Kenneth Parrilla says a town official apparently increased the amount several years ago but no one could explain why or when the change was made.
St. Clair says he was alerted to the problem this summer and then changed the ticket amount to $15.
Westerly lawyer Robert Lombardo says he told town officials about it back in January after he got two $25 tickets. He asked the council how people will be repaid.
Councilor Caswell Cooke Jr. said people should be refunded.
23 Kenney DriveCranston, R.I., 02920
Telephone: 401.455.9100
NBC 10 Outerwear Provided by:
NBC 10 Media RelationsProvided by:Low levels of vitamin K can increase the chances of uncontrolled bleeding, said Neha Choudhary, Nutrition dietitian, SRV Hospitals – Dombivali
Vitamin K has a wide range of health benefits (Source: Getty Images/Thinkstock)
Just like vitamins D, E, and B12, vitamin K is also equally important for the body. It is essential for the optimal clotting of blood and the prevention of excessive bleeding. “However, unlike many other vitamins, vitamin K is not typically used as a dietary supplement; it is a group of vitamins found in green vegetables. But vitamins K1 (phytonadione) and K2 (menaquinone) are commonly available in the form of supplements,” said Neha Choudhary, nutrition dietitian, SRV Hospitals – Dombivali.
Also Read |What happens to your body when you eat palak or spinach daily?
Why have vitamin K?
A natural remedy for congealing the blood, vitamin K has a wide range of health benefits. Vitamin K plays an essential role in wound healing and reversing the harmful effects of blood thinning medicines. Moreover, it is also used in preventing bleeding disorders in newborns exhibiting hemorrhagic disease caused due to absence of vitamin K.
Vitamin K is also needed for promoting bone health. Along with vitamin D, it helps with the calcium-binding action required for the healthy functioning of the bones and gums. “It strengthens the skeletal structure, increases bone density, and cuts down the chances of fracture when it comes to older people,” said Choudhary.
It also helps with osteoporosis and bone loss. According to studies, this vitamin prevents the mineralisation in the arterial walls and keeps the blood pressure under control further allowing the heart to pump blood smoothly throughout the body, and enhancing heart health.
Infants are at the risk of deficiency (Source: Getty Images/Thinkstock)
Additionally, it is also needed for dental health. It activates the production of osteocalcin, which is needed for the growth of new dentin (calcified tissue below the teeth’ enamel). It also makes the teeth strong from the root and prevents loss or decay. As per the evidence available, vitamin K is also needed to improve memory in senior citizens. “Further, it is used to manage the itching, experienced due to biliary cirrhosis, and also has been known to reduce blood cholesterol in people on dialysis,” Choud