Forum Activity for @nate

nate
@nate
02/13/14 11:22:13AM
917 posts

Reading the $_post


Jamroom Developers

I am trying to read my location.

This is my url:
http://dev.xtraxx.com/admin/songs/81/admin-song-40

I can test $_post._1 (81) but I can't test $_post._0 (songs). How can I test the "songs"?
updated by @nate: 03/19/14 05:19:15AM
nate
@nate
02/12/14 06:37:40PM
917 posts

CDN


Using Jamroom

Any core (module) template can be overridden by a skin template.

Your skin is already custom, so no need to clone anything.
nate
@nate
02/11/14 04:40:12PM
917 posts

Duplicate Entry In Debug Log


Jamroom Developers

No, I mean thanx a lot.
nate
@nate
02/11/14 04:29:12PM
917 posts

Duplicate Entry In Debug Log


Jamroom Developers

More than anything you just taught me how to read these entries, which is like teach me to fish.

Thanks.
nate
@nate
02/11/14 03:23:52PM
917 posts

Duplicate Entry In Debug Log


Jamroom Developers

I keep getting error and incomplete pages because of an attempt to create a duplicate entry into the debug log.

I'm not even sure what's being debugged. I have gone through all the "fedbug" code I can find to comment them out, yet every time I pull up certain pages I get the debug error.

The log data looks like this:
Array
(
    [0] => xtDJLicense
    [1] => Array
        (
            [jrcore_list_function_call_is_active] => 1
            [search] => Array
                (
                    [0] => _item_id in 
                    [1] => _profile_id IN (SELECT SQL_SMALL_RESULT `_item_id` FROM jr_jrprofile_item_key WHERE `key` = 'profile_quota_id' AND `value` IN(1,2,3))
                )

            [limit] => 6
            [template] => xtDJLicense_stems.tpl
            [order_by] => Array
                (
                    [_created] => DESC
                )

            [module] => xtDJLicense
        )

)

updated by @nate: 03/15/14 08:10:49PM
nate
@nate
02/06/14 04:08:20PM
917 posts

item_action.tpl


Jamroom Developers

Will do.
nate
@nate
02/06/14 04:03:27PM
917 posts

item_action.tpl


Jamroom Developers

I'm getting images but not the right ones. I actually checked the action_item_id value earlier and it isn't the same as the action_data._item_id value. At least not in all cases.
nate
@nate
02/06/14 03:52:45PM
917 posts

item_action.tpl


Jamroom Developers

No it isn't.

Quote: jrImage_display: image item_id parameter required
nate
@nate
02/06/14 03:49:56PM
917 posts

item_action.tpl


Jamroom Developers

I was trying to get the image so I am doing something like this.

{if $item.action_module == "xtSong" || $item.action_module == "xtStem" || $item.action_module == "xtMix" }
  {assign var="item_id" value=$item.action_data._item_id}
  {assign var="image_type" value="audio_image"}
{else}
  {assign var="item_id" value=$item._profile_id}
  {assign var="image_type" value="profile_image"}
{/if}

{jrCore_module_function function="jrImage_display" module="jrProfile" type=$image_type item_id=$item_id size="xlarge" alt=$item.event_title crop="auto" height=384 width=384 class="img_scale" crop="auto"}

updated by @nate: 02/06/14 03:50:46PM
nate
@nate
02/06/14 03:46:06PM
917 posts

item_action.tpl


Jamroom Developers

Can I do it like this?

{assign var="item_id" value=$item.action_data._item_id}
  86