GetSimple Support Forum
News Manager - 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 (/showthread.php?tid=1056)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


Categories ? - Erick67 - 2015-08-14

Hi !

I am new to Get Simple and my question regarding News Manager is :

Is it possible to have Categories ?

What I see is that we can affect posts to only one menu ...

So far I looked everywhere and didn't found how to do this  Undecided

Best Regards
Eric


RE: News Manager - datiswous - 2015-08-21

(2015-08-14, 18:30:31)Erick67 Wrote: Is it possible to have Categories ?
You should repost your question here: http://get-simple.info/forums/showthread.php?tid=3972&page=47

Are you using News Manager (by Carlos) ?


RE: News Manager - D.O. - 2015-08-21

Hi Erick67,
You can use Tags as Categories
and then show them with the internal function 
nm_show_tag('tag-as-category');

If you need we are here



(2015-08-14, 18:30:31) Wrote: Erick67 Wrote:
Hi !

I am new to Get Simple and my question regarding News Manager is :

Is it possible to have Categories ?

What I see is that we can affect posts to only one menu ...

So far I looked everywhere and didn't found how to do this  Undecided

Best Regards
Eric



RE: News Manager - krlllo - 2017-10-11

Hello, im pretty new on this forum and i dunno a lot of things yes, but i would like to know if it is possible to create an archive only for certain tags(like a filter, if I have two tags, A, B, but i only wanna to show in the archive the tags B) using this plugin... thanks


RE: News Manager - Carlos - 2017-10-11

Not sure I understand what you mean.
If you publish a post with tags A, B, that post is displayed with the tags. Each tag has a link to a page that lists all posts having that tag (URL would be like SITE/news/?tag=A, or SITE/news/tag/A, etc. depending on your setup). Is that page what you need? Or you mean monthly archives by tag?

Anyway, if you are using my updated version of News Manager (currently 3.4.1) please use this other support thread:
http://get-simple.info/forums/showthread.php?tid=3972


RE: News Manager - domscatterbrain - 2018-09-24

Hi, I've encountered issues which post image is not shown. Whenever I choose pic for post image from server, in which its generated an image link

Code:
https://mysite.com/plugins/news_manager/browser/pic.php?p=mypicture.jpg

Yet it's not showing anything. Did I do something wrong?


RE: News Manager - Carlos - 2018-09-25

I'll reply in the proper thread for the updated version of News Manager -> http://get-simple.info/forums/showthread.php?tid=3972&pid=63118#pid63118


RE: News Manager - tomkow - 2022-09-27

HI,

Is there anyone who could convert this plugin to php8x?

Thanks


RE: News Manager - Sveninho - 2023-09-09

(2011-06-24, 06:09:41)Carlos Wrote:
robkellas Wrote:Is there a way to have page titles include the post title? This would be an excellent addition that would benefit SEO.

If anyone else has the answer please let me know.

Quick patch:

Create a functions.php in your theme folder, with this (if file exists, insert the function into it):
Code:
<?php
function nm_echo_title() {
    global $NMPAGEURL;
    $url = strval(get_page_slug(false));
    if ($url == $NMPAGEURL) {
        if (isset($_GET['post'])) {
            $slug = str_replace('..','',str_replace('/','',$_GET['post']));
            $file = NMPOSTPATH . $slug . '.xml';
            $post = @getXML($file);
            if (!empty($post) && $post->private != 'Y') {
                echo strip_tags(strip_decode($post->title)),' - '; // ' - ' is the separator
            }
        }
    }
}

Now edit your theme: look for your <title>...</title> tag in your template.php (or header.php if using Innovation theme) file, and insert this call just after the opening <title> tag:
Code:
<?php nm_echo_title(); ?>

Example (based on Cardinal theme):
Code:
<title><?php nm_echo_title(); ?><?php get_page_clean_title(); ?> &lt; <?php get_site_name(); ?></title>

That's it.
Post titles will now be like: This is the post title - News page < My site name

Would it be possible to display only the post title without the news page title? Something like this:
Code:
<title><?php nm_echo_title(); ?> &lt; <?php get_site_name(); ?></title>