Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
List Recent Pages
#1
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
Reply
#2
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.
Reply
#3
An example here:
http://get-simple.info/forums/showthread...0#pid31320

(Remove 'tags'=>'_parent_blog', if you want to do it for all pages in the site.)
Reply
#4
...and I have that! Thanks! <3 I'll give it a try.
Reply
#5
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.
Reply
#6
You can also use the (% searchresults ... %) placeholder in a page content.
http://mvlcek.bplaced.net/get-simple/i18nsearch
Reply
#7
(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.
Reply
#8
Check the page source code, you'll find classes like search-entry-title that you can style in your custom css.
Reply
#9
(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
Reply
#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.
Reply
#11
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.
Reply




Users browsing this thread: 1 Guest(s)