GetSimple Support Forum
List Recent Pages - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: List Recent Pages (/showthread.php?tid=9531)



List Recent Pages - joyofweaving.com - 2017-03-08

I have the latest version of Get-Simple 3.3.13 installed and am using it as the base for static articles on my site. I'm using News Manager with it as the base for blogging. There's a way of listing a certain number of recent posts with News Manager as well as archives automatically. I'd like to do the same thing with the articles in Get-Simple. How do I do that? Is there a code I can use or do I need a plug-in for this? If I need a plug-in for this, where can I find it? I looked thru them but didn't notice anything that could work for this. Any help very much appreciated. TIA


RE: List Recent Pages - Timbow - 2017-03-09

To display new or updated pages as links in the sidebar you would use I18N search. See http://mvlcek.bplaced.net/  .  It is quite a powerful plugin so come back if you need help.


RE: List Recent Pages - Carlos - 2017-03-09

An example here:
http://get-simple.info/forums/showthread.php?tid=1256&pid=31320#pid31320

(Remove 'tags'=>'_parent_blog', if you want to do it for all pages in the site.)


RE: List Recent Pages - joyofweaving.com - 2017-03-09

...and I have that! Thanks! <3 I'll give it a try.


RE: List Recent Pages - joyofweaving.com - 2017-03-10

Thanks again! Worked a charm! Now to figure out how to get something like this in an article rather than in the sidebar. I think I need I18n Special Pages for that.


RE: List Recent Pages - Carlos - 2017-03-10

You can also use the (% searchresults ... %) placeholder in a page content.
http://mvlcek.bplaced.net/get-simple/i18nsearch


RE: List Recent Pages - joyofweaving.com - 2017-03-10

(2017-03-10, 04:12:16)Carlos Wrote: You can also use the (% searchresults ... %) placeholder in a page content.
http://mvlcek.bplaced.net/get-simple/i18nsearch

Thank you for the quick reply and thanks so much for all your help. Yep! I finally figured that out. I'm starting to understand a lot of how that works now. One thing left to figure out, unless you or someone knows: how to change the CSS for the special search results page? It's defaulting to the theme's css (Innovation) and the text is huge. I'd like to make it smaller.


RE: List Recent Pages - Carlos - 2017-03-10

Check the page source code, you'll find classes like search-entry-title that you can style in your custom css.


RE: List Recent Pages - joyofweaving.com - 2017-03-10

(2017-03-10, 06:36:13)Carlos Wrote: Check the page source code, you'll find classes like search-entry-title that you can style in your custom css.

Thank you again! Heart Smile


RE: List Recent Pages - joyofweaving.com - 2017-03-10

I just noticed this in the listed variables:

tagClassPrefix: If you set this parameter, all tags will be added as CSS classes - prefixed with this value - to the search results. You can use this to style the results based on tags.

I'll try using this prefix variable after creating a style for it in the theme's CSS. If you don't hear from me again, you know it worked.


RE: List Recent Pages - joyofweaving.com - 2017-03-10

I remembered that if I look at the page's source code that we can see the classes there. I see where the custom class is created and what it's called, now I just need to get the css for it to work. It's been a long time since I've done this and have forgotten most of how to do it. I'll be googling for css help. Thanks again.