Jump to content

mr-fan

Members
  • Posts

    848
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by mr-fan

  1. Oh that explains some questions....i use many different textareas for testing - if i test modules i don't only break it down to just my usecase since i'm testing addons in my former cms for a long time and for many devs. (making stupid userthings is one of my strenght - so i'm finding a way down to murphy's law.) i used textareas with different markups like MarkDown and there i was getting tags that are allowed <br> and so on -> MarkDown isn' working korrekt there and show the tags in cleartext. But this is a very special test/usecase. i found the code for this - if someone read's this threat he could finaly set it for such usecases to get special results. Thanks again for your work and response! (while i'm testing new versions i'll learn a lot from the changes and i enjoy it since modules are written in a really easy way in processwire so that a php noob could understand OOP that simple make sence and isn't that hard or abstract anymore!!) // Run it through ProcessWire's sanitizer for good measure - restricts only to basic HTML tags if($this->embedImages == 'TRUE' && $category->imagesField != ''){ $message_body = $this->sanitizer->textarea($message_body, array('allowableTags' => '<br><br /><p><strong><b><a><img>')); } else{ $message_body = $this->sanitizer->textarea($message_body, array('allowableTags' => '<br><br /><p><strong><b><a>')); }
  2. ...i will test it with different mailprogs and settings....i find this is a very usefull addon! but until now it works like a charm! one thin would maybe a nice option....that may could easy done? if some emailclient use html tags and u don't want them in the textarea just the clean text transmitted - is there a chance to get a flag for striptags? for the body field and the additional fields - could be a general setting, too. This would provide more secure to get the content in a usable format. Best Regards mr-fan
  3. Great - tested -> works....asap i will provide german translation and if some others test the new functions may update this version....looks really good! Thank you adrian! If needed i could send you one of the favorite recipes translated.....
  4. ....forgot top tell that i use the lastet version from here... yes there is a imagefield but named "Bilder" .....is this hardcoded somewhere? -> and yes until this line the script works and setup the page correctly!! Thank and regards mr-fan
  5. Ok sorted it out to use the Username on the Emailadress field get it working....but the script holds on this error Error: Call to a member function add() on a non-object (line 360 of /var/www/webxxx/html/rezepte/site/modules/ProcessEmailToPage/ProcessEmailToPage.module) This error message was shown because you are logged in as a Superuser. Error has been logged. it's this lines: // Iterate through any attachments if we have an images field for this page if (isset($message['attachment'])) { foreach ($message['attachment'] as $attachment) { // We need to make the filename safe before continuing $attachment['filename'] = $this->sanitizer->pageName($attachment['filename'], true); // Write the file directly to the /files/pageid/ folder, then add it to ProcessWire (adds info to the DB) if(strlen($attachment['data'])>0){ file_put_contents($page->images->path . $attachment['filename'], $attachment['data']); $page->images->add($page->images->path . $attachment['filename']); } } $page->save(); } i''ve send a normal email via handy (no html header, footer, signature) with an image attachment.... regards mr-fan
  6. First thank you very much for this! Read the whole treat....may i've missed it. get a connection error for wrong PW and Username.... All settings are done so far - where i have to set the username? this one is missing to set since it is not the emailadress it is like PW: mypass USER: webxxxp1 regards mr-fan ***Realy great module if it works - it would complete/extend my Recipe HTML App for my wife to collect there cooking power digital
  7. There was a free PHP/jQuery Snippet in the last CMS i used with a Kind of HannaCode addon [[rating]] where needed. It works with a separeted sqllite db - maybe could used as a base or snippet for a simpler or free usecase. https://github.com/tlongren/colorrating
  8. I'm neebie here but like diogo said - is this possible with the setting.... 1.page movies with subpages for main moviepage starwars indiana jones 2. page reviews (can only create reviews) starwars indiana jones 3. page actors starwars indiana jones For fielddependencies this would be no problem choose the movie from a pageselection and bind the review to it - but: - is there a chance to get the url to be /moviename/review with this separation of content with parentpages and subpages? (may combine this contentsetup with LostKobrakai's code with URL segments but manage content with different parents as cathegories??) - you have to make adminpages for problems regarding missing content (show me all movies without a review....and so on) - may combine this with nicos module to setup no double create a actors page for the movie starwars... For 2-4 Contentblocks the Tabsolution with url segments from LostKobrakai would be the best....but in the first posts there was mentioned that it could be much more it would have limitations - for growing content, too! regards mr-fan interesting usecase here...many questions..
  9. to get this run ju have to uninstall the default theme i remember...
  10. mr-fan

    World Cup 2014

    I think there was to much pressure from all sides - this happend in germany 2006, too.
  11. may this is a good point for a start: https://github.com/alpixel/jRating demo on http://www.myjqueryplugins.com/jquery-plugin/jrating there is a sample php file in the zip and on github... don't need this but in the former cms i used this was a addon that works with something like Hannacode in the templates where ever is needed for egs. [[starrating?id=comment1]] regards mr-fan
  12. greetings guys nice to see you here....there is also a bootstrap site for a demo usage and a addon kind a menuhelper! http://modules.processwire.com/modules/process-wire-bootstrap3/ http://modules.processwire.com/modules/markup-simple-navigation/ this addon is very similar to showmenu2() function in WB! Great to see some more WB heros here best regards mr-fan
  13. I've been searching the whole addon repo for interesting tools for my few testinstallations especially for translation and found it...it should be metioned in the doc for translating somewhere maybe a comment on that page i will go for it. Gald to help since and just a newbee on PW
  14. mr-fan

    World Cup 2014

    genius and madness are mostly good friends...equal what businnes....
  15. Quick hint for translation: 1. Step use the ProcessLanguageTranslator https://github.com/kixe/ProcessLanguageTranslatorPlus/blob/master/README.md 2. Step with this Addon you could choose any "untranslated" file in a List including corefiles... best regards mr-fan
  16. 1. 2. 3. http://processwire.com/api/ Take a basic installation local and have a look at the basic-site profile templates as a example. Try to get a HTML Template working in PW like in the first 2 videos and make next steps....i'm actually running trow this, too Processwire is great and the main thing is the concept of creating content.....reading form a other threat: Best Regards mr-fan (Tip the search in this forum isn't that best use google + site: search instead....)
  17. i thought it's solved.... ...EOT or what ever is named is only for large texts within PHP vars without loops or something else...but may i'm wrong since i'm no pro. kind regards mr-fan
  18. - For "Read more" funktionality you should take a look at the settings in the "posts" Page for truncate... - like i see in the example files there is no imageoutput maybe her could konkondo give a best practise example that fits the example templates that ships with the MarkupBlog - the templates for the main output is the blog-post - how look a single post and the blog-posts - overview of all posts and the blog template with a little different overview there is always a php setting for the content and some vars and below there is the HTML Markup Output. Or you could write your own template for overview and single-post view and grab the content like shown in example template files direct in your HTML via the PW API. kind regards mr-fan
  19. here we go == German language for ProccessBlog i'll need this great Addon in some weeks for a own blog, so i will contribute some more lost strings that are not translatable until now....so stay tuned. Thanks to Kongondo! This is really great Addon - i'll love ProcessWire at the first glance it is perfect to setup websites and get learning PHP faster!
  20. Like announced here: https://processwire.com/talk/topic/6465-module-blog/page-3#entry64334 here we go - added some langfiles for this great module: site--modules--processblog--template-files--blog-recent-comments-php site--templates--blog-post-php site--templates--blog-recent-posts-php site--templates--blog-links-php site--templates--blog-recent-comments-php site--templates--blog-recent-tweets-php site--templates--blog-side-bar-inc site--modules--processblog--markupblog-module site--modules--processblog--processbloginstall-inc site--modules--processblog--processblog-module site--modules--processblog--template-files--blog-links-php site--modules--processblog--template-files--blog-post-php site--modules--processblog--template-files--blog-recent-posts-php site--modules--processblog--template-files--blog-recent-tweets-php site--modules--processblog--template-files--blog-side-bar-inc still some strings are not to translate in the adminmodule but this issue i will work out until i need it in a project...and give a pull request. have fun - mr-fan ProcessBlog-German.zip
  21. Tested and convinced that your Theme is great - Thanks for sharing it!! Would it be usefull to have a setting for the Theme - like: choose from template - to create new child pages example setting is: products|team|blogpost and in the sidepanel we've 3 Items with link to create a new childpage? I'am newbee so excuse me if this was no real progress or usefull idea - but for my first tests with PW this kind of shortlinks i missed until now! I know i can transcribe from your great select-box with the "create new" function but on large sites may a admin could choose the often used contentareas for the "create new" thingi. whatever your Admintheme rocks! Best Regards mr-fan Ps.: one Problem found - on tables for eg. ModulesManager the textcolor is not set so it is quite white.... body { background: none repeat scroll 0 0 #EBECED; color: #F4F6F8; font-size: 100%; }
  22. great - now i know what tomorrow is to do! thanks a lot!
  23. have you access to the server error logs...? ther should be more specific message on the 404's
  24. http://www.phpgang.com/how-to-create-like-unlike-system-in-php-mysql-and-jquery_410.html while the DB and php part have to modified to PW usage...i've not the time to dive deeper into this time - but i' think the use of a hidden integer field that could set +1 as counting the entries would do the trick. regards mr-fan
  25. I've get it from a german podcast: http://workingdraft.de/99/ and found some companion from the last CMS i used here and so my startingpoint is now, but i'm really impressed while testing PW!
×
×
  • Create New...