Jump to content

tires

Members
  • Posts

    253
  • Joined

  • Last visited

Everything posted by tires

  1. Hi! Due to some issues with the DMARC policy at my provider i want to add a Reply-To to my wiremail code. This is my code: wireMail($emailTo, $form[email], "My Subject", $msg); Where shall i add the replyto? Thanks!
  2. Thanks once again, Bernhard! Do i have to change the module code, to get prevent (all?) comments to be deleted? Or did i misunderstood your answer/link? Best regards and tanks!
  3. WOW, that seems to be the sophisticated version ... An optionfiled in the module would be great!!! Best regards!
  4. Hi Bernhard, thank you for your answer. Maybe there is another way to solve this with this modul? Thanks!
  5. YES! It works! Thank you very much!!! I unchecked the option "smart description" an add the code below in my template. <? if($page->seo_description === "") { // Remove HTML tags $description = strip_tags($page->mytext); // Remove linebreaks $description = preg_replace( "/\r|\n/", " ", $description ); // Shorten text $description = substr($description, 0, 160)." …"; // Set new metadescription $page->seo_description = $description; } ?>
  6. Thank you for the answer. The problem is, that i activated the "automatically" method to insert the code on my page. And the module inserts the empty description metatag anyway. I don't know, if your code example will help me in this case?
  7. Hi! I would like to use "HTML minify" but leave some of the html comments in the code. In my case it is this comment: <!-- HTML5 elements and media queries Support for IE8 : HTML5 shim and Respond.js --> <!--[if lt IE 9]> <script src="js/html5shiv.js"></script> <script src="js/respond.min.js"></script> <![endif]--> Is there a way to exclude some comments from being deleted by the module? Thanks!
  8. Sorry, i ask again. Is there a way to avoid the modul to output the description tag, if the SEO description field is empty? I could in this case output the shortend text of my textfield manually. Or is there another way? Thanks for your answers!
  9. Hi! I got a little issue with this really great module: I wan't to use the "smart description" option for a field that contains pretty lot of text. Is there a way to shorten/strip this text down to 160 characters? Otherwise the "smart description" make not much sense for me ... Or is there a workaround for this issue? Thanks!
  10. What do you mean by "installed" ... where can i check this?
  11. Very strange. On one site it works using: <? setlocale(LC_ALL, "de_DE.UTF-8"); ?> <?=strftime('%e. %B %Y', $page->getUnformatted('mydate')); ?> on the other site i have to use: <?=utf8_encode(strftime('%e. %B %Y', $page->getUnformatted('mydate'))); ?> Is that an error in processwire? Or a matter of the webserver settings?
  12. Hi! I tried to crate a little module that creates me a few template ... but without success so far. I have an array with a few template-names. I walk througt the array to create the templates. The module doesnt work porperly. And i havent find out how to add fields to the templates (at least a title field)? Here is my code: <?php class maketemplate extends WireData implements Module { public static function getModuleInfo() { return array( 'title' => 'maketemplate', 'version' => 1, 'summary' => 'Creates templates', 'author' => 'Me', 'singular' => true, 'autoload' => true, 'icon' => 'diamond' ); } public function ___install() { $array1 = array("mytemplate1", "mytemplate2","mytemplate3"); foreach($array1 as $templ) { $t = new Template(); $t->name = $templ; $t->save(); } $this->message("Template created"); } } ?> Or is there already a module that can do this job? Cheers!
  13. I used the Markup SEO modul side by side with this module. The seo module creates die og tags automatically (and left the og:image was always blank). I solved it by putting the og tags manually in my head.inc and fill it with: <meta property="og:image" content="<?php echo 'http://'.$_SERVER['HTTP_HOST'].$page->myimage2->url; ?>" /> <meta property="og:image:width" content="<?php echo $page->myimage->width; ?>" /> <meta property="og:image:height" content="<?php echo $page->myimage->height; ?>" /> That works well! Thanks an best regards!
  14. Hi Soma, great module! But i have a problem with the facebook share button: I want sometimes not the first but the second image to be shared on facebook. Where can i define which image will be transferred to facebook? Or is this managed by og-tags? Thanks!!!
  15. Thank's for your reply! I think there is a way to export the products as svg in the magento backend. So i can probabely use the module ImportPagesCSV http://modules.processwire.com/modules/import-pages-csv/ Does anyone have experience with this?
  16. Hi! I would like to import a few hundret products from a magento shop into processwire. What would be the best way? Does anyone have experience with this? Thanks for any advice!
  17. Hi! I accidentally replaced the dafault language wth the german languagepack. Now i want to make mit website biligual. Is there a way to install the english language pack again? I don't find it here! Or do i not need these files? Thanks!
  18. Hi! I found several modules and older descriptions in this forum to set up contactforms. But which is the easiest way to get a small, nice contact form? What is your recommendation? Thanks a lot!
  19. You are absolutely right! This code works! $numSent = wireMail($emailTo, $form, "Formmail", $msg); Thanks and best regards!
  20. Hi! I installed version 1.1.0. My site contains 12 pages. In the mydomain.com/sitmap.xml is just the startpage. Are there some modulesettins i have to change in order to get a correct sitemap? Thanks an regards! PS. I also tried the Ryans template solution for the sitemap. It also outputs just the startpage in the xml-sitemap. Whats my mistake? PPS. SORRY my mistake! A few parent sites were set to "hidden". After i set them to "visible" the xml-sitemap is fine!
  21. Thanks for your answer! I checked the api docs and also tested the module configuration. In the api docs the following code is given: $numSent = wireMail($to, $from, $subject, $textBody); Is that right? Or do just have to write "wireMail(....);"? I think the arguments are ok (it works with the common php mail): $emailTo, "Webmail", $msg, "From: $form[email]"
  22. Thanks for your answer! Ok, i installed the module "Wire Mail SMTP" and fill in the smtp data. My template contains the following code to submit the mail: $numSent = wireMail($emailTo, "Webmail", $msg, "From: $form[email]"); Is that the right way? The mail didn't reached me.
  23. I read about problems with blacklistings of sharedhosting servers. Mails sendig via php mail function end up in the spam folder. To avoid this i want to use smtp to send the mails. What would be the easiest way to set up an smpt-mail-form? Thanks and regards.
  24. Hi! I am runnig the site-minimal-padloper-shop. Where do i have to create this second checkout page and where can i set the "setInvoiceMode" to "true"? Will there be two buttons? One with "Continue to checkout" and "Continue to checkout with invoice"? Is there a way to create a pdf-invoice? I need a pdf with a company-logo in the head. Thanks for your anwers and best regards!
  25. Yes i do! It seems to work well on 2.6.1.
×
×
  • Create New...