-
Posts
926 -
Joined
-
Last visited
-
Days Won
1
Everything posted by PWaddict
-
It seems that the module isn't working anymore on websites without languages core modules installed. I've upgrade the module from 2.0.3 to 2.0.7 on a live website (without languages core modules installed) and when I tried to add a page that used by this module the page didn't even saved as unpublished and there was an error. I forgot to copy the error cause I was in hurry to switch back the module to the 2.0.3 version. I hope @kixe can fix it.
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
Module: Video embed for YouTube/Vimeo (TextformatterVideoEmbed)
PWaddict replied to ryan's topic in Modules/Plugins
Use the Global Options for Embedded YouTube/Vimeo Videos module to add player parameters. -
"Site in maintenance": how set it?
PWaddict replied to franciccio-ITALIANO's topic in Getting Started
If you want to set maintenance mode only in database follow this guide otherwise for the entire site install the Page Protector module. -
Any news about the fix? Thanks. Note: The problem happens only on multi-language title field. If use a regular text field everything is working properly.
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
Yes, I have the 2.0.7 version. I found the issue. I'm using 2 fields on "Name format for children": title tour_date All these time I was only posting a title on default language. The only way to get the correct date format is If I post a title on an additional language. Can this be fixed from your module?
- 100 replies
-
- 1
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
For me it's still not working All the page names having the format value from the default language. Thank you so much for updating the module with this feature. I hope I will figure out why it isn't working for me. I'm on localhost with php7 and the pages are created from a pagetable. Do you think any of these is causing the issue? My site url on localhost is http://localhost/mysite/ and I'm thinking that the problem might be that. For example the module "Admin Custom Files" can't inject the files properly on that url. Somehow can't see this part: /mysite/. On a live server it's working properly. So, maybe your module too can't see the correct urls of my additional languages. I have to upload it on a live server to make sure if that's the problem. Thanks again. I will let you know if I find the problem.
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
@kixe Can you please confirm that the below example is working for you? If you have %b %d %Y on the default language and %d %b %Y on the additional language are you getting these formats on their page names? default: oct-17-2018 german: 17-okt-2018
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
@kixe I'm suggesting you first to try to get ONLY the regular date format values from additional languages. Add on the default language: M d Y and then on additional language add d M Y. When you managed to get that values correctly on page names then continue by adding the code for setlocale and the strftime format values: %b %d %Y on the default language and %d %b %Y on the additional language.
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
@adrian When you get back online please fix the below issue: Problem: Removing the title from an additional language the page name doesn't switch back to default's language name. Solution: You have to remove this update. You added that cause @videokid had problem with the Greek characters. If someone wants to replace non-latin characters there is a module on PW Core modules called "Page Name". There you can add for example the Greek characters to convert to latin characters. Like this: α=a
-
@kixe My locale settings are correct cause datetime formats on front-end are working fine. Even on the module datetime formats are working fine if it's on the default language. I wish I knew how to modify the module to get the correct datetime formats for the additional language too. Here is exactly how my translated "C" string value is on each language: Default en_US.utf8, English_United States Español es_ES.utf8, Spanish_Spain Deutsch de_DE.utf8, German_Germany Note: The first value is for my server (Linux) and the second is for XAMPP (Windows). You should replace your en_EN to en_GB to get the proper value. As far as I know the en_EN isn't a correct locale. When you said that you've tested the translations you meant on template just like on your example above or in the module?
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
On my test site my default language is english and having 2 additional languages (spanish & german). All the language page names are getting the english format. If I switch the default language to german then all language page names are getting the german format and so on...
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
I've tested the new update and It doesn't work. All the language page names are still getting the default language datetime format.
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
Thank you for the update. It works great. I'm settng the locale by translating the "C" string on LanguageSupport.module on each language which is the easiest method. The other method would be to add a field for locale inside the system's template "language". I've changed the default's language locale from english to german and the module updates the page name from oct-17-2018 to okt-17-2018. So PW is aware of the datetime's language. Do you think you can get the locale from the "C" string on LanguageSupport.module or from a field under the template "language" so the module can update the additional language page names too?
- 100 replies
-
- 2
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
@kixe There is one last thing that I think needs to be fixed either you're using multi-language datetime formats or not. The page name for all languages has only the default language's datetime format. If you can make it grab for the additional languages their datetime formats that would be perfect.
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
Hi @adrian If I remove the title from the additional language the page name doesn't switch back to default's language name. Can you please fix it?
-
That's not working for me since I'm grabbing the date from a datetime field which uses multi-language format. Here is what I did to make it work: I replaced the 174 line: $value = date($dateOutputFormat, $value); into this: $value = utf8_encode(strftime($dateOutputFormat, $value)); Can you add an option on the module where we can select if we want to use multi-language datetime formats?
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
@kixe I'm using a multi-language datetime field on the name format for children and it doesn't work properly. I'm using this format: %b %d, %Y and it can't update the page name with the format %b. It seems that it can only update the numeric formats. Instead of getting this page name: jan-22-2018 I'm getting this: b-22-2018 Can you please fix it?
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
Thanks for the reply. My custom page includes some text and the icon for the navigation so I find it easier to create a custom process module for it.
-
@diogo I've created a custom page with this module and it's working great but how can I assign an icon to it?
-
Ok now I understand, thanks. I will stay then with the hardcoded HideOtherUserPages module.
-
I selected Specified Branch Parent and then on the user's profile field I selected the Home branch. Then on the Branch edit exclusions I selected a page under the Home that I want to hide but it's still visible. What am I missing?
-
@Wanze Could you please add an icon to the module? Cause in mobile menu it doesn't look good without an icon. Inside getModuleInfo function add this: 'icon' => 'bar-chart'. Thanks.
-
@adrian Is it possible with this module to hide specific pages under home or I should stay with the hardcoded HideOtherUserPages module?
-
I've checked with an hreflang validation tool a multi-language website from the PW Sites Directory that's using both hreflang in the header and on sitemap and it's OK so I guess I will do the same.
-
Here is another link about hreflang: https://support.google.com/webmasters/answer/189077?hl=en that clearly says we have to use 1 of these 3 methods: HTML link element in header HTTP header Sitemap I'm using the first method "HTML link element in header". So that means on my sitemap I don't have to use hreflang too but do I have to include the links of the additional languages or not? It's a bit confusing...