-
Posts
1,065 -
Joined
-
Last visited
-
Days Won
11
Everything posted by Zeka
-
Hi @PWaddict https://support.google.com/webmasters/answer/2620865?hl=en
-
Hi If I correctly understood your setup: $testimonials = $page->testimonials_repeater->getRandom(4);
-
You get "1" because you try to "echo" your include file. The include() method, after successfully including the desired file, returns a TRUE value which, when echo'ed out, is 1.
-
Sorry if my answer was not relative to your problem. The main reason why I supposed it to you was the fact that I had the very similar issue some time ago. The problem was that my template files had been compiled into several folders and to solve it I had to use $config->paths->templates . "file"
-
Try to use wireRenderFile instead
-
Hi! Can you try to use $config->paths->templates in your include_once.
-
I like UIkit, but current I stick to Foundation 6 because of its mixins nature.
-
Hi. PW is great tool and it allows to build nice front-end user areas with rich functionality, but sometimes it takes too much time. I have been thinking about is it safe to allow for some group of registered users use backend to manage their pages and content. If I am not mistaken, Cms critic went with this scenario. Especially with the new UIkit based admin theme we are able to easely customize how backand looks. But is there some specific cases or areas from the security point where I need to put more attention to?
-
Hi @bmacnaughton You can add a custom field to language template and put needed values there. Just choose "Show system fields" in the template manager.
-
Setting the language of a page to be rendered
Zeka replied to Dani's topic in Multi-Language Support
// save user default language $savedLanguage = wire("user")->language; $emailLangauge = wire("languages")->get("german"); wire("user")->language = $emailLangauge; $mail = $yourpage->render(); // restore the original language setting wire("user")->language = $savedLanguage; Not tested -
Hi. I have several sites on which I periodically get this exception SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '41-0' for key 'PRIMARY' (in /wire/core/FieldtypeMulti.php line 295) All exceptions go from URLs http404 or 404. I understand what this exception means, but can't found out what is causing it. Do you have any suggestions?
-
Oh.. I have been thinking that pages are loaded via ajax and Smoothstate is used only for animation. I have to look closely to this plugin as it looks awesome. Offcourse I want. If you have time to share some details, it would be great!!!
-
Hi, @Sérgio Really nice work. Maybe you have some tips to share about ajax page load. Maybe you have met some challenges while implementing this feature. If so, could you please share them.
-
Hi @BitPoet I don't know how you knew about that, but you was right. Original fromName $mail->fromName(_t("Perfect Eyebrows — студия идеальных бровей")); I have been shortening it letter by letter and tracked it down to next result: In these cases I still get wrong result $mail->fromName(_t("еальных бровей")); $mail->fromName(_t("альных бровей")); but that one works $mail->fromName(_t("льных бровей")); So, it looks like there is some limitation of fromName length? But why it works with wireMailSmtp?
-
Hi @BitPoet. Thank you about your clarification about setLocale. First snippet of code is just content of email that shows in webmail content area, here is the code from mail source Subject: =?UTF-8?Q?=D0=A1=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?Q?=20=D1=81=20=D1=81=D0=B0=D0=B9=D1=82=D0=B0=20eyebrows=2Ecom=2Eu?= =?UTF-8?Q?a=20=7C=20=32=35-=30=33-=32=30=31=37=20=32=30=3A=32=32?= From: =?utf-8?Q?Perfect.Eyebrows.=E2=80=94.=D1=81=D1=82=D1=83=D0=B4=D0=B8=D1=8F.=D0=B8=@web355.default-host.net X-Delta-Virus-Check: ok X-Delta-Spam-Symbols: Symbols: ONCE_RECEIVED(1.00), FROM_EXCESS_QP(1.19), BAYES_SPAM(4.60)(0.92); X-Delta-Spam-Score: 6,8 X-Delta-Virus-Check: ok X-Delta-Spam-Symbols: Symbols: FROM_EXCESS_QP(1.19), BAYES_SPAM(4.60)(0.92); X-Delta-Spam-Score: 5,8 =D0=B4=D0=B5=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D1=85 =D0=B1=D1=80=D0=BE=D0= =B2=D0=B5=D0=B9?= <no-replay@site.com> X-Mailer: ProcessWire/WireMail Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=98=D0=BC=D1=8F: =0Adfadfads=0A=D0=A2=D0=B5=D0=BB=D0=B5=D1=84=D0=BE= =D0=BD: =0A+38 (054) 654-65-46=0A=D0=9D=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0= =B8=D0=B5 =D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=0A=D0=93=D0= =BB=D0=B0=D0=B2=D0=BD=D0=B0=D1=8F=0A=D0=A1=D1=81=D1=8B=D0=BB=D0=BA=D0=B0 = =D0=BD=D0=B0 =D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=83 =D1=81 =D0= =BA=D0=BE=D1=82=D0=BE=D1=80=D0=BE=D0=B9 =D0=BE=D1=82=D0=BF=D1=80=D0=B0= =D0=B2=D0=BB=D1=8F=D0=BB=D1=81=D1=8F =D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1= =81=0A
-
I can't get wiremail to work as expected on remote host. On locale server it works as expected. On remote I'm getting emails like =D0=B4=D0=B5=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D1=85 =D0=B1=D1=80=D0=BE=D0= =B2=D0=B5=D0=B9?= <no-replay@site.com> X-Mailer: ProcessWire/WireMail Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=98=D0=BC=D1=8F: =0Adfadfsd=0A=D0=A2=D0=B5=D0=BB=D0=B5=D1=84=D0=BE=D0= =BD: =0A+38 (065) 465-46-54=0A=D0=9D=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8= =D0=B5 =D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=0A=D0=93=D0=BB= I have tested it with different content types and content transfer encodings, but with no luck, so I'm curious about is wiremail functionality somehow bound with setLocale, because it is the only one thing that have been changed on remote server?
-
Hi @Doc I like it, but have several remark. There is no favicon. You should you hreflang on pages where you have translations: rel='alternate' hreflang='en-GB' Why don't you use any minifications? You can use AIOM to combine and minify your js, css and minify your html output. And maybe you would set some small left and right padding to .big-menu-item > div > p
-
Hi @Roope Looks like module doesn't work when template cache is on. It loads var emo_addr = new Array(); emo_addr[0] = "fA1PLjJh83r7WD9s+apZEH5RTFM0uYwS2Ge6bxVOktKvIndQC4qBUycoim.NlXgz"; emo_addr[1] = "sJL2Tc4GuoWX8VHn0yXx05jt0182Mh3xF6Ue05jt0haQ9VxdFVXfFRxxTO3QYoWdTcXn7OHG86mt0VFQ+JHmF53q0oYB7VDQ0pmyTZCQTZif"; if(window.addLoadEvent) addLoadEvent(emo_replace()); just for first time after cache timeout, but cache is saved without it. Can somebody confirm it? And one small feature request: could you change "Replate text string" input from text to text Multilanguage field.
-
I think you should use $sanitizer->selectorValue($value) as you use values in selector.
-
Hi @tpr I have found one small issue with CKEditor plugins, didn't find any mentioning in this threed, but maybe you are alreade aware about it. If field is just in a page all additional plugins are loaded and initilated, but if field is inside of matrix/repeater field with ajax loading. After opening of collapsed item CKEditor in it is initializing just with plugins set in field settings.
-
Hi @kongondo I have started a project with Padloper, and I'm thinking to wait for your module, but want to know about price and the maximum term of release date. Could you please provide some info?
- 11 replies
-
Is it expected behavior that page reference field exludes current page from pages that fit to defined selector? I have page reference field where I define template "service" as selector. This field is also included to one of matrix types in matrix field on template "service". When I use this field on other templates - everything is ok, but when I use it on pages with template "service" it show all pages exluding current page. P.S I'm talking about case when I edit "service" page in admin and current page should be in this field as it fits selector.
-
@DL7 Great, if it works for you.
- 12 replies
-
- 1
-
- field type options
- options
-
(and 1 more)
Tagged with:
-
@DL7 Options ( page with template "options") - ABS ( page with template "option") - DEF ( page with template "option") - BAR ( page with template "option") Page 1 ( template "page" with single page field "options_field" ) use ABS Page 2 ( template "page" with single page field "options_field" ) use DEF Page 3 ( template "page" with single page field "options_field" ) use DEF Page 4 (template "page" with single page field "options_field" ) use BAR Then in your output $options = $pages->find("template=option, limit=100"); echo $options->each(function($item) { $count = $pages->count("template=page, options_filed=$item"); if($count) { return "<li>{$item->title} ({$count})</li>"; } });
- 12 replies
-
- 2
-
- field type options
- options
-
(and 1 more)
Tagged with: