Posts: 3
Threads: 0
Joined: Aug 2012
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.
Posts: 2,094
Threads: 54
Joined: Jan 2011
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.
Posts: 3
Threads: 0
Joined: Aug 2012
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!
Posts: 4
Threads: 1
Joined: Aug 2012
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
Posts: 4
Threads: 1
Joined: Aug 2012
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.
Posts: 2,094
Threads: 54
Joined: Jan 2011
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.
Posts: 2,094
Threads: 54
Joined: Jan 2011
I18N Special Pages version 1.0.1: - some minor adjustments to GS 3.1+ look & feel
Posts: 2
Threads: 0
Joined: Aug 2012
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
Posts: 1,204
Threads: 30
Joined: Jun 2010
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
Posts: 2
Threads: 0
Joined: Aug 2012
2012-08-27, 20:55:52
(This post was last modified: 2012-08-28, 05:21:43 by gielguwu.)
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 %).
Posts: 17
Threads: 8
Joined: Aug 2012
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
Posts: 43
Threads: 5
Joined: Jan 2012
2012-09-01, 07:09:22
(This post was last modified: 2012-09-01, 07:11:38 by rimapeaks.)
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.
Posts: 17
Threads: 8
Joined: Aug 2012
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!
Posts: 135
Threads: 10
Joined: Aug 2010
2012-09-17, 22:22:39
(This post was last modified: 2012-09-18, 16:53:07 by spiderz.)
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?
Posts: 30
Threads: 4
Joined: Aug 2011
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.
Posts: 2,094
Threads: 54
Joined: Jan 2011
[/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); ?>">
...
Posts: 30
Threads: 4
Joined: Aug 2011
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); ?>">
...
Posts: 15
Threads: 2
Joined: Oct 2010
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?
Posts: 2,094
Threads: 54
Joined: Jan 2011
2012-09-27, 22:21:26
(This post was last modified: 2012-09-28, 09:07:15 by nime.)
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)
Posts: 1,928
Threads: 88
Joined: Apr 2010
2012-10-04, 10:36:03
(This post was last modified: 2015-02-20, 22:27:19 by Oleg06.)
is it possible to remove ?lang=ru
Posts: 2,094
Threads: 54
Joined: Jan 2011
Posts: 1,928
Threads: 88
Joined: Apr 2010
2012-10-04, 11:35:23
(This post was last modified: 2015-02-20, 22:27:05 by Oleg06.)
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="<a href='<?php get_special_field('link','',false); ?>/' target='_blank'>Òыñрðть шðñûþý</a>" /><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>
Posts: 1,928
Threads: 88
Joined: Apr 2010
Posts: 2,094
Threads: 54
Joined: Jan 2011
To get links without language either uninstall I18N or use
Code: ...
<?php get_special_field('simplelink','',false); ?>
...
Posts: 78
Threads: 16
Joined: May 2010
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.
|