News Manager (updated)
|
2013-06-18, 01:08:48
Reminder: NM 2.5 beta 3, with basic support for post thumbnails/featured images
http://get-simple.info/forums/showthread...2#pid37402
2013-06-18, 06:07:54
Thanks, did not know if you had a beta branch or not.
Hi Carlos,
I just tested "NM 2.5 beta": it is working greatly. Congrats! A small tip: try these CSS lines, according to me they're perfect for the option "external". The images are resized to fit with an excerpt of 250 words. Code: .nm_post_image {
My website made with GetSimple CMS is
Arte & Società www.artesocieta.eu An indipendent website about Italian Contemporary Visual Arts
2013-06-18, 19:09:18
(2013-06-17, 22:17:33)Carlos Wrote:(2013-06-17, 20:03:13)anto Wrote: How do I get addThis to link to the actual post and not just the parent page of where the blog posts are? I have the same problem with gs blog plugin. Merely enabling prettyurls didn't seem to help. Thanks, Carlos. Turns out that it is linking properly but because posts have (had) their parent as the default index page - that meant a big blob of introductory text always appeared above each post, hence the share excerpt would be that text. I would like to see an option to choose a custom template for a post and not just inherit the parent template.
2013-06-18, 23:43:50
2013-06-20, 07:59:59
(2013-06-18, 19:09:18)anto Wrote: Thanks, Carlos. Turns out that it is linking properly but because posts have (had) their parent as the default index page - that meant a big blob of introductory text always appeared above each post, hence the share excerpt would be that text. I suppose AddThis gets the text from the page's meta description. Since 2.4.0 post pages have an empty one instead of the news page's. What version of News Manager do you have? (2013-06-18, 19:09:18)anto Wrote: I would like to see an option to choose a custom template for a post and not just inherit the parent template. What would you use this for?
2013-06-20, 16:23:26
I will include the "read more" link as an optional setting.
What do you think would be better: Code: ... <a class="nm_readmore" href="#">read more</a> or Code: ... <span class="nm_readmore"><a href="#">read more</a></span> (This would be inside the excerpt's <p>...</p>)
2013-06-21, 00:59:44
(2013-06-20, 16:23:26)Carlos Wrote: What do you think would be better: Hi Carlos, I would go for the class outside the link but, in the end, also the other one can be good. Thanks GP
Thank you GPB61, I'll do it like you say for now.
Attached is News Manager 2.5 beta 5. Enable "read more" links by adding this to gsconfig: Code: $NMREADMORE = true; You can change the default "read more" text. Example: Code: $nm_i18n['READ_MORE'] = 'Continue reading'; BTW there are a couple new language strings for which I will need translations: Frontend: Code: "READ_MORE" => "Read more", Backend: Code: "POST_IMAGE" => "Image", [edit] attachment removed - news_manager-2.5-beta5.zip (Downloads: 7)
Post titles currently have a link to the full post, in every news page: main, archives, ... I want to make it optional, at least for the single post page (as Oleg06 suggested)
I will add a new setting or variable (for use in gsconfig). What name do you think sounds better: NMTITLENOLINK NMNOLINKEDTITLE NMNOLINKINTITLE ...? (any other suggestion?)
2013-06-22, 02:32:03
Ola Carlos,
is it possible to create a template tag (which I will use with the dynamic page plugin) to list only those news with a special tag? I have 2 tags ("red" and "blue"). I see links to all news with these tags when I use the sidebar-tag Code: <?php nm_list_tags(); ?> Code: ?tag=name_of_tag Code: /tag/name_of_tag but my friends want to have a list with the news of one special tag in page, how to realize that? Cheers, Connie
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18 (2013-05-24, 04:06:46)Carlos Wrote: Since version 2.4.0 you can redefine all frontend language strings, allowing some basic customization. Here is the german part, german translations for these language-frontend-entries : Code: $nm_i18n = array(); PS: after Carlos confirmed the correct code, I publish this here.
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
semicolon at the end of all lines.
There was an error in the docs, sorry. I've just fixed that. (2013-06-22, 00:51:24)Carlos Wrote: What name do you think sounds better: "NMNOLINKINTITLE" does not break the eyes as much as the other options do ;=) (2013-06-22, 03:04:16)Carlos Wrote: semicolon at the end of all lines. great, now I can re-activate these settings ;=)
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
2013-06-22, 05:02:05
Good I agree about it could be optional.
NMTITLENOLINK "sounds" fine to me
My website made with GetSimple CMS is
Arte & Società www.artesocieta.eu An indipendent website about Italian Contemporary Visual Arts
2013-06-22, 06:35:26
(2013-06-22, 02:32:03)Connie Wrote: but my friends want to have a list with the news of one special tag in page, Sorry Connie, I don't get it. What do you mean by "special tag"? A certain tag? Or some kind of different tag? I will add support for "hidden" tags, that is, tags that are not listed in the tag cloud nor under the post. Just like I18N plugins, prefixed with an underscore ("_tagname"). Not sure if this is what you mean. OTOH I will add some function to list posts by tag, if not to News Manager itself, maybe to the NM Addons plugin (I already told you I would, but I still haven't O:-))
Carlos,
I was unclear. Yes, I need a "list by tag" for the content region. So I can add different lists to their relevant pages. Could be a function in the NM Addons plugin, for sure My idea in the moment is to "catch" the content of the page "/tag/natur" or "/tag/kultur" (where 'natur' and 'kultur' are the names of the tag) with get_page_content(); this does not work in template: <div><?php if (return_page_slug()=='xxsliugxx') { getPageContent('news/tag/kultur'); } ?></div>
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
No, that won't work.
getPageContent displays the content for a given slug, not for a dynamically generated page. I understand that you want to replace a certain page content by NM's output for a certain tag. I suppose you don't want to have "/news/tag/kultur" in the URL, but e.g. "/xxsliugxx" I think this could be done with a .htaccess rewriterule like this: Code: RewriteRule ^example/?$ index.php?id=news&tag=kultur [L] (If you browse "/example" you will get the content for "/news/tag/kultur") PS I've just made a new template tag/function nm_list_recent_by_tag that lists posts for a given tag (only titles, for use in the sidebar like nm_list_recent). I think I'm going to include in News Manager 2.5
2013-06-22, 19:48:02
It's posibble to integrate a filebrowser to select the image in adds thumbs ?
or add a button which name will be "browse" and the seccond button like example "upload" i think it would be really cool to facilitate. Can some one create a simple uploading form whitch one will be add a adres uploaded image to: <input class="text short" id="post-image" name="post-image" type="text" value="" />
user plugin: scroll to top
@xxdex
An image/file browser is in my to-do list. I will not add an upload form, I leave that for the GS file manager.
2013-06-22, 20:00:17
(2013-06-22, 19:47:53)Carlos Wrote: PS I've just made a new template tag/function nm_list_recent_by_tag that lists posts for a given tag (only titles, for use in the sidebar like nm_list_recent). I think I'm going to include in News Manager 2.5 Thank you, I feared / understand that "getContent" does not catch dynamic pages... Carlos, this list_recent_by_tag is ok, I use it already in the sidebar. But my need is: The list of recent_by_tag should be included in a page, not in the sidebar. They want it below some content. That is my problem. Unfortunately I promised this to my clients, because it was somehow obvious to me ;=( cheers, Connie
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Are you using vincenzo's original function nm_list_recent_by_tag?
I think it doesn't work properly -- I've totally rewritten it for NM 2.5 To use it only in page my-slug, insert this after get_page_content: Code: <?php Is this what you need?
2013-06-22, 20:39:13
(2013-06-22, 20:06:18)Carlos Wrote: Are you using vincenzo's original function nm_list_recent_by_tag? Yes, Carlos, that is exactly what I need at another site, I used Vicenco's function in a component, together with NM 2.4.3, included the component into the sidebar of one installation and it worked is this now included in NM 2.5 Beta 5?
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18 |
« Next Oldest | Next Newest »
|
Users browsing this thread: 6 Guest(s)