2012-07-07, 07:30:57
Carlos Wrote:maybe this:
Code:foreach (array_reverse($data->item,TRUE) as $item) {
Unfortunately that too renders all the posts invisble. This is quite a puzzle...I think I'm going to be at this all night
News Manager
|
2012-07-07, 07:30:57
Carlos Wrote:maybe this: Unfortunately that too renders all the posts invisble. This is quite a puzzle...I think I'm going to be at this all night
Sorry I have no time to install NM and play with it, so I can't help you right now...
Anyway I suggest using some alternative as this plugin is no longer supported. [edit] I finally found the way to do it. See this post: http://get-simple.info/forum/post/31132/#p31132
2012-07-11, 00:49:46
hello!
How to display intro of content in Sidebar? i modify function nm_list_recent() to display date, but can't get content Code: function nm_list_recent() {
2012-07-11, 01:05:05
UksusoFF Wrote:hello! well, we did it at www.get-simple.de that way: Code: <?php as the news are presented on the page with the slug "blog", we show archive + latest news on that page, on all other pages we only show latest news Cheers, Connie
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
2012-07-11, 02:34:51
Connie Wrote:well, we did it at www.get-simple.de that way:sorry but i can't see content of news in this sample. i see this: Quote:GetSimple 3.1.2: BugFix-Releasebut i need this: Quote:GetSimple 3.1.2: BugFix-Release
2012-07-11, 06:50:21
found it:
$data = getXML(NMPOSTPATH . "$post->slug.xml"); $content = $data->content; $content = nm_create_excerpt(strip_decode($content));
2012-08-02, 03:59:56
Hi!
I really like this plugin. It helps me in any projects, especially when I want to do something different and don´t know how to do using PHP too much and I don´t want to call friends. Now I have a doubt. Is it possible to put excerpt somewhere in the post that I don´t have to define number of caracters? How to show an image that can be in the post before excerpt? Basing in Wordpress, where can I put what I want. Thank you everybody!
2012-08-27, 23:40:32
Thanks for this amazing Plugin
But is there anyway I can choose to show the posts on more than just one page ? If it's not there maybe it can be a great feature to add " each page can have it's own posts , and when writing the post you choose on which page you want this post to be posted "
2012-09-30, 01:22:24
Having a strange problem, if I edit a post and save it, it is saving the edited post as a new one.
I tried to delete the duplicate, but it just re-appears. Has anyone else experienced this or know whats going on?
2012-10-04, 08:57:05
islander Wrote:Having a strange problem, if I edit a post and save it, it is saving the edited post as a new one. Do your post titles have non-English characters? Does your /data/posts folder have the same file permissions/ownership as /data/pages?
2012-10-04, 15:33:30
I have added another writer on my site, so is there a way of getting the authors name to appear under their posts ?
so it would be Article title Published On (date) by editor sorry If I have missed it, tried 4 or 5 searches
2012-10-04, 20:39:20
@gordo
This plugin doesn't have that option. I don't remember having seen any patch to make it support author names.
2012-10-04, 20:46:04
@danielmooreuk
A bit late, but... :-) I did some experimenting with NM and found how to make it sort posts by ascending date. Edit news_manager/inc/functions.php and change line 21: Code: return $posts; Code: return array_reverse($posts);
2012-10-04, 21:01:07
thanks carlos.. what a shame.....
2012-10-04, 21:17:17
I don't agree. It may be a pity, but not a shame. It's a simple plugin with very few options, but works nicely.
2012-10-05, 00:00:17
Carlos Wrote:Do your post titles have non-English characters? Thanks for the reply. Yes to both questions. Folders have permissions, and yes, some of the titles had accented characters, such as "ñ, á, ÃÂ, etc." By your question, I am guessing that this is a known problem? Is there also a fix, if this is the problem? Thanks for any info.
2012-10-05, 10:31:42
weren't knocking the plug in, it is a dam good. more a shame I can't do what I would like.
2012-10-05, 16:48:41
@islander
I can use áéÃÂóúñ with no problems. I remember there was trouble with some other characters (non-latin, e.g. Russian), but not with these. If you create and later edit a post with only English chars, do you have the same issue? While browsing this thread I read some user had a similar problem (duplicate posts...) but I think he/she didn't get a reply. I can only tell you to make sure read/write permissions are *exactly the same* for /data/posts and /data/pages, just in case. Also check if /data/other/news_manager is writable. Have you tried to enable GS debug mode to see if you get any errors? Also, are you able to do a new fresh install in the same server/host (on another folder maybe), both GS and NM, and test this?
2012-10-05, 21:23:03
Carlos Wrote:Have you tried to enable GS debug mode to see if you get any errors? Permissions are all fine. I will try a fresh install and enable debug. Will also play with titles to see what is going on. Will try to report finding later. Thanks.
2012-10-06, 21:37:57
I think News Manager is a great plug-in. It does everything I need for the minimal blog I run. I have added a couple of tweaks to my installation which I thought I'd share here - they might be useful to someone else.
1) When editing posts I found it irked me that there wasn't a "Save" button in the sidebar like there is when editing pages. I have added one by making a simple change to the file /plugins/news_manager/template/edit_post.php. At the very end of the file, before: Code: }); add the following: Code: // BOF: Let's have that extra submit button in the sidebar (same as with the page editor) 2) I didn't like the fact that News Manager would truncate in the middle of a word when producing it's excerpts, so I fixed that with the following method: Code: /** Paste this code into /admin/inc/theme_functions.php Then, in the file /plugins/news_manager/inc/site.php, find the function called "nm_show_post" and replace the following line: Code: if ($excerpt) $content = nm_create_excerpt($content); with: Code: if ($excerpt) $content = '<p>' . trim_snippet($content, $url) . '</p>'; I hope these snippets of code are useful to someone.
A further change I have made on my weblog (News Manager) at https://www.perpetual-beta.org/ is to have proper previous and next buttons at the end of each post, in place of the JavaScript "back" link that the News Manager uses by default.
In the file /plugins/news_manager/inc/site.php, find the function called "nm_show_post" and replace the following: Code: # show "go back" link, if required with: Code: // BOF: Previous & Next article links Have fun!
2012-10-07, 10:21:34
@darkblue
Thanks for sharing your tweaks! - Extra Save button (nice idea), works ok. - Previous and Next links tested. Great! - The excerpt fix works, but strangely they are shorter than what I have in settings. I'll take a look at that later. Anyway, a comment about your excerpt patch: darkblue Wrote:Paste this code into /admin/inc/theme_functions.phpI think it would be better to put that function in the "News Manager mod" instead of patching GetSimple core (what should be avoided if possible because of upgrades). Maybe in news_manager/inc/site.php ...
2012-10-07, 12:32:06
Carlos Wrote:I think it would be better to put that function in the "News Manager mod" instead of patching GetSimple core (what should be avoided if possible because of upgrades). Maybe in news_manager/inc/site.php ... That makes perfect sense Carlos and is good advice for others. I only patched the core as I use this same function for search engine results (and other snippets) so having it within the News Manager code wasn't semantically correct in my case. Glad you like the mods.
2012-10-09, 23:28:14
If you use News Manager in a Windows environment (WAMP, XAMPP...) your post dates will not be displayed properly by default.
It seems it's because of NM's default date format: Code: "DATE_FORMAT" => "%b %e, %Y" To fix this, edit your language file (news_manager/lang/en_US.php or other) and change that line (it's near the end of the file) to something like e.g.: Code: "DATE_FORMAT" => "%b %#d, %Y" Code: "DATE_FORMAT" => "%Y.%m.%d - %H:%M"
2012-10-14, 00:21:46
If you have javascript disabled, when you create or edit a post in News Manager the post options are not available.
To fix it, edit news_manager/template/edit_post.php and insert this: Code: <noscript><style>#metadata_window {display:block !important} </style></noscript> before this (line 41): Code: <div style="display:none;" id="metadata_window"> |
« Next Oldest | Next Newest »
|