Thread Rating:
  • 6 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager (updated)
I would love to see an option to schedule a post to be excluded. That would be very useful for a website for events.  Idea
Reply
(2019-11-14, 16:50:08)krlllo Wrote: I would love to see an option to schedule a post to be excluded. That would be very useful for a website for events.  Idea

you can set a filter when you display all the news manager entries to get this functionality

just install the News Manager Addons Plugin
and insert the following code in your template:


Code:
<?php nm_custom_display_future('
    {{post_title}}
   {{post_date}}
   {{post_content}} ');
?>


that's how I am handling events
Reply
I posted an example of events with NM here:
http://get-simple.info/forums/showthread...1#pid63451
Reply
(2019-11-24, 04:22:20)Scorpio Wrote:
(2019-11-14, 16:50:08)krlllo Wrote: I would love to see an option to schedule a post to be excluded. That would be very useful for a website for events.  Idea

you can set a filter when you display all the news manager entries to get this functionality

just install the News Manager Addons Plugin
and insert the following code in your template:


Code:
<?php nm_custom_display_future('
    {{post_title}}
   {{post_date}}
   {{post_content}} ');
?>


that's how I am handling events

Now I am feeling stupid. lol... anyway, thank you very much! I never used it because i thought that "display_future" would be to schedule a post in the future, not a period of time from the post date. Blush
Reply
(2019-12-03, 01:18:59)Carlos Wrote: I posted an example of events with NM here:
http://get-simple.info/forums/showthread...1#pid63451

Thank You, Carlos! You are always very helpful.

BTW, I have another question: I did a lot of research on the forum and I couldn't find anything about how to add pagination to any page I would like to or on a completely different layout, or even on more than one page, individually.

When I select a different template for the news page, the pagination disappears regardless of how many posts it has.

Thank you in advance!
Reply
I'm not sure I understand.

The main news page navigation links should be rendered regardless of the template you select (of course if there are more posts to be displayed).

On a tag news page, however, there's no pagination unless you specify it in NM Custom settings:

tagPagination - enable tag page pagination like in the main news page. Can be enabled with tagPagination d (default, dynamic) or tagPagination f (fancy or folder-style, requires adding a rewriterule in .htaccess) (default 0, disabled)
( http://www.cyberiada.org/cnb/news-manager-b/ )
Reply
Hello

I'm using Getsimple 3.3.15 (last version) + News Manager updated 3.6 (last version).

This is at th moment the layout:


[Image: AAANEWS.jpg]

QUESTION:
How I can reduce the "white space" between "title" and "date"?
Reply
(2020-01-15, 08:34:55)platinum Wrote: Hello

I'm using Getsimple 3.3.15 (last version) + News Manager updated 3.6 (last version).

This is at th moment the layout:


[Image: AAANEWS.jpg]

QUESTION:
How I can reduce the "white space" between "title" and "date"?

CSS  Smile

Code:
<style>
    .nm_post_title {
        margin-bottom: 0px;
    }
</style>
Reply
(2020-01-15, 16:50:28)Oleg06 Wrote: CSS  Smile

Code:
<style>
   .nm_post_title {
       margin-bottom: 0px;
   }
</style>

Hello Oleg06,

at first thanks for your message!

but, sorry, where is the file that I must change/modify code?
Reply
The file is in the folder with your theme. If the file is template.php, then the specified code, if the file is css, then
Code:
.nm_post_title {
       margin-bottom: 0px;
   }
Reply
Ok.

Iìm using "closest" theme
http://get-simple.info/extend/theme/closest/1195/


in the zip, there is this "template.php"

see here
https://filebin.net/w5j9xi6uxdxjuojp/tem...t=6ldm46u4


ansin the zip, there is also this file
css/style.css

see here
https://filebin.net/eyn8yqtkcotj70i0/sty...t=e01qegt4



But I didn't understand
:-(

please, can you help me
:-(
Reply
Open file https://filebin.net/eyn8yqtkcotj70i0/sty...t=e01qegt4
and add code to it
Code:
.nm_post_title {
       margin-bottom: 0px !important;
   }
Reply
(2020-01-15, 23:47:12)Oleg06 Wrote: Open file https://filebin.net/eyn8yqtkcotj70i0/sty...t=e01qegt4
and add code to it
Code:
.nm_post_title {
      margin-bottom: 0px !important;
  }


YES ! YES ! YES !

THANKS! THANKS! THANKS!

I put your code in file
css/style.css

and now IT IS OK !!

Smile
Reply
Hello again,

I'm using Getsimple 3.3.15 (last version) + News Manager updated 3.6 (last version).

question:

it is possibile to put comments (by users) for each "post" created by plugin "News Manager update"?
Reply
See a way to do it (using disqus.com) here: http://get-simple.info/forums/showthread...7#pid49327

Also, the Pages & Comments plugin supports News Manager.
Reply
(2020-01-17, 00:51:43)Carlos Wrote: See a way to do it (using disqus.com) here: http://get-simple.info/forums/showthread...7#pid49327

Also, the Pages & Comments plugin supports News Manager.


thanks.

I'll try it! Exclamation
Reply
A question:
i'm having a very strange problem.
I'm using Getsimple 3.3.15 (last version) + News Manager updated 3.6 (last version).

I created a post on date 17th january 2020 at 00:29 time

if i logged in GET-SIMPLE, i read "17th january".

But if i'm not logged in GET-SIMPLE, i read "16th january" near the tile post !!! ??? !!!

Why???

Where is the problem?

Huh Huh Huh 



see also here:

ADMIN PANEL FOR "NEWS MANAGER"
EXACT TIME/DATE WHEN I CREATED POST IS
00:27
17 JANUARY 2020
https://i.ibb.co/1Jxp2LW/DATE-TIME.jpg

DATE OF THE POST, AFTER LOGIN IN MY ADMIN PANEL
https://i.ibb.co/QJDfJ1Q/ON.jpg

DATE OF THE POST, AFTER LOGOUT FROM MY ADMIN PANEL
https://i.ibb.co/pxVyRwY/OFF.jpg



(server is in China and I'm in Europe)
Reply
(2020-01-17, 23:20:09)platinum Wrote: (server is in China and I'm in Europe)

You got it right, you have to set timezone for php in the php.ini file.
Reply
Did you select a timezone in GS settings?
Reply
[quote pid='66871' dateline='1579272195']
(2020-01-17, 23:20:09)platinum Wrote: (server is in China and I'm in Europe)

You got it right, you have to set timezone for php in the php.ini file.
[/quote]

Where is this php.ini file?
Reply
(2020-01-18, 03:46:50)Carlos Wrote: Did you select a timezone in GS settings?


Yes,

In Settings => Local Timezone

I put "Europe/Amsterdam"
Reply
Hello!
I give you update about my problem:

I craeted a php.ini file + put exact date.timezone for Europe

and now date of posts is OK!
Reply
Hello

I'm using Getsimple 3.3.15 (last version) + News Manager updated 3.6 (last version).


QUESTIOn:
I want to put (in each of my post created by "News Manager updated" ) internal Links to other pages with similar argument.

it is possibile?


Thanks
Reply
Do you mean links to other posts?

What do you mean by "similar argument"? Same tag perhaps? Kind of "related posts" or what?
Reply
(2020-01-31, 00:13:48)Carlos Wrote: Do you mean links to other posts?

What do you mean by "similar argument"? Same tag perhaps? Kind of "related posts" or what?

for example, for Wordpress in the past i used a plugin "Related Post".
It simply put 3/4 links to other posts with "similar topic".
without tag / key.

It simply finds similar posts and put links!

I don't know if for getsimple/newsmanager there is a solution to have this option Huh
Reply




Users browsing this thread: 8 Guest(s)