Jump to content

formmailer

Members
  • Posts

    319
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by formmailer

  1. Wow, that's great Ryan. Thank you! I am going to try it later today and will tell you how it worked. /Jasper
  2. I tried that as well, but it didn't work. Even when the pages exist, the import module will not add the images. The error/warning is exactly the same some in my previous reply. /Jasper
  3. It didn't really work. It looks like the page need to be created before an image can be added. I received the following error: TemplateFile: New page '/shs/verblijf-in-stockholm/0/' must be saved before files can be accessed from it #0 C:\xampp\htdocs\shs\wire\core\PagefilesManager.php(133): PagefilesManager->path() #1 C:\xampp\htdocs\shs\wire\core\PagefilesManager.php(43): PagefilesManager->createPath() #2 C:\xampp\htdocs\shs\wire\core\PagefilesManager.php(32): PagefilesManager->init(Object(Page)) #3 C:\xampp\htdocs\shs\wire\core\Page.php(1132): PagefilesManager->__construct(Object(Page)) #4 C:\xampp\htdocs\shs\wire\core\Pagefiles.php(63): Page->filesManager() #5 C:\xampp\htdocs\shs\wire\core\Pagefiles.php(47): Pagefiles->setPage(Object(Page)) #6 C:\xampp\htdocs\shs\wire\modules\Fieldtype\FieldtypeImage.module(33): Pagefiles->__construct(Object(Page)) #7 C:\xampp\htdocs\shs\wire\core\Fieldtype.php(289): FieldtypeImage->getBlankValue(Object(Page), Object(Field)) #8 C:\xampp\htdocs\shs\wire\core\Page.php(523): Fieldtype->getDefaultValue(Object(Page), Object(Field)) #9 C:\xampp\htdocs\shs\wire\core\Page.php(467): Page->getFieldValue('hotel_image') #10 C:\xampp\htdocs\shs\wire\core\Page.php(364): Page->get('hotel_image') #11 C:\xampp\htdocs\shs\wire\core\Page.php(308): Page->setFieldValue('hotel_image', 'http://images.t...', true) #12 C:\xampp\htdocs\shs\site\modules\ImportPagesCSV.module(385): Page->set('hotel_image', 'http://images.t...') #13 C:\xampp\htdocs\shs\site\modules\ImportPagesCSV.module(346): ImportPagesCSV->importPage(Array, Object(InputfieldForm)) #14 C:\xampp\htdocs\shs\site\modules\ImportPagesCSV.module(126): ImportPagesCSV->processForm2(Object(InputfieldForm)) #15 [internal function]: ImportPagesCSV->___executeFields() #16 C:\xampp\htdocs\shs\wire\core\Wire.php(267): call_user_func_array(Array, Array) #17 C:\xampp\htdocs\shs\wire\core\Wire.php(229): Wire->runHooks('executeFields', Array) #18 C:\xampp\htdocs\shs\wire\core\ProcessController.php(194): Wire->__call('executeFields', Array) #19 C:\xampp\htdocs\shs\wire\core\ProcessController.php(194): ImportPagesCSV->executeFields() #20 [internal function]: ProcessController->___execute() #21 C:\xampp\htdocs\shs\wire\core\Wire.php(267): call_user_func_array(Array, Array) #22 C:\xampp\htdocs\shs\wire\core\Wire.php(229): Wire->runHooks('execute', Array) #23 C:\xampp\htdocs\shs\wire\core\admin.php(42): Wire->__call('execute', Array) #24 C:\xampp\htdocs\shs\wire\core\admin.php(42): ProcessController->execute() #25 C:\xampp\htdocs\shs\wire\templates-admin\controller.php(13): require('C:\xampp\htdocs...') #26 C:\xampp\htdocs\shs\site\templates\admin.php(13): require('C:\xampp\htdocs...') #27 C:\xampp\htdocs\shs\wire\core\TemplateFile.php(88): require('C:\xampp\htdocs...') #28 [internal function]: TemplateFile->___render() #29 C:\xampp\htdocs\shs\wire\core\Wire.php(267): call_user_func_array(Array, Array) #30 C:\xampp\htdocs\shs\wire\core\Wire.php(229): Wire->runHooks('render', Array) #31 C:\xampp\htdocs\shs\wire\modules\PageRender.module(194): Wire->__call('render', Array) #32 C:\xampp\htdocs\shs\wire\modules\PageRender.module(194): TemplateFile->render() #33 [internal function]: PageRender->___renderPage(Object(HookEvent)) #34 C:\xampp\htdocs\shs\wire\core\Wire.php(267): call_user_func_array(Array, Array) #35 C:\xampp\htdocs\shs\wire\core\Wire.php(229): Wire->runHooks('renderPage', Array) #36 C:\xampp\htdocs\shs\wire\core\Wire.php(289): Wire->__call('renderPage', Array) #37 C:\xampp\htdocs\shs\wire\core\Wire.php(289): PageRender->renderPage(Object(HookEvent)) #38 C:\xampp\htdocs\shs\wire\core\Wire.php(229): Wire->runHooks('render', Array) #39 C:\xampp\htdocs\shs\wire\modules\Process\ProcessPageView.module(73): Wire->__call('render', Array) #40 C:\xampp\htdocs\shs\wire\modules\Process\ProcessPageView.module(73): Page->render() #41 [internal function]: ProcessPageView->___execute() #42 C:\xampp\htdocs\shs\wire\core\Wire.php(267): call_user_func_array(Array, Array) #43 C:\xampp\htdocs\shs\wire\core\Wire.php(229): Wire->runHooks('execute', Array) #44 C:\xampp\htdocs\shs\index.php(170): Wire->__call('execute', Array) #45 C:\xampp\htdocs\shs\index.php(170): ProcessPageView->execute() #46 {main} /Jasper
  4. Oops, I missed that the imagefield wasn't listed. Sorry about that. :-\ I am not sure if my coding skills are sufficient to add the image field import myself. But it's of course worth a try. A workaround could of course be using the URL field type until Ryan releases a future version. /Jasper
  5. Hi! I just started testing this module and it works great to import a product feed. I love it! Only one minor thing I noticed is images: my productfeed contains URLs to an image, but I can't select the imagefields in the import module. Is there a reason for this? I tried to manually add a URL into the field_image and it worked great, it saved a copy (or multiple copies in different sizes) of the image on my server. /Jasper
  6. Sound great, Ryan! You and ProcessWire rock!!! /Jasper
  7. Hi, Thanks for your replies. I didn't realise that rel="nofollow" was so specific, probably because I am so used to build websites containing a few affiliate/paid links. As I said, when you use paid links on your site the, the rel="nofollow" is a must. Ryan, you're solution would work fine if all (external) links would be paid links, but this isn't true. There are also links that don't require the attribute. Any other solutions are welcome... (if there isn't a good solution I'll continue to edit the link in the HTML view, which isn't a big thing, but a checkbox or something like this would be easier ) /Jasper
  8. Hi, Since I use sponsored (affiliate) links on my sites, I have quite a few links that need to have the rel="nofollow" attribute added. This is for example required to avoid Google penalties. It would be great if this could be added to the ProcessWire Edit Link Process, just to avoid going in to the HTML view to add this attribute. It could be done with a checkbox, just like the Open in new window field. I started to modify the module myself, but then realised that it might be better not to edit the core modules of PW. I hope Ryan can add this simple addition to the next PW 2.1 release. Kind regards, Jasper
  9. This works! ;D Thanks! /Jasper
  10. Thank you for your reply. Unfortunately it doesn't work. And if it worked it wouldn't have solved my problem completely (but you couldn't know that). What I am looking for is something like: if "google_maps is exists" { display map with surrounding div, makup etc. } /Jasper
  11. I would like to display the map (using <?=$page->map?> ) only when I've set a value in the database, since I don't want to display a map with default location. Is this possible? How would the if-statement look like? I tried several things, but could not get it working... Thanks in advance! /Jasper
  12. Ryan, How did you know I would need something like this today? I came to this forum to ask a question about creating pages from a feed and here it is... (ok, I was focused on an xml feed, but CSV will work as well I guess.) Thanks! /Jasper
  13. Will do! Sounds good. I usually blame the user.
  14. I found the problem. First I created a field Ad_code. Later I decided that it should be ad_code instead, so I changed the name. But obviously the name change did not change the name of the database table: Ad_code was there, but ad_code was missing. I am not sure if this should be reported as a bug or not.... /Jasper
  15. Hi! I just installed Processwire and so far I like it very much. But I just ran into a problem: I decided to add a field (textarea) to my pagetemplate and everything seemed to work ok, but when I'll try to edit a page I get the following error: Table 'database.field_ad_code' doesn't exist Did I miss something? Thanks for your help! Kind regards, Jasper
×
×
  • Create New...