GetSimple Support Forum
News Manager (updated) - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: News Manager (updated) (/showthread.php?tid=3972)



RE: News Manager (updated) - krlllo - 2019-11-14

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


RE: News Manager (updated) - Scorpio - 2019-11-24

(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


RE: News Manager (updated) - Carlos - 2019-12-03

I posted an example of events with NM here:
http://get-simple.info/forums/showthread.php?tid=4339&pid=63451#pid63451


RE: News Manager (updated) - krlllo - 2019-12-05

(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


RE: News Manager (updated) - krlllo - 2019-12-05

(2019-12-03, 01:18:59)Carlos Wrote: I posted an example of events with NM here:
http://get-simple.info/forums/showthread.php?tid=4339&pid=63451#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!


RE: News Manager (updated) - Carlos - 2019-12-06

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/ )


RE: News Manager (updated) - platinum - 2020-01-15

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"?


RE: News Manager (updated) - Oleg06 - 2020-01-15

(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>



RE: News Manager (updated) - platinum - 2020-01-15

(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?


RE: News Manager (updated) - Oleg06 - 2020-01-15

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;
   }



RE: News Manager (updated) - platinum - 2020-01-15

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/template.php?t=6ldm46u4


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

see here
https://filebin.net/eyn8yqtkcotj70i0/style.css?t=e01qegt4



But I didn't understand
:-(

please, can you help me
:-(


RE: News Manager (updated) - Oleg06 - 2020-01-15

Open file https://filebin.net/eyn8yqtkcotj70i0/style.css?t=e01qegt4
and add code to it
Code:
.nm_post_title {
       margin-bottom: 0px !important;
   }



RE: News Manager (updated) - platinum - 2020-01-15

(2020-01-15, 23:47:12)Oleg06 Wrote: Open file https://filebin.net/eyn8yqtkcotj70i0/style.css?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


RE: News Manager (updated) - platinum - 2020-01-17

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"?


RE: News Manager (updated) - Carlos - 2020-01-17

See a way to do it (using disqus.com) here: http://get-simple.info/forums/showthread.php?tid=3972&pid=49327#pid49327

Also, the Pages & Comments plugin supports News Manager.


RE: News Manager (updated) - platinum - 2020-01-17

(2020-01-17, 00:51:43)Carlos Wrote: See a way to do it (using disqus.com) here: http://get-simple.info/forums/showthread.php?tid=3972&pid=49327#pid49327

Also, the Pages & Comments plugin supports News Manager.


thanks.

I'll try it! Exclamation


RE: News Manager (updated) - platinum - 2020-01-17

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)


RE: News Manager (updated) - Bigin - 2020-01-18

(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.


RE: News Manager (updated) - Carlos - 2020-01-18

Did you select a timezone in GS settings?


RE: News Manager (updated) - platinum - 2020-01-18

[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?


RE: News Manager (updated) - platinum - 2020-01-18

(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"


RE: News Manager (updated) - platinum - 2020-01-21

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!


RE: News Manager (updated) - platinum - 2020-01-30

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


RE: News Manager (updated) - Carlos - 2020-01-31

Do you mean links to other posts?

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


RE: News Manager (updated) - platinum - 2020-01-31

(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