I18N Special Pages - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: I18N Special Pages (/showthread.php?tid=2747) |
RE: I18N Special Pages - mvlcek - 2023-02-02 I18N Special Pages 1.4.2:
RE: I18N Special Pages - tuxy - 2023-02-02 Awesome work @mvlcek :-) RE: I18N Special Pages - tuxy - 2023-02-20 Hello, For another project, i will try using I18N Special Pages, but for some reason the plugin doesn't work probably. When try create setup a special page type, there is no submit button (save or cancel), and the tabs general, fields and view are not clickable. Enable debug, and shows errors, see screenshot. A while ago, test this awesome plugin without problems. I'm used php8.1 and GSCMS CE is a clean install. Try also re-install the plugin and on another hosting, but the same problem. Is it also possible reset the data from this plugin? Regards, Christophe RE: I18N Special Pages - islander - 2023-02-20 (2023-02-20, 04:52:50)tuxy Wrote: Hello, Confirmed. php7.4 is still working, but once moved to 8.x it looks like the page doesnt finish rendering. I get the following errors with debug: Quote:Deprecated: Optional parameter $class declared before required parameter $issearch is implicitly treated as a required parameter in D:\wamp64\www\getSimpleCMS-3.3.16CE\plugins\i18n_specialpages\conf_edit.php on line 583 RE: I18N Special Pages - mvlcek - 2023-02-20 (2023-02-20, 04:52:50)tuxy Wrote: For another project, i will try using I18N Special Pages, but for some reason the plugin doesn't work probably. I18N Special Pages 1.4.3:
Please keep testing - I only tried to change existing page types, never creating a new one ;-) RE: I18N Special Pages - islander - 2023-02-20 (2023-02-20, 09:15:06)mvlcek Wrote:(2023-02-20, 04:52:50)tuxy Wrote: For another project, i will try using I18N Special Pages, but for some reason the plugin doesn't work probably. Super fast fix! Thanks for the continued work on your plugins. RE: I18N Special Pages - tuxy - 2023-02-20 Hi @islander, thanks for the confirmation, so i know it not only by me @mvleck, Wow! Very fast support! Tested and works perfect now Christophe RE: I18N Special Pages - tuxy - 2023-02-23 Hello guys, Experimenting with the custom field DropDown box, choosing save as tags (comma seperated). How use this DropDown box? When add a page i can't multiselect, also not with CTRL+Click, the items in the DropDown box. How can i multiselect the items? RE: I18N Special Pages - mvlcek - 2023-02-23 (2023-02-23, 00:04:50)tuxy Wrote: Hello guys, You can't. It is a single-select dropdown. Index as tags only makes sense, if your option includes commas. E.g. having a field sweetener with options "sugar", "honey", "sugar, honey". RE: I18N Special Pages - tuxy - 2023-02-23 (2023-02-23, 01:23:42)mvlcek Wrote:(2023-02-23, 00:04:50)tuxy Wrote: Hello guys, Hi mvlcek, Okay, that's a clear answer. Thank you for the help ;-) RE: I18N Special Pages - tuxy - 2023-02-25 I think found a bug in the I18N Special Pages plugin, when clone a Special page. When clone a Special Page, the tag menu in the xml-file doesn't change. Original Special page content: Code: <menu><![CDATA[Nieuwpoort]]></menu> Copied Special page content (also after change the title and slug): Code: <menu><![CDATA[Nieuwpoort]]></menu> Found this issue, when clone a page, seeing in the breadcrumb shows the same text (menu-name) from the original page, also after change the title and slug, the menu- tag doesn't change. RE: I18N Special Pages - GeorgiosG - 2023-03-04 Hi All, Maybe it's something I am missing, or something I don't understand... I am trying to use the I18N Special Pages plugin to be able to standardise sets of custom fields for (hypothetically speaking) two groups of pages. Such pages will get effectively tagged as "_special_group_a" and "_special_group_b" . Now, what I want to do from a theme template, is to iterate through a given group of pages, and be able to access the custom fields for different purposes. To make my question as direct as possible, what I am really looking for is to replace the ???s with the correct PHP calls in the following code: Code: $search=return_i18n_search_results('_special_group_a',null,0,-1,$language); I am aware of the functionality offered by using the "view" and "search" tabs when editing Special Page types. This brings up my follow-up question... Which method is more efficient? My installation at the moment is GetSimple v3.3.16, along with i18n Base/Custom Fields/Search/Special Pages and Navigation. The CMS itself and the plugins were all downloaded from http://get-simple.info/ Regards, Georgios RE: I18N Special Pages - mvlcek - 2023-03-04 (2023-03-04, 08:51:37)GeorgiosG Wrote: Hi All, If you want to programmatically access a field like in your code, they should all be available as fields in entry: $entry->url (the page slug), $entry->title, $entry->X (for custom or special field named "X"). See http://mvlcek.bplaced.net/get-simple/i18nsearch (API) However, the easier way is to just add to your page (language should be that of the page): Code: (% searchresults tags="_special_group_a" language="en" %) See http://mvlcek.bplaced.net/get-simple/i18nspecialpages (API). See http://mvlcek.bplaced.net/search?tags=+software&words=&search=Search for an example: the found software entries include information like home page and download links. This is the HTML/PHP code of the example: Code: <h3 class="search-entry-title"> In the view tab of the special pages configuration you can define how the page is displayed. The default is just to show the content field. See http://mvlcek.bplaced.net/oss/jeasyorm for an example: the special fields are displayed in a box. This is the HTML/PHP code of the example: Code: <div class="software-details"> RE: I18N Special Pages - GeorgiosG - 2023-03-04 Hi mvlcek, Thanks for the detailed response. After all it was the simplest reason for not working... lack of sleep... The problem was with the line "foreach($search['result'] as $entry)" it was missing an "s"... the key is supposed to be "results"... duh. It is all working as I need it now. Thank you. Georgios RE: I18N Special Pages - islander - 2023-07-17 Has anyone experienced problems with this plugin while having custom toolbar set in gsconfig.php? Even if I try to set the toolbar to Advanced, it seems to break the plugin. |