2014-08-01, 07:19:34 (This post was last modified: 2014-08-04, 19:44:32 by hugel.)
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!
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.)
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.
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
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,
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.
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:
../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,
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.
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
(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.
(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.
RESOLVED! You are my hero. Thanks for the super speedy support, mvlcek!
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!
(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:
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
In your code you use the variable $thumb, which is probably empty, instead of the string "thumb". The second parameter is the title, which you could set to a fixed text like "Image illustrating the topic" or to another field, e.g. to have the page title as image title:
You only need the third parameter, if the image does not have the correct size. The fourth optional parameter is the height (which in your call is false = 0, because you forgot it).
In your code you use the variable $thumb, which is probably empty, instead of the string "thumb". The second parameter is the title, which you could set to a fixed text like "Image illustrating the topic" or to another field, e.g. to have the page title as image title:
You only need the third parameter, if the image does not have the correct size. The fourth optional parameter is the height (which in your call is false = 0, because you forgot it).
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!
2015-01-21, 08:50:32 (This post was last modified: 2015-01-21, 08:51:20 by Tyblitz.)
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).