Forum Activity for @brian

brian
@brian
12/04/16 07:50:03AM
10,149 posts

Genosis World Events


Genosis

That raises the complexity of the parser significantly. I'd rather go the other direction and make it simpler, so am just going to base everything off the year. I think it will work good so let's see once it is done how it works out.

Thanks!
brian
@brian
12/04/16 07:25:41AM
10,149 posts

Genosis World Events


Genosis

What I am going to do is make it so if it is NOT en.wikipedia.org, then it will still work - it just won't have the month/day of the event and will just set the date to YYYY0000 - that way it all still works, but you just don't have the specific month/day values like you would with English. This is due to PHP's date handling functions which can only parse textual date strings if they are in English.
brian
@brian
12/04/16 07:10:53AM
10,149 posts

Genosis World Events


Genosis

I see what is going on and I'm not sure this is going to work. The problem is that Genosis needs to be able to parse the textual date into a string, and right now it understand English. In this case, dates are entered like:

28 Eylül

and Genosis does not know what month that is. I will see if there is a way to use the PHP date functions with the LOCALE set to the right lang to see if it will translate - if that works then it might work.

Sorry about that - I didn't think about the text names of the months being different.

I'll let you know.
updated by @brian: 12/04/16 07:11:11AM
brian
@brian
12/03/16 03:45:43PM
10,149 posts

Audio Pro Menu


Using Jamroom

Dazed:
Brian - One other question. My demo site displays the Menu Editor. My real site does not. Is that a setting or some other issue?

I'm guessing you are not running Site Builder on your live site? The menu editor you see is part of Site Builder.
brian
@brian
12/03/16 03:45:01PM
10,149 posts

Stations and Playlists


Using Jamroom

Playlists are designed to be curated - i.e. "hand picked" songs and videos - It's not automatic. If you need to have songs automatically appear in a playlist, then you need to use a custom Form Field (for users to select if they want the song in the playlist) and a {jrCore_media_player} call.

{jrCore_media_player} accepts the same arguments as {jrCore_list}, so you can build very specific playlists of whatever you want.

https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/788/jrcore-media-player

This lets you create a dynamic playlist of songs based on your own criteria.

You would create a custom form designer field in the audio create/update forms that allows your users to decide if they want the song in the playlist:

https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/1275/using-the-form-designer

and then use that in the "search" condition - i.e.

{jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" search="audio_include_in_playlist = on" order_by="_item_id desc"}

That assumed you created a custom checkbox form field called "audio_include_in_playlist".

Play with it a bit and I think you'll see what you can do.
brian
@brian
12/03/16 03:33:25PM
10,149 posts

allow widgets and widget containers to have a class or id


Suggestions

I just explained how you can add your own widget class. Modify the following template:

page_row_column.tpl

as that is the template for individual widgets. Go crazy. Add whatever classes you want. If you need to target a SPECIFIC widget, then use the classes like you outlined above.

Everything is there for you to set it up however you like.
brian
@brian
12/03/16 03:26:48PM
10,149 posts

allow widgets and widget containers to have a class or id


Suggestions

You can modify the templates in Site Builder to suit your needs - everything that is displayed in SB has a template, so you should be able to tweak it however you want.
brian
@brian
12/03/16 03:21:06PM
10,149 posts

Stations and Playlists


Using Jamroom

jsnzim:
I ran a system Integrity Check, and it is no longer giving me an error! Thank you !

Glad to hear that - thanks!
brian
@brian
12/03/16 03:20:01PM
10,149 posts

Audio Pro Menu


Using Jamroom

Dazed:
oh crap who knew lol. That rocks thanks!

No problem :)
brian
@brian
12/03/16 03:19:24PM
10,149 posts

allow widgets and widget containers to have a class or id


Suggestions

No - you do not need to setup CSS like that based on specific IDS. Each widget has a set of special widget classes that make it easy to target JUST the widget title - i.e.

.sb-widget-title h2 {
    font-weigh: bold;
}

If course if you need to target a SPECIFIC widget, then use the ID like you have shown, but I would not recommend doing that. Being uniform in how you display elements on a page is an important part of UI design.
updated by @brian: 12/03/16 03:19:31PM
  191