Forum Activity for @nate

nate
@nate
04/12/16 10:11:11AM
917 posts

List_Module


Jamroom Developers

Thanks.
nate
@nate
04/12/16 01:36:10AM
917 posts

List_Module


Jamroom Developers

I did this.
{$data = $_widget.widget_data|json_decode:1}
And then used
$data.list_module

It works
nate
@nate
04/12/16 01:25:50AM
917 posts

List_Module


Jamroom Developers

It's a json object.
Untitled-1.jpg Untitled-1.jpg - 46KB
nate
@nate
04/11/16 05:45:08PM
917 posts

List_Module


Jamroom Developers

Here's a look. This is a site builder page. I did the following code

{$_widget['widget_data']['list_module']}

Untitled-1.jpg Untitled-1.jpg - 255KB

updated by @nate: 04/11/16 05:47:16PM
nate
@nate
04/11/16 05:43:34PM
917 posts

List_Module


Jamroom Developers

Still returns the same thing tho.
nate
@nate
04/11/16 05:40:35PM
917 posts

List_Module


Jamroom Developers

brian:The bracket syntax works in Smarty.

I think I saw this once. That just opened many doors. Thanks.
nate
@nate
04/11/16 04:10:03PM
917 posts

List_Module


Jamroom Developers

My new skin uses icons on the header. I do this by passing the module name to a smarty function. I am just about finished but I have one last problem.

When using site builder, I can get $_widget.widget_module, but in the case of a list, the module is jrCore.

Doing a debug I can see the info I need is in $_widget.widget_data.list_module but this dot syntax only returns {

What's the proper syntax to get the list module name?
updated by @nate: 07/20/16 03:50:03PM
nate
@nate
04/06/16 05:31:44AM
917 posts

Convert action_data to item


Jamroom Developers

I am not using item_detail_features. Instead I am using {jrComment_form} And I already made my own like bar.

Thanks.
nate
@nate
04/05/16 08:43:21AM
917 posts

jrCore_media_player passing vars


Jamroom Developers

The documentation says we can pass variables to the player call but they aren't passing. I'm passing a var called override.


{jrCore_media_player
        override=true
        module="jrAudio"
        field="audio_file"
        search1="_item_id = `$item.action_item_id`"
        limit="1"
        autoplay=false}

I also tried it as a string. I'm not seeing it in the player template.
updated by @nate: 07/08/16 07:48:43PM
  55