Yes, the plugin was old, now it works
News Manager (updated)
|
2014-05-01, 13:22:49
2014-05-03, 04:05:16
It can be done. I assume there's already some code that generates the breadcrumbs for normal GS pages, so we just have to insert some code after it.
Tell me, do you want breadcrumbs only for single/full posts? Or also for tag pages and archives? Do you want them to have a link, or just the title? What would be the separator? (» or other)
2014-05-03, 05:40:12
I'm usually working with this plugin, today for the first time decided to use your great plugin and found it
http://get-simple.info/extend/plugin/mic...rumbs/617/
2014-05-03, 18:42:52
I was going to prepare a snippet for this, but I just found that the Microdata Breadcrumbs plugin doesn't generate correct URLs. Well, it does only if your permalink structure is %slug% (without trailing slash, and no parent)
2014-05-03, 20:17:49
hmm, really need to use or i18n or function of the theme of innovation
I'm too busy to help you in some better way because of exams period, but at least the very few I can say:
I've been using I18N Breadcrumbs for some time and of course I added a piece of code to make it work with News Manager posts as well and those microdata - yeah, I use them too, but again in my custom implementation without any plugin - something had to be added to I18N as well. So this is how my breadcrumbs look like Code: <p class="breadcrumbs"> You can remove any intemscopes and itemtypes if you don't want to use them. If you want to, then you should edit I18N too like this: frontend.class.php, lines +- 342-343 Code: echo ' » <span class="breadcrumb"><a href="' . $url . '" title="' . But definitely I agree that this way of adding correct microdata is a kind of dirty core hack. At least I've shown you my way for the NM breadcrumbs.
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
2014-05-03, 23:57:55
Just a side note. If you don't need the microdata, here's a simple, modified version of mvlcek's example for breadcrumbs with I18N Navigation. (I only inserted the <?php if... line.)
Code: <div class="breadcrumbs">
2014-05-12, 15:13:50
Welcome
First sorry for my english but my english is weak. I would ask is possible to display newst i mean last topics on site ic code sometching like in template <?php get ;?> Title last topics ( 10 topics i need to display ) and i want link topics too. Anyone can help me please sorry for my english again. Btw. this is possible ?
2014-05-12, 23:38:44
If by "topics" you mean "posts" (or "articles"), the code to insert in your template is:
Code: <?php nm_list_recent(); ?> You can set the number of posts in the plugin settings -> Number of recent posts (in sidebar) (more info: http://www.cyberiada.org/cnb/news-manager/ -> Sidebar functions)
2014-05-14, 08:09:35
there is any chance to get a news manager working on couple pages in get simple ?
example: in page index (start) every news are visible... in page sport ... is sortable... and visible only news with sport ... in page drinking ... is sortable... and visible only a news with drinking... ??
user plugin: scroll to top
2014-05-14, 15:56:14
D.O. and TeeJay already posted some tips to do stuff like this by using template tags and conditionals. I can search for those posts if you wish. But here's another way:
- Select index as newspage (Page to display posts) - Install the DynPages plugin and activate it. - Create a component e.g. newsbytag with: Code: <?php global $args; nm_show_tag($args[0]); ?> - In your Sports page body, insert: {% newsbytag sports %} etc. If you don't want the index page to be the newspage (but another slug, e.g. news or blog, but still want to show all your latest posts in the home page, it's also possible - let me know. PS What do you mean by "sortable"? Posts are always sorted in descending date order.
2014-05-17, 04:33:09
News Manager 3.0 beta 20 available. Download - Info
NEW: - added showTags custom setting. (If you don't want to display tags under the posts, enter showTags 0 in Custom Settings.) - added NMNOPARAMPOST gsconfig setting (allows to have single post URLs without the /post/ prefix if using fancy URLs and your newspage is not index) (more info here) CHANGES: - renamed custom setting template to templateFile (was added in beta 19) OTHER: - small fixes - completed several language files (thanks to the translators involved) Thanks in advance for your feedback, even if it's only to tell me that it doesn't break anything. ;-) I think this will be the last beta for 3.0.
Carlos, already replace the line 176 in the file edit_settings.php
Code: <span class="hint"><?php i18n('news_manager/UPDATE_HTACCESS'); ?></span>
2014-05-17, 05:26:43
Sorry Oleg, I don't understand what you mean.
2014-05-17, 05:35:02
Code: <span class="hint"><?php i18n('news_manager/PRETTY_URLS_NOTE'); ?> <a href="load.php?id=news_manager&htaccess"><?php i18n('MORE'); ?></a></span> "UPDATE_HTACCESS" => "<b>Note:</b> You probably have to update your <a href=\"%s\">.htaccess</a> file!",
2014-05-17, 05:46:23
That MORE string is reused/taken from the GS language file. It's at the left of "custom permalink structure" in GS settings (does it sound strange there too?)
I expected it to mean "more [info]" in most languages. (I added this link back in NM 2.2.5)
2014-05-17, 06:21:55
I can leave it like it is (no one complained since 2.2.5 :-)) or maybe replace that "more" by e.g. a plus sign (+)
Are you going to change that string in your GS translation?
Yes, I have replaced the translate, you can leave as is
2014-05-17, 07:24:25
Hey,
I'm still busy with my school but after a bare reading the thing with a new way of hiding/showing tags, I wonder if Code: showfields title,date,author,image,content still works? If yes, I find this extra setting a bit useless. Are you planning to remove the old way of doing the same?
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
2014-05-17, 08:02:45
Yes, showfields works and will work.
You're right, showtags is just kind of a shortcut. (I was going to add showtags at first, then I discarded it when added showfields. But the other day I thought it may be handy if you just don't want to display the post's tags and not reorder anything.)
2014-05-17, 17:18:10
Ok, showtags will not be in 3.0. If there's a need for it I will add it back. Thank you TeeJay.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 7 Guest(s)