-
Posts
319 -
Joined
-
Last visited
-
Days Won
1
Everything posted by formmailer
-
Stockholm-stedentrip.nl, my first Processwire site
formmailer replied to formmailer's topic in Showcase
Thanks Martin! I never thought of using the margins... so easy and yet so effective. ;D I have changed it now, and also used rounded borders for the bottom box in the right sidebar. Now the Google map is the only element on the right that doesn't have rounded corners. I looked into that as well, but this wasn't as easy as it sounded. It seems that the only way around this is to use corner images, which isn't so easy if the background isn't solid. I could, of course, make the map a bit smaller and display it in a box with rounded corners, but I am afraid that it will be to small. Once again Martin, thanks for your help! //Jasper -
Stockholm-stedentrip.nl, my first Processwire site
formmailer replied to formmailer's topic in Showcase
@Ryan: Let me know when you are coming and I'll be happy to be your guide. @Martin:Thanks for the suggestions. Regarding the background of the central content, I agree that a more opaque background would be better. But for some reason I can't figure out how to change the background for just the "body text". Whatever I try, the background behind the rightsidebar is also changing. There must be something wrong in my CSS. Changing the typeface for the headings is a good idea. Changed them now, /Jasper -
Hi, I decided that it was time to show you my first Processwire site. The site is a Dutch site containing tourist information about and citytrip offers to Stockholm, the capital of Sweden. URL: http://www.stockholm-stedentrip.nl I'll add more during the next couple of weeks. I am looking forward to your feedback, both positive and negative. //Jasper
-
Thanks! I still have some problems to come up with things like that myself, but I am sure I'll learn it one day... /Jasper
-
Now I just have one issue left regarding this "simple" search... How can I populate my dropdown with touroperators? I can't do it the same way Ryan did with the cities, because there are no seperate branches in the tree for all touroperators. As it is now, touroperaror is just a textfield in the "citytrip-template". Any suggestions? /Jasper
-
How to change the order of comment list?
formmailer replied to Robert Zelník's topic in General Support
You can find a checkbox under the "Details" section of the comments filetype: /Jasper -
Site copied to development server -> FieldType does not exist....
formmailer replied to formmailer's topic in General Support
Ryan, You are absolutely right (as usual ;D). Thanks! /Jasper -
Hi! Yesterday I installed the Fieldtype Select (AKA Drop Down) plugin on my test site and it works fine, but when I have a development copy of the site and i restored the current database there and the filesystem is identical (the .module file is located in the \site\modules\ folder just like it does on the origianal site). I didn't manually install the plugin on the development site, since I assumed that if the .module file was there and the database was identical, the plugin would be installed there as well. But obviously I was wrong... I get the following error: [tt]Fatal error: Exception: Fieldtype 'FieldtypeSelect' does not exist (in D:\xampp\htdocs\shs\wire\core\Field.php line 186) #0 D:\xampp\htdocs\shs\wire\core\Field.php(82): Field->setFieldtype('FieldtypeSelect') #1 D:\xampp\htdocs\shs\wire\core\Data.php(81): Field->set('type', 'FieldtypeSelect') #2 D:\xampp\htdocs\shs\wire\core\SaveableItems.php(141): WireData->__set('type', 'FieldtypeSelect') #3 [internal function]: WireSaveableItems->___load(Object(FieldsArray)) #4 D:\xampp\htdocs\shs\wire\core\Wire.php(267): call_user_func_array(Array, Array) #5 D:\xampp\htdocs\shs\wire\core\Wire.php(229): Wire->runHooks('load', Array) #6 D:\xampp\htdocs\shs\wire\core\Fields.php(133): Wire->__call('load', Array) #7 D:\xampp\htdocs\shs\wire\core\Fields.php(133): Fields->load(Object(FieldsArray)) #8 D:\xampp\htdocs\shs\wire\core\ProcessWire.php(114): Fields->init() #9 D:\xampp\htdocs\shs\wire\core\ProcessWire.php(45): ProcessWire->load(Object(Config)) #10 D:\xampp\htdocs\shs\index.php(166): ProcessWire->__construct(Object(Config)) #11 {main in D:\xampp\htdocs\shs\index.php on line 203 Exception: Fieldtype 'FieldtypeSelect' does not exist (in D:\xampp\htdocs\shs\wire\core\Field.php line 186) #0 D:\xampp\htdocs\shs\wire\core\Field.php(82): Field->setFieldtype('FieldtypeSelect') #1 D:\xampp\htdocs\shs\wire\core\Data.php(81): Field->set('type', 'FieldtypeSelect') #2 D:\xampp\htdocs\shs\wire\core\SaveableItems.php(141): WireData->__set('type', 'FieldtypeSelect') #3 [internal function]: WireSaveableItems->___load(Object(FieldsArray)) #4 D:\xampp\htdocs\shs\wire\core\Wire.php(267): call_user_func_array(Array, Array) #5 D:\xampp\htdocs\shs\wire\core\Wire.php(229): Wire->runHooks('load', Array) #6 D:\xampp\htdocs\shs\wire\core\Fields.php(133): Wire->__call('load', Array) #7 D:\xampp\htdocs\shs\wire\core\Fields.php(133): Fields->load(Object(FieldsArray)) #8 D:\xampp\htdocs\shs\wire\core\ProcessWire.php(114): Fields->init() #9 D:\xampp\htdocs\shs\wire\core\ProcessWire.php(45): ProcessWire->load(Object(Config)) #10 D:\xampp\htdocs\shs\index.php(166): ProcessWire->__construct(Object(Config)) #11 {main[/tt] It's not a big problem to resolve this(since I probably can roll back to a previous database backup, activate the plugin, and then update the database to the latest version), but I would like to understand why file and database restore isn't sufficient. Thanks! /Jasper
-
Thanks Ryan! I think this covers most (if not all) of my needs right now. /Jasper
-
Hi, I am trying to create a simple search form with drop downs, just like the search on the skyscraper demo site. I know that the selectors should look something like this: $pages->find("template=citytrips, limit=10, price>=250, price<=400, transportation=airplane, touroperator=xxx inc."); but I can't really figure out how to use this in a search template. Therefore I would like to ask Ryan if it's possible to take a look at the source files of the demo site, so I can learn from these? Of course, all other tips and suggestions to achieve this fairly simple search are greatly appreciated. Thanks in advance! //Jasper
-
I might be somewhat late, but still: Happy Birthday Ryan! /Jasper
-
I found out about PW via Google and was very impressed from the first minute. I've already recommended it to some others... /Jasper
-
Cool! When I didn't use a CMS to create my sites, I always used HTML4 and validated it using the W3C validator and it always pointed out that the should be entity encoded. I just validated my PW site using the W3C validator and it went didn't have any problems with it, but I just wanted to be sure. And since it validated, my guess is that you were right! /Jasper
-
Hi, I was looking at the source of one of my pages and noticed that the body (and some other parts) contained å ö ä ë etc. Shouldn't these characters be encoded like å &öuml; ä ë? Or is this no longer required and am I just an old fashioned HTML4 user? /Jasper
-
I noticed that one... It works like a charm. Thanks!
-
Hi Ryan, "by" was a translated example, since my website is in Dutch, so the stopwords don't help me much, I'm afraid. That's good to know, might try that one if the rebuilding the query string doesn't provide the results I expected. I'll try this later today, but it looks promising. Thanks for your help! /Jasper
-
Hi Adam, This works fine, but it gives me a PHP warning: Deprecated: Call-time pass-by-reference has been deprecated which is caused by the ampersand in &$queryArray . In most cases removing the & solves the trick, but in this case it also breaks the function. I tried quite a few suggestions on how to deal with this warning, but so far nothing worked. Do you have any suggestions. /Jasper
-
Hi! I when searching my site (using the default search page) I can't search using words shorter than 4 characters. This is not a big issue when searching for one word (I think it's completely fine that words like "the", "and", "or" and "it" don't generate search results), but I do want to provide results for searches like "by car" and "by train". I know a Full Text Search setting in MySQL (ft_min_word_len=2) resolves the issue, as it will provide results for two and three letter words as well. But this isn't really what I want. Is there another, better way to make the search work with queries containing short words? Like ignoring the short words and just search for the other words instead? All suggestions are appreciated. /Jasper
-
Thank you, now it's working. The problem was that I missed step 3, because the plugins website said it wasn't required anymore: That was also why I started talking about the content_css value.
-
I actually did search there before asking. And I found something that looked promising: http://www.bram.us/projects/tinymce-plugins/tinymce-classes-and-ids-plugin-bramus_cssextras/ but after a few hours of trying I couldn't get it working with ProcessWire. I am pretty sure this is just my lack of knowledge. I managed to get the selectorbuttons (dropdowns) in the editor but they are empty. I assume that it has something to do with the content_css value in the InputfieldTinyMCE.js file content_css: config.InputfieldTinyMCE.url + 'content.css', I even tried to add a second css file (with an absolute path) to this value, but this only resulted in a loss of all markup in the editor, even the by dedault existing H1, H2. etc.
-
Hi, I wondered if there is a(n easy) way to add CSS classes (preferably using div) to the TinyMCE editor. I have a few classes that I use quite often in my content field. It would be great if I could select a part of the text and just select the class from a dropdown. Thanks! //Jasper
-
ProcessWire 2.1.0 rc2 -> ProcessWire 2.1.0
formmailer replied to formmailer's topic in General Support
It worked like a charm! //Jasper -
Hi! I just got the release announcement of 2.1 in my mail. (great!) Just wondering: are there any risks upgrading from RC2 to the final 2.1 version? And does it require database changes? /Jasper
-
Hi! After happily experimenting with the CSV-import module (http://processwire.com/talk/index.php/topic,432.0.html), I ended up with many new, easily created pages... But after adding 50+ new pages, I decided that I needed to delete, let's say, 35 of them... Since this is quite time consuming I started looking for a bulk delete option and noticed this thread. Since I could not find a bulk delete plugin, I would like to support the current requests for a bulk delete option/plugin. /Jasper
-
It works great. I hoped to be able to add one image, but suddenly I can add even more. Thanks Ryan (I owe you a beer )