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) |
Posts Archive Feature - i18N Special Pages/Search - hugel - 2014-08-01 Hi everybody, it seeems that i18n special pages and search plugin is the perfect combination to realise a multi lingual blog system. Because the most important feature I'm looking for is switching between two languages. But what about the post archive, has someone developed a monthly/yearly solution? Thanks! RE: I18N Special Pages - mvlcek - 2014-08-01 (2014-08-01, 02:18:05)Oleg06 Wrote: is it possible to use such code This function already exists (except that the second parameter is a string, not a field name)! Code: <?php get_special_field_image('image', $item->title, 480, 320); ?> RE: I18N Special Pages - Oleg06 - 2014-08-08 try clicking on the tags in the catalog and in the sidebar, please RE: I18N Special Pages - mvlcek - 2014-08-11 (2014-08-08, 00:08:39)Oleg06 Wrote: http://business-website.ru/demo/00/katalog/ Should be fixed in version 1.3.2. RE: I18N Special Pages - Oleg06 - 2014-08-11 thank you very much, it works RE: I18N Special Pages - Boneye - 2014-08-21 I have just installed Getsimple and the following plugins: I18N Theme Highlighter I am using Firefox and When I try to creat a new "custom page" in the admin section, it wont show me the "Fields" section or "View" when i click on the links. I am also unable to see these sections when I am lokking at one of the custom page types that are already pre-defined with this plug-in (e.g Blog, News, Software, User Profile.) Any reason why I cant see the "Fields" section? RE: I18N Special Pages - Carlos - 2014-08-21 javascript disabled? Or some script-blocking addon like NoScript? What if you try with other browser? RE: I18N Special Pages - Boneye - 2014-08-21 (2014-08-21, 04:31:15)Carlos Wrote: javascript disabled? Or some script-blocking addon like NoScript? I have tried it in Firefox, Safari and Chrome... but still no luck. I use a Macbook so dont have IE. I might try a clean install af everything RE: I18N Special Pages - Boneye - 2014-08-21 (2014-08-21, 04:37:26)Boneye Wrote:(2014-08-21, 04:31:15)Carlos Wrote: javascript disabled? Or some script-blocking addon like NoScript? I did a clean install and its all now working.... Thanks I18N Special Pages - Linked Tags - hugel - 2014-09-24 Hi everybody, I´m still excited about this plugin - thank you, mvlcek. Now I'm building a kind of blog with some categories using tags. The main page is an overview showing search results of pages tagged either TagA or TagB. In the search entry I'd like to show the tags given to the pages (special pages) and this tags should be links to an overview page showing only pages of that tag. Thanks a lot! RE: I18N Special Pages - hugel - 2014-09-24 Well, I tried this: <?php get_special_tags($slug=searchresults, $separator=' ', $all=true); ?> in my special page type. In my result page "searchresults" I only have this: (% searchresults %). The special pages have tags like "news" or "work". In my overvie page I have all the search entries listed, every search entry now displays the given tag(s) and they are linked. Then I klick on the linked tag "news" and a page opens with this url: ..index.php?id=searchresults?tags=news. But I don't get the expected results, it only says: "OOPS! PAGE NOT FOUND!" The url with the added tag looks O.K. to me. Why does it not work? Has someone an idea? Thank you RE: I18N Special Pages - Linked Tags - hugel - 2014-09-25 I've just found the bug. It's the second question mark in the generated url: ../index.php?id=searchresults?tags=news If you change the second question mark manualy into "&" it works. ../index.php?id=searchresults&tags=news But how can I change the url generation? And another question: What parameter can I add to get only pages in one of the available languages? This doesn't work: <?php get_special_tags($slug=searchresults, $separator=' ,', $all=true, $lang=en); ?> Thank you! (2014-09-24, 18:42:45)hugel Wrote: Hi everybody, RE: I18N Special Pages - Linked Tags - hugel - 2014-09-25 O.K., stupid me. I made a simple modification in the file "specialpages.class.php" and that solved the problem. (2014-09-25, 00:34:04)hugel Wrote: I've just found the bug. It's the second question mark in the generated url: RE: I18N Special Pages - bensayers - 2014-11-25 Hello Mvlcek, I just launched a website using SSL/HTTPS for the first time with GetSimple CMS. Everything seems to be working fine except for one issue with the file browser and I only see it on Special Pages. When I select a file, the protocol is changed to http instead of https and ":443" is added between the domain name and file path - like so: If I save the special page, the image will not display. If I remove the :443 from the file path and change the protocol, it works fine. Unfortunately, my client will not understand how or why they have to do this... I have the correct protocol entered for my URL (https://www.domainname.com/) on the Settings page. I'm using the latest version of GS (3.3.4), all the latest versions of plugins have been installed. I turned on debug mode and there weren't any errors. My computer is running Windows 7 and the server is on SSD CloudLinux OS, PHP is version 5.3.27, the SSL cert is installed and I'm not receiving any validation errors. The file browser worked fine during development, it wasn't until I launched the site and set the URL to use the HTTPS protocol that this issue appeared. A list of the installed Plugins is below. Is there any additional information I can provide to help diagnose? Thanks in advance! Installed Plugins: Branded Login, Default Content, DynPages, FancyBox Plugin, i18n Base, i18n Gallery, i18n Search, i18n Special Pages, Imagizer, Simple Input Tabs, Small Plugin Toolkit, i18n Special Pages Extras, Multi User RE: I18N Special Pages - mvlcek - 2014-11-25 (2014-11-25, 01:57:19)bensayers Wrote: Hello Mvlcek, I just launched a website using SSL/HTTPS for the first time with GetSimple CMS. Everything seems to be working fine except for one issue with the file browser and I only see it on Special Pages. When I select a file, the protocol is changed to http instead of https and ":443" is added between the domain name and file path This seems to be caused by some old unnecessary complex code. Please put the attached files into plugins/i18n_specialpages/browser and check if this solves the problem. RE: I18N Special Pages - bensayers - 2014-11-25 (2014-11-25, 03:29:38)mvlcek Wrote:(2014-11-25, 01:57:19)bensayers Wrote: Hello Mvlcek, I just launched a website using SSL/HTTPS for the first time with GetSimple CMS. Everything seems to be working fine except for one issue with the file browser and I only see it on Special Pages. When I select a file, the protocol is changed to http instead of https and ":443" is added between the domain name and file path RESOLVED! You are my hero. Thanks for the super speedy support, mvlcek! RE: I18N Special Pages - Oleg06 - 2014-12-04 there are settings such as special pages such code Code: <div class="col-lg-3 col-md-4 col-sm-6"> Code: <div class="clearfix visible-sm-block"></div> RE: I18N Special Pages - bensayers - 2014-12-14 Hi Martin, I'm using Special Pages to manage customer reviews and I need to display a total count of the reviews (all child pages of the parent "client-reviews") so I can use microdata to calculate the aggregate rating. Is this possible? Thanks in advance! RE: I18N Special Pages - mvlcek - 2014-12-15 (2014-12-14, 19:14:14)bensayers Wrote: Hi Martin, I'm using Special Pages to manage customer reviews and I need to display a total count of the reviews (all child pages of the parent "client-reviews") so I can use microdata to calculate the aggregate rating. Is this possible? Thanks in advance! Something like the following (using the I18n plugin) should work: Code: <?php echo count(return_i18n_menu_data('client-reviews', 1, 1, I18N_SHOW_NORMAL); ?> Just using get-simple core the following might also work: Code: <?php echo count(getChildren('client-reviews')); ?> RE: I18N Special Pages - bensayers - 2014-12-16 (2014-12-15, 00:37:51)mvlcek Wrote: Something like the following (using the I18n plugin) should work: Man that was fast - thanks Martin, I'll give it a shot! RE: I18N Special Pages - sarnaiz - 2015-01-20 Hi Martin, I am having trouble with getting an image to show in my results display. I have a news special page with several fields which are working, but the image "thumb" does not appear. The only news article at this point calling a thumb is the one showing a summary in the list of news items on the page. The other items do not have any image specified. http://pweaveanea.org/new-home I am using the following code in my search: PHP Code: <h3 class="search-entry-title"> The site is using 3.3.4 and plugins are up to date. Any help you can provide is appreciated!! Sherri RE: I18N Special Pages - mvlcek - 2015-01-21 (2015-01-20, 13:57:38)sarnaiz Wrote: Hi Martin, If the name of the field containing the link to the image ist "thumb", the code would be Code: <?php get_special_field_image("thumb", null, 200); ?> Code: <?php get_special_field_image("thumb", return_special_field('title','',false), 200); ?> RE: I18N Special Pages - sarnaiz - 2015-01-21 (2015-01-21, 02:35:25)mvlcek Wrote:(2015-01-20, 13:57:38)sarnaiz Wrote: Hi Martin, Thank you very much Martin. This code worked. I will style the image later on when I know people will not be visiting the site. I appreciate you taking the time to write the code out with the proper syntax for me. Since I am not a programmer I tend to take instructions literally because I don't know any better! Sherri RE: I18N Special Pages - Tyblitz - 2015-01-21 I was getting kind of pissed because a client absolutely wanted to not have landing pages and only allow visitors to click on the dropdown submenu's, so I wanted to make use of the more advanced API functions from the i18n_navigation component. I'm a great supporter of i18n but for a PHP noob like me the documentation on mvlcek.bplaced.net didn't really suffice, especially not about the output of the return_i18n_menu_data function. So after a day of PHP research and fiddling with i18n plugins in GetSimple, I wrote a more comprehensive piece of documentation here: http://codepen.io/Webketje/full/VYbxmy/. Feel free to check it out (especially Martin, as you may point me to errors, if any). As a bonus in the Examples section there's a PHP function to only set links in the navigation for the menu items that do NOT have any children. (so you can only ever click on the last sub-menus). RE: I18N Special Pages - shawn_a - 2015-01-21 You could probably get away with using css for that actually. Using pointer events. heres my function for bootstrap(2) http://get-simple.info/forums/showthread.php?tid=3787&pid=35170#pid35170 |