Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager 3.7 beta
#51
- What code did not work?

- These new functions are not meant to be used directly in GS templates (e.g. in the sidebar), at this moment.
But I intend to add support for that (something like "the loop" in WP). In the meantime the alternative is using NM Addons.

Suggestions welcome.
Reply
#52
Sorry, Carlos, I forgot about news manager addons. Smile Everything is working.
Reply
#53
News Manager 3.7 beta 2 - Download

Added translation helper functions nm_e() and nm_r() so that you can have internationalized strings in your custom post layout.
Updated documentation and layout examples: http://www.cyberiada.org/cnb/news-manager-i/
Reply
#54
There is an image in the image folder, and the selection window is empty.
http://prntscr.com/jbobhy
http://prntscr.com/jbobvq

The components work fine.
Reply
#55
By your screenshots I see you're testing with GS 3.4 alpha. That's an issue not with this NM beta, but also with previous NM versions. With GS 3.3.x it should work fine, as I haven't done any changes on the imagebrowser.

Anyway thanks for reporting, I'll check that.
Reply
#56
In the previous version of the plugin image was visible.
Reply
#57
NM 3.6? Or the first NM 3.7 beta?
If you don't mind, please check again with that previous version that worked for you.
Reply
#58
It's an issue in GS 3.4 alpha. If you switch your user language to English, it works.
(By the way, it happens the same with I18N Custom Fields' imagebrowser)
I'll tell Shawn.
Reply
#59
that's right, I switched the language in the plugin I18n Smile
Reply
#60
Hello, Carlos, now there are many frameworks, each of which in its own way represents pagination, for example:
https://getuikit.com/docs/pagination
http://getbootstrap.com/docs/4.1/components/pagination/
I'm not a programmer and I do not know how you can set changes to tags and classes for navigating through pages.
Reply
#61
The image browser (NM, I18N Custom Fields, ...) is working again on the latest GS 3.4 alpha.
Reply
#62
For UIkit, since NM 3.1 you can use custom settings:

Code:
markupNav ul
classNav "uk-pagination uk-flex-center"
markupNavItem li
classNavItemDisabled "uk-disabled"
classNavItemCurrent "uk-active"

...however you cannot currently add attributes uk-pagination-previous, uk-pagination-next to Previous, Next items.

As you know, you can also do something like that for Bootstrap 3 (except for the aria-label attribute)

But in BS4 I see there are new classes .page-item, .page-link - These cannot currently be added: I would have to add support with a couple new custom settings (perhaps classNavItem, classNavLink)

Still, you cannot add attributes like tabindex="-1" or other recommended additional markup...

So either I add more custom settings, or perhaps allow generating the pagenav in a different, more flexible way. Ideally it would be with some template tags, like I've made for post rendering in 3.7 beta, but I think it would not be very intuitive, it would have a lot of conditionals... I have to think about it.
Reply
#63
Carlos, it will not be difficult for me to simply apply the CSS properties to the paginator by default. Smile
Reply
#64
Yeah it's not difficult, I even did it myself here (uses BlueSky theme)
but I like to be able to use <ul><li>... instead of <div><span>... and customize the pagenav for css frameworks.

Also, I have in mind allowing themes to define their own custom settings so that you don't have to enter them in NM settings.
Reply




Users browsing this thread: 2 Guest(s)