Forum Activity for @ken-rich

Ken Rich
@ken-rich
05/04/16 08:15:33PM
926 posts

Prices on Lists of Downloadables Have Gone Missing


Using Jamroom

Hi Michael,

No, in fact I just checked and EVERY template in that module is at default.

Edit: Actually I was looking at eCommerce. Yes there is an edit to the bundles item_list.tpl for the column structure.

  <div class="row" style="margin-top:12px;">
                <div class="col4">
                    <div class="block_image">
                        {jrCore_module_function function="jrImage_stacked_image" module="{$item.stacked_image_module}" type="{$item.stacked_image_type}" item_id="{$item.stacked_image_item_id}" size="icon" alt="{$item.bundle_title}" border_width=0}
                    </div>
                </div>
                <div class="col7">

It's 4 and 7 while default is 3 and 8. I'll revert and see what happens.
updated by @ken-rich: 05/04/16 08:21:39PM
Ken Rich
@ken-rich
05/04/16 05:51:54PM
926 posts

Prices on Lists of Downloadables Have Gone Missing


Using Jamroom

I was loathe to do it since I had people browsing but I switched to the default Ninja skin and the issue persisted.

I've got a test page built with the site builder with various test lists, plus a Marketplace I built a long time ago and the issue was still there in Ningja.

Here is a sample page - http://indiegospel.net/bundles
updated by @ken-rich: 05/04/16 05:54:55PM
Ken Rich
@ken-rich
05/04/16 04:16:45PM
926 posts

Prices on Lists of Downloadables Have Gone Missing


Using Jamroom

Physical Products still list prices, and prices on downloadables are listed in modules on profiles.

However, my site is listing bundles, songs, videos, files without the buy buttons in the skin templates or sitebuilder.

I have a ticket in, is anyone else seeing this isue?
updated by @ken-rich: 08/19/16 02:26:04PM
Ken Rich
@ken-rich
05/02/16 02:20:37PM
926 posts

Services Module Question


Design and Skin Customization

Awesome - thanks Brian.
Ken Rich
@ken-rich
04/30/16 04:39:27AM
926 posts

RSS Feeds Not Updating


Using Jamroom

My issue appears to be different, and that was found unchecked. I think I'll open a support ticket.

I get things like:

"error on line 219 at column 115: xmlParseEntityRef: no name" at http://indiegospel.net/feed/timeline.

"error on line 163 at column 37: xmlParseEntityRef: no name" at http://indiegospel.net/feed/event

"error on line 21 at column 47: Entity 'middot' not defined" at http://indiegospel.net/feed/video
updated by @ken-rich: 04/30/16 04:40:16AM
Ken Rich
@ken-rich
04/29/16 07:32:35PM
926 posts

RSS Feeds Not Updating


Using Jamroom

I'm also getting errors on several of my feeds, including the main activity timeline.
Ken Rich
@ken-rich
04/28/16 01:42:27PM
926 posts

Share - Coding Question


Design and Skin Customization

I got around the big issue of how to get the module URL to show my storefront on item_index.tpl (since I don't know how to take it off that default) and still be shareable with the proper OG metadata from the form.

I added a share button which opens the identical detail page, complete with share tools.

Go to http://kenrich.me/sales and click the green share button and see what happens.

It's a novel approach. I have to think outside of the box by nature because I don't understand the box - lol.
Ken Rich
@ken-rich
04/28/16 01:37:51PM
926 posts

User Defined Limit - Assign Variable From Form?


Design and Skin Customization

Cool beans - even easier - thanks.

I almost blew a gasket when I looked at the first version and thought about the multiple foreach scenario - lol. I have never dealt with foreach assign or capture before.

I actually just finished my module. I got around the big issue of how to get the module URL to show my storefront on item_index.tpl and still be shareable with the proper OG metadata from the form.

I added a share button which opens the identical detail page, complete with share tools.

Go to http://kenrich.me/sales and click the green share button and see what happens.

It's a novel approach, I have to think outside of the box by nature because I don't understand the box - lol.
updated by @ken-rich: 04/28/16 01:39:15PM
Ken Rich
@ken-rich
04/27/16 03:45:03PM
926 posts

User Defined Limit - Assign Variable From Form?


Design and Skin Customization

I experimented and got it working without using multiple foreach statements. I was able to eliminate my checkbox for show/no show as well because zero accomplishes the same.

So final code looks like:


{* Video *}

{capture name="limit_template" assign="limit_template_row"}    {$item.sales_videos_limit}    {/capture}
{jrCore_list module="jrVideo" profile_id=$item._profile_id limit="1" template=$limit_template_row assign="svl"}    

{if isset($svl) && $svl > 0}

<div class="title">        
         <h1>Video</h1> <input type="button" value="View All" class="form_button" style="float: right;" onclick="jrCore_window_location('{$jamroom_url}/{$_post.module_url}/uploaded_video');">          
        <div class="block_content">       
    {jrCore_list module="jrVideo" profile_id=$item._profile_id search1="video_file_item_price > 0" order_by="video_display_order numerical_asc" limit=$svl}
   </div>          
</div> 
{/if}

This is awesome - thanks so much Douglas.
Ken Rich
@ken-rich
04/27/16 01:22:35PM
926 posts

User Defined Limit - Assign Variable From Form?


Design and Skin Customization

douglas:
This might work as long as $item._profile_id is available in the template where your jrCore_list call is located.

If I am understanding correctly, that would be my item_list.tpl and $item._profile_id is already in use there, so it probally will work.

However, there is already a foreach statement running there. So I'm a little confused about where to add this one, outside or inside of the other.

So currently it looks like this with the other content categories removed for simplicity.

 {jrCore_module_url module="xxSales" assign="murl"}
{if isset($_items)}
    {foreach from=$_items item="item"}
       <div class="item">

            <div class="block_config">
                {jrCore_item_list_buttons module="xxSales" item=$item}
            </div>         
        
           {if strlen($item.sales_editor) > 0}
            {$item.sales_editor|jrCore_format_string:$item.profile_quota_id}
            {/if}           
           
{* Other Categories Removed But Function Like Video *}
  {* Video *}

{if $item.sales_videos == 'on'}

<div class="title">        
         <h1>Video</h1> <input type="button" value="View All" class="form_button" style="float: right;" onclick="jrCore_window_location('{$jamroom_url}/{$_post.module_url}/uploaded_video');"> 
         
        <div class="block_content">
        {jrCore_list module="jrVideo" profile_id=$item._profile_id search1="video_file_item_price > 0" order_by="video_display_order numerical_asc" limit="2"}
        </div>          
</div> 
{/if} 

            <br>
        </div>

    {/foreach}
{/if}


So should the capture/assign with IT'S OWN foreach statement run within the EXISTING foreach statement like this:

 {jrCore_module_url module="xxSales" assign="murl"}
{if isset($_items)}
    {foreach from=$_items item="item"}
       <div class="item">

            <div class="block_config">
                {jrCore_item_list_buttons module="xxSales" item=$item}
            </div>         
        
           {if strlen($item.sales_editor) > 0}
            {$item.sales_editor|jrCore_format_string:$item.profile_quota_id}
            {/if}           
           
           
{capture name="limit_template" assign="limit_template_row"}
    {literal}
        {if isset($_items)}
            {foreach $_items as $item}
                {$item.sales_videos_limit}
            {/foreach}
        {/if}
    {/literal}
{/capture}
{jrCore_list module="jrVideo" profile_id=$item._profile_id limit="1" template=$limit_template_row assign="svl"}

{* Other Categories Removed But Function Like Video *}

    {* Video *}

{if $item.sales_videos == 'on'}

<div class="title">        
         <h1>Video</h1> <input type="button" value="View All" class="form_button" style="float: right;" onclick="jrCore_window_location('{$jamroom_url}/{$_post.module_url}/uploaded_video');"> 
         
        <div class="block_content">
        {if isset($svl) && $svl > 0}
    {jrCore_list module="jrVideo" profile_id=$item._profile_id search1="video_file_item_price > 0" order_by="video_display_order numerical_asc" limit=$svl}
{else}
    {jrCore_list module="jrVideo" profile_id=$item._profile_id search1="video_file_item_price > 0" order_by="video_display_order numerical_asc" limit="2"}
        </div>          
</div> 
{/if}       
            <br>
        </div>

    {/foreach}
{/if}


Then would I just repeat the process for all my other categories (substituting names) such that I end up with half a dozen foreach statements inside a foreach statement - or would the server melt????

Or is the proper way to have only the existing foreach statement and add all the capture/assigns to it. If so, what would that look like? Perhaps something like this for the video example?

{capture name="limit_template" assign="limit_template_row"}{$item.sales_videos_limit}{/capture}
{jrCore_list module="jrVideo" profile_id=$item._profile_id limit="1" template=$limit_template_row assign="svl"}

updated by @ken-rich: 04/27/16 01:50:22PM
  13