Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I18N Special Pages
Have one question.
Is it posiible to display two different search results of one special page type?
For example: First search result is some gallery, with images, descriptions and with one optional field. If it is not empty, near the image displaying special mark.
Second search result is pages with this mark ( special pages with non-empty optional field). There we need display only links to pages with subjects of this optional fields.

in other words, is it the only way of displaying searching of the special pages result - to write it in search tab of special page type. Or there is the oter way to do this?

sorry for my english, guys :3
And thank u for your awesom plagins, mvlcek.
Reply
maggit Wrote:Have one question.
Is it posiible to display two different search results of one special page type?
For example: First search result is some gallery, with images, descriptions and with one optional field. If it is not empty, near the image displaying special mark.
Second search result is pages with this mark ( special pages with non-empty optional field). There we need display only links to pages with subjects of this optional fields.

in other words, is it the only way of displaying searching of the special pages result - to write it in search tab of special page type. Or there is the oter way to do this?

sorry for my english, guys :3
And thank u for your awesom plagins, mvlcek.

The search result HTML/PHP on the special page type setting is mainly for displaying special pages in the general site search in order to e.g. include a picture for products or any other special information.
For an example see here. Note how the jEasyORM page entry is displayed with license, homepage and download link.

If you need a search for one type of special pages, you can use the component parameter of search like described here. Note the example at the end of the page, where no download link and no excerpt is included for the products.

You can use different components for your general product search and another one for the search for the special products ("products" used here as placeholder for a special page type).

If you want to categorize your products based on a field the best way is to use a dropdown field and set it to index as tag. Then you can use tags=fieldvalue to search for these products.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
Thanx a lot!
have not seen that one can configure the display through the component. it's carelessness
dropdown works fine for me. But it is superfluous gesture. Anyway it's easy. Thank you again!
Reply
Hi, I'm new to GetSimple but picking it up quickly. I18n Special Pages seems to be the perfect plugin for the project I'm working on. Unfortunately, I can't seem to get to the "fields" section to add or edit. After I go to "configure I18n Special Pages" and choose either an existing template or make a new one then I'm taken to the "general" screen. From here nothing happens when I click on the "fields" button or the "view" button.

I'm sure it's something that I'm doing wrong. Any suggestions would be very helpful.

Thanks
-Tom
Reply
riff_raff Wrote:Hi, I'm new to GetSimple but picking it up quickly. I18n Special Pages seems to be the perfect plugin for the project I'm working on. Unfortunately, I can't seem to get to the "fields" section to add or edit. After I go to "configure I18n Special Pages" and choose either an existing template or make a new one then I'm taken to the "general" screen. From here nothing happens when I click on the "fields" button or the "view" button.

I'm sure it's something that I'm doing wrong. Any suggestions would be very helpful.

Thanks
-Tom

After some research I realized that I was missing the .htaccess file for the plugin. Now that I moved it over to the server everything is working as it should.
Reply
riff_raff Wrote:After some research I realized that I was missing the .htaccess file for the plugin. Now that I moved it over to the server everything is working as it should.

Thanks for the info. I added it to the installation instructions in this topic and in extend.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
I18N Special Pages version 1.0.1:
  • some minor adjustments to GS 3.1+ look & feel
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
Im experiencing little problem here.
I installed I18N special pages but I cant creat new page, in CP it seems fine and correct, atleast I think, but it doesnt show up in website or it might be me aswell.
So to make things easier could someone please give me instructions how to make blog?

Thanks
Taavi
Reply
taavi Wrote:So to make things easier could someone please give me instructions how to make blog?

Check Angryboy's blog:
http://spritingonawhim.net.tc/articles/g...m/?lang=en
http://spritingonawhim.net.tc/articles/g...3/?lang=en
Addons: blue business theme, Online Visitors, Notepad
Reply
Thanks yojoe, now it runs like charm.
However I cant get it going with two different languages. Im using all the plugins needed, I guess, I18N, I18N Special pages etc, but english blog shows english posts, like wanted, but blog in different laguage shows all posts, including english ones.
Could someone give directions here?

Thanks
Taavi

EDIT
Just figured out by myself, just added lang="" to (% searchresults %).
Reply
My question will probably sound idiot ...
I use the plugin "Special Pages" and I can not put my first page customized with "Special Pages" that appears first on my site ...
It seems that there is always the "Home" page that appears...
so I would like that my first page appears there:

http://www.siteName.com/myFirstPageCustomised
Reply
darsanha Wrote:My question will probably sound idiot ...
I use the plugin "Special Pages" and I can not put my first page customized with "Special Pages" that appears first on my site ...
It seems that there is always the "Home" page that appears...
so I would like that my first page appears there:

http://www.siteName.com/myFirstPageCustomised

I wonder if you could find the special page xml in data/pages/ rename it to index and modify the tag <url>index</url>. I have not tested this so I would make backups before I did it.

Another option would be to make a template just for the index page (index.php) then you could include GS functions to pull data from your special page and display it on your index. This method would have more flexibility (and probably a more correct way of doing it).

Code:
<?php echo getPageField($page, $field); ?>
<?php echo getPageField(special_page_slug, 'content'); ?>

Using this method you could even create a custom field, using the Custom Fields plugin, that you used to set the $page variable, and dynamically change the index page.

Here is a link to a GS function Cheatsheet, http://www.digimute.com/getsimple-31-fun...cheatsheet
there is also more information in the Wiki

Just some idle thoughts, GS is great for those of use who are just getting our feet wet. Simple enough to understand but with enough power, and support, to accomplish some really neat things with just a little out of the box thinking, and a lot of searching.
Reply
thank you jay_m,
this is exactly what I wanted.
I changed my page "index.php" in "data / pages" and it works perfectly.

Thank you again!
Reply
Having also a little trouble figuring out how to use this as an item/product manager.

I have set an image field (type=image) on the special products page special fields areas.
The Browse button on a new Special page browse images directly from /data/uploads/...
These images are also show on the products overview list/page causing a huge performance on the pageloading
Is there a function to show the corresponding thumbnails from /data/thumbs/... from these images (without me stripping the input)?

Furthermore I asume (% searchresults tags:_special_producten %) is the way to create a products overview page?
Reply
Hello,

Short question, hope you'll find some time to post a reply.

I'm using fancy URLs with the following structure - %slug%

Your plugin is primary for a blog. I've created a page called blog and use it as a parent to list all the special pages using your search plugin.

Question: How I can ignore the permalink structure and to make the urls look like this:

site.com/blog/page-url

instead of

site.com/page-url

because of the %slug% as I meant above.

Thank you.
Reply
[/root.] Wrote:Hello,

Short question, hope you'll find some time to post a reply.

I'm using fancy URLs with the following structure - %slug%

Your plugin is primary for a blog. I've created a page called blog and use it as a parent to list all the special pages using your search plugin.

Question: How I can ignore the permalink structure and to make the urls look like this:

site.com/blog/page-url

instead of

site.com/page-url

because of the %slug% as I meant above.

Thank you.

Why don't you use %parent%/%slug%?
Otherwise you can manually construct your link in HTML/PHP code for the display of a search result in the special page configuration instead of using the standard link, e.g.
Code:
...
  <a href="/blog/<?php get_special_field('url','',false); ?>">
  ...
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
Thank you. It works but the addition of "blog" is being ignored in rel="canonical" and sitemap as well.

I'm transferring a site from another CMS to GS, so I'm trying to keep the old url structure (good rankings in search engines).

mvlcek Wrote:
[/root.] Wrote:Hello,

Short question, hope you'll find some time to post a reply.

I'm using fancy URLs with the following structure - %slug%

Your plugin is primary for a blog. I've created a page called blog and use it as a parent to list all the special pages using your search plugin.

Question: How I can ignore the permalink structure and to make the urls look like this:

site.com/blog/page-url

instead of

site.com/page-url

because of the %slug% as I meant above.

Thank you.

Why don't you use %parent%/%slug%?
Otherwise you can manually construct your link in HTML/PHP code for the display of a search result in the special page configuration instead of using the standard link, e.g.
Code:
...
  <a href="/blog/<?php get_special_field('url','',false); ?>">
  ...
Reply
Cant really get my head around this issue, but The WYSIWYG-editor doesnt work for me after installing i18n. Whenever I disable i18n it starts working again. Any ideas?
Reply
I18N Special Pages 1.1:
  • adds new functions to easily display scaled images or thumbnails (see here, get_special_field_image, return_special_field_image) (@Rene)
  • includes a danish translation (thanks @chrsand)
  • includes a russian translation (thanks @reff)
  • includes a dutch translation (thanks @Draxeiro)
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
is it possible to remove ?lang=ru
Reply
Oleg06 Wrote:is it possible to remove ?lang=ru
http://business-website.ru/shablony/shab...v-vizitok/

(% searchresults i18n=0 %)
see http://mvlcek.bplaced.net/get-simple/i18nsearch.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
my code (% searchresults tags:_special_vizitka max:6 i18n:0 lang:ru DATE_FORMAT:"%d.%m.%Y - %H:%M" order:created showPaging:1 numWords:1p HEADER="" %)
Code:
<div class="search-entry-excerpt">
  <p><a href="<?php get_special_field('big-image','-',false); ?>" rel="prettyPhoto[templates]">
<img src="<?php get_special_field('mini-image','-',false); ?>" alt="&lt;a href=&#x27;<?php get_special_field('link','',false); ?>/&#x27; target=&#x27;_blank&#x27;&gt;Выбрать шаблон&lt;/a&gt;" /><span class="zoom-overlay"><i class="magnify"></i></span></a></p>
<h3 class="search-entry-title">
  <a href="<?php get_special_field('link','',false); ?>">
    <?php get_special_field('title','',false); ?>
  </a>
</h3>
</div>
Reply
question unanswered
Reply
To get links without language either uninstall I18N or use
Code:
...
<?php get_special_field('simplelink','',false); ?>
...
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
Create New Special Page is not populated. I see the column headings, Title & Name. Nothing below.
Also no .htaccess file installed or in the download.

I am using a Mac and hidden files are displayed.
Downloaded on a Win7 box and there were .htaccess files in several of the subdirs, but not in the root.

Need direction, please.
Reply




Users browsing this thread: 2 Guest(s)