Ronnie
Members-
Posts
17 -
Joined
-
Last visited
Everything posted by Ronnie
-
Great info Adrian. Will try it out when I find the time, what was the hickup ? Thanks / Ronnie
-
Hello Adrian. First off, thanks alot for your efforts and the reply. I have tested the updated version of the "migrator wordpress" module, and it does fix the issue with the body content, GREAT WORK ! However the thing that worked before, the title is now getting messed up. For instance, this tite: Lördagskväll med mostrarna Gets formatted like this: Lördagkväll med mostrarna ö does translate to "ö" and ä does translate to "ä" Se more here: http://www.tiger.se/dok/koder.html As the title became correct before, I guess it would be possible to merge the two versions
-
Hi. I have run in to some issues regarding content that has Swedish letter present (Å Ä Ö). My quess is that I need to "setlocale" somewhere in the code to get this working. This is what I have found so far. XML that has been exported from Wordpress. Here the letters Å Ä Ö is present in its original form, correct. <content:encoded><![CDATA[Idag provade jag att gå på gympa.</content:encoded> When I have used the XML file in the MigratorWordpress plug in this is the resultet JSON. My understanding is that this is a correct when JSON is uft8 encoded, meaning \u00F6 = ö Massa nya barn och fr\u00f6knar hade b\u00f6rjat s\u00e5 But then when content is being created in PW its getting all weird. This is copied from the DB. Where i am prettys sure that Ãyen; does not equal "å". Collation on the specific DB table is "utf8_general_ci" Peggy pÃ¥ besök. So my guess is that the translation goes wrong when the JSON file is being decoded´. But a funny thing is that this is only happening to body content, the title of a post is being translated correctly. (see attached image.) Anyone have any idea of where I should start ? Thanks / Ronnie
-
Hi. I have been looking for a way to "post to facebook", after some digging in the FB SDK I got it it somewhat working, problem is that I need to logon to facebook every time as I need to have a valid session in order to perform the post. Anyway you guys seem to have solved it, but I cant find the module in the module library. Basically what I want to acheave is that I have a checkbox field when creating a page, when that is checked the and the page is saved it you be posted to a specific facebook page, not my personal one. @Nico, do you have the code and perhaps some simple instructions somewhere ? Thanks / Ronnie
-
Hi. I need some brainstorming help, how to accomplish this task in the smartest way. What I want to do i pretty simple/straight forward, a table with all my team members and ratings on how much knowledge they have in particular Products / Technologies. I would like to have each teammember as a page and just add competence and rating together with competence area. One approach would be to create unique fields for each Product / technology. Ex Field_Product_1 Field_Product_1_rating Field_Product_1_competence_area This will create a template that will be straightforward to work with, but as I have approx 60 products it will demand 180 fields, and that will take far to long to set up and be hard to administrate. Another approatch would be to use one repeater for each competence area, with drop downs for the different products in each competence area and a dropdown for the rating. But as repeaters is working in a way there you just can add hw many you want there is a great risk that the products will differ between different employees. Here is a screenshot from excel with what i want to acheave, I hope that someone understand what I am searching for and have som valid input. Thanks / Ronnie
-
@Adrian. Migrating WP sites like a boss now Thanks for the fix, that seemed to do the trick, I have not tried it thoroughly yet, but I got past the previously issue and content is being created.
-
@Adrian Thanks for the reply, unfortunately I am still experiencing the same issue. I have used the latest versions from GitHub that you suggested. When I turned on debug mode on my PW installation I see something that might be interesting. I see some references to: C:/Bitnami/processwire-2.4.0-3/apps/processwire/htdocs/site/assets/files/1043/migratorfiles and C:/Bitnami/processwire-2.4.0-3/apps/processwire/htdocs/site/assets/files/1043/migratorfiles\data.json Attached file: The only thing that is present in that folder is the WP xml file. C:\Bitnami\processwire-2.4.0-3\apps\processwire\htdocs\site\assets\files\1043\neossida.xml No migratorfiles folder / data.json file Attached file: This file / folder is not present on my machine, I am not completely sure how this works but I quess that the plugin should transform the WP xml to a JSON file that is supposed to be used in the migration. Maybe that would point you in some direction ? Thanks / Ronnie
-
Hi. First off the work you guys have done with the Wordpress migration tool is amazing, unfortunalety I am not able to get it to work I am running PW 2.4, I have tried to modules both in a WAMP environment and ISP provided environments, both in brand new PW installations and current ones. I have loaded the blog.zip profile first, this works fine. Then when I try to import the XML from wordpress (3.9.1) all I am getting is a message saying. "Missing required ZIP or JSON source" There is a possibility that I have missed something vital. This are the basic steps that I take. Install PW Install module ProcessMigration Install module MigratorWordpress Migrating the blog.zip profile to /home/ Trying to migrate the wordpress.xml to /home/blog (root of blog recently created with blog.zip) Any Ideas ? Would really like to get this one working. Thanks Ronnie
-
Hi. First off the work you guys have done with the Wordpress migration tool is amazing, unfortunalety I am not able to get it to work I am running PW 2.4, I have tried to modules both in a WAMP environment and ISP provided environments, both in brand new PW installations and current ones. I have loaded the blog.zip profile first, this works fine. Then when I try to import the XML from wordpress (3.9.1) all I am getting is a message saying. "Missing required ZIP or JSON source" There is a possibility that I have missed something vital. This are the basic steps that I take. Install PW Install module ProcessMigration Install module MigratorWordpress Migrating the blog.zip profile to /home/ Trying to migrate the wordpress.xml to /home/blog (root of blog recently created with blog.zip) Any Ideas ? Would really like to get this one working. Thanks Ronnie
-
Hi. I have been working on a simple mailchimp integration module. It is probably pretty bad written as I don't fully know my way around the processmanager module creation process yet. Anyway this is basically what you need to do. Create a mailChimp account (free), get the API keys for your account. Add the API key to the config.inc.php file. Create a mail friendly template: Inline CSS with supported CSS tags so dont use floats or position for instance. Create a "root" page where you Newsletter will reside under. This case root is called "newsletter" want another name just change in the module. (Line 27) Install the module. Some screenshots: This is the admin section where Lists is being fetched from mailchimp and newsletters is being fetched from under the root page you set up earlier. Click send and your mail is on the way. Result page. So what have happened now, you have created and sent a new email campaign through mailchimp. For detailed reports regarding delivery status you need to log on to mailchimp. For subscription you can build your own form or use some of the one provided by mailchimp, if you want to skip the "verify subscription" mail you need to create your own subscribe form see example attached. ProcessMailChimp.zip subscribe.php I am not saying that this is a 100% completed module but it cover my needs and I have seen some questions regarding this kind of functionality roaming the forum.
-
Thanks nice work, you are such a boss. Nice website as well. I have fiddled around with the new features, I tried to have the options as a drop down-list instead but it didn't work, I am suspecting is has to do with the label field for the input type. <label for='sc_product_id_{$p->id}'>{$p->title}</label> Is it this one that is being processed and appended to the product title ? Would it be possible to edit the module so it could append other values as well and perhaps different values. What I am aiming for is for example two drop down lists for a specific product, each drop down fetches information from its own repeater. Repeater 1 say Color: has values of ex white, brown, yellow. Repeater 2 say Size: has values of ex S, L, M If I am only able to use one repeater and I have 4 sizes and 4 colors i would end up with 16 choices for each product witch would be quite a lot. I hope that you are able to understand what I am trying to achieve. I assume this would be possible but I am not able to figure it out...grateful for assistance Thanks / Ronnie
-
Hello. I have been using PW as a CMS for some Projects in the past, now the questions regarding ecommerce i starting to pop up. It would be nice to be able to operate both the site and the shop from PW, somewhat like WP + WP e-Commerce, but i rather stick to PW. Anyway I have started to look at the module Shop-for-Processwire and right off the bat there are som questions. 1. Have anybody added extra fields / values that the process carrys from the Product page to the checkout module and finally in the orders management module, i am thinking of Product variations like color size etc. If i just look at the module i guess a stating pont would be to get the form populated with thoose extra variations. $out = "<form method='post' action='$postUrl'>"; $out .= "<input type='hidden' value='{$product->id}' name='sc_product_id' />"; $out .= "<input type='number' name='sc_qty' value='1'/>"; $out .= "<input type='text' name='sc_size' value='S'/>"; $out .= "<input type='submit' value='" . $this->_("Add to cart") . "' />"; $out .= "</form>"; Once extra input types has been added how can I get thoose through the whole process, Product - >Checkout -> Orders Management. 2. Do I have to add extra tables to the db to be able to store this information ? 3. I have read on the forum that some of you have handled variations by using repeaters and page fields, is there anybody out there that have a working example regarding that ? Help would be much appretiated, would hate to be crawling back to WP.. Thanks / Ronnie Code line 92 $out .= "<input type='text' name='sc_size' value='S'/>"; Has been added by me as a example.
-
Hi. Just wanted to know how other PW people out there is dealing with sites that are in need of a newsletter system. I am talking about a pretty simple solution for collecting emails and sending out newsletter / information to theese recipiens. There are several forum threads that are dealing with this but not a really solid solution just suggestions and ideas. Before when I did most of my sites in WP i often used plugnins like ACYmailer for instance something similar for PW would be so nice. With PW I will have to use external providers like tinyletter / mailchimp, would be a Dream to have that fully integrated into PW. I have started to build a own newsletter system but it is getting quite complex really fast if you want it to batch mails have different templates / recipiens Groups etc. Like I said out of quriosity how is the forum dealing with this kind of functionality, for instance the PW news letter being sent out from Ryan witch system is powering that ? Thankful for feedback ! / Ronnie
-
Hi. I tested the same thing with images taken by my phone and they worked perfectly. So I started to fiddle with my camera a Nikon D3100 and found a setting. "Automatic Picture Rotation" = ON When I changed this setting to OFF the images where working in PW. When rotation was turned ON the pictures was shown correctly om my computer and in my camera but not in PW. When rotation was turned OFF the pictures was shown incorrecly om my computer and in my camera by after rotated in "Windows Photo Viewer" they where showing correctly in PW. So I am not sure what all this sums up to, I guess that setting does something to the picture that PW has a hard time to interpret. Some reading about the setting as such. http://www.pictureandpen.com/Article_Nikon_Photography_Auto_Image_Rotation_vs._Rotate_Tall.asp Thanks / Ronnie
-
Pics.zipHello. @horst: Thanks for your effort. I have taken a photo and in the ZIP file you will find three copies. DSC_1259_org.jpg = Original, just downsized. DSC_1259_rotate_windows.jpg = Rotated 360 degrees (as its showing correctly in windows explorer) DSC_1259_rotate_XnView.jpg = Rotated 360 degrees and resaved (as its showing correctly in XnView to start with) Sceen.jpg = Display in Windows Explorer PW.jpg = As they turn up in PW PW_all_org.jpg = This is the exact same image added to PW three times and the result differs between every upload !? So I am seeing some for me pretty inconsitiant results where the same image is being displayed differently when being uploaded. The only pic that is contantly correct is the copy that has being resaved bu XnView. Would be much appretiated to figure this one out. Thanks / Ronnie
-
Hello. Thanks for the quick response. @horst: Seems like you are on to something, If I take the images and edit then in for instance XnView and resave them then PW is processing them correctly. I done some read-up in the matter and it seems that W7/W8 does not recoqnize the EXIF orientations tags using the build in "Windows photo viewer", so changes to the orientation is not being recognized by the GD2 framework used in PW, Meaning if you are usning Windows and change orientiation the EXIF orientation tag is not changed, guess Windows just stores that information in thumb.db or similar. @arjen: "Missorientation" is both in backend and frontend. If I downloaded the rezied images from the PW filestructure the orientation is wrong. I know for a fact that other CMS software recognize the image orientation when altered i Windows, so it would be nice to get it working. Even though I can set ut a PhotoShop batch job or smiliar, I have a couple of customers with very basic computer knowledge were it is essentials that it just works, If you have any eureka moment in the matter please let me know, or you have run in to the same issue and have some simple tool that fixes the images before upload. Thanks !
-
Hello. I have been playing around with PW for a while now (former WP user). In issue that I have encountered is that when uploading images / photos. The original image is keeping the correct orientation, but the images that are being generated on the fly by PW are all ending up with lanscape orientation. Example: I have a picture with: width: 480px height: 720px Then upon resize the ratio is changed to example: width: 200px height: 133px I have both tried the build in image module and the thumbnails module with the same results. Any ideas / suggestions ? Thanks / Ronnie