Forum Activity for @dazed

Dazed
@dazed
09/15/14 06:53:38PM
1,022 posts

Artist Product Page


Design and Skin Customization

That worked. I think it is working well. One question though. Is there an easy way to fix the attached example? If quantity is not added the alignment goes all off.
- 24KB

updated by @dazed: 09/15/14 06:53:59PM
Dazed
@dazed
09/15/14 06:08:10PM
1,022 posts

Revisiting blogs...


Using Jamroom

Thanks for the help Brian
Dazed
@dazed
09/15/14 10:28:04AM
1,022 posts

Mobile Audio Not Playing in Android


Using Jamroom

Yeah I know. I started updating pj using beyond compare and realized that the layout changed to have the side menu on the right. I prefer on the left from habit. So I changed most of it back but it did something to the mobile version. I still have to find the issue.
Dazed
@dazed
09/15/14 09:17:38AM
1,022 posts

Mobile Audio Not Playing in Android


Using Jamroom

Hey Brian. I can't get it to work on firefox, chrome or the default browser included on android. My users are saying the same. If I go to the New Songs on my ranking page or an artist list song page, nothing happens.
Dazed
@dazed
09/15/14 08:09:58AM
1,022 posts

Artist Product Page


Design and Skin Customization

You rock Douglas. I will check this out tonight.
Dazed
@dazed
09/14/14 06:28:17PM
1,022 posts

Artist Product Page


Design and Skin Customization

I want to change the artist product page to show 4 in a row and maybe 20-15 on a page and then do a page next. I have the below as a starting point. Aside from the bad format I have the content I need. My problem is that I am not able to set it to a row of 4 and then go to the next row. If I set the item_index.tpl to 4, 4 do display but the rest disappear since that is a pagebreak on 4. I am also missing the content to do a page next.

suggestions? :)



item_list.tpl (store module)
{jrCore_module_url module="jrStore" assign="murl"}
{if isset($_items)}
<div class="container" xmlns="http://www.w3.org/1999/html">
    <div class="row">
    {foreach from=$_items item="item"}

                    <div class="col2">
                        <div class="block_image">
                            <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.product_title_url}">{jrCore_module_function function="jrImage_display" module="jrStore" type="product_image" item_id=$item._item_id size="xlarge" class="iloutline img_scale" crop="auto" alt=$item.product_title width=false height=false}</a> <br>
                            <h2><a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.product_title_url}">{$item.product_title}</a></h2><br>
                            <span class="info">Category:</span> <span class="info_c"><a href="{$jamroom_url}/{$item.profile_url}/{$murl}/category/{$item.product_category_url}">{$item.product_category}</a></span><br>
                            {jrCore_module_function function="jrRating_form" type="star" module="jrStore" index="1" item_id=$item._item_id current=$item.product_rating_1_average_count|default:0 votes=$item.product_rating_1_count|default:0}<br>
                            {if isset($item.product_qty) && $item.product_qty > 0}
                                <br>
                                <span class="info_c">{jrCore_lang module="jrStore" id="42" default="Available Quantity"}: {$item.product_qty}</span>
                            {elseif isset($item.product_qty) && $item.product_qty === "0"}
                                <br>
                                <span class="info_c sold_out">{jrCore_lang module="jrStore" id="50" default="Sold Out"}</span>
                            {/if}
                          <br>

                            
                          <br>
                            {if isset($item.product_qty) && $item.product_qty === "0"}
                                <span class="sold_out">{jrCore_lang module="jrStore" id="50" default="Sold Out"}</span>
                            {else}
                                {if $item.product_qty > 0}
                                    {$quantity_max = $item.product_qty}
                                    {else}
                                    {$quantity_max = 9999}
                                {/if}
                                {jrCore_module_function function="jrFoxyCart_add_to_cart" module="jrStore" field="product" item=$item quantity_max=$quantity_max}
                            {/if}
                            <br><br>
                            {jrCore_module_function function="jrFoxyCartBundle_button" module="jrStore" field="product" item=$item}
                            {jrCore_item_update_button module="jrStore" profile_id=$item._profile_id item_id=$item._item_id}
                            {jrCore_item_delete_button module="jrStore" profile_id=$item._profile_id item_id=$item._item_id}

                        </div>
                        <div class="clear"></div>
                    </div>

    {/foreach}
</div>
</div>
{/if}


 

updated by @dazed: 10/18/14 03:02:10PM
Dazed
@dazed
09/14/14 09:35:09AM
1,022 posts

Genres to Categories Search


Using Jamroom

I am trying to basically duplicate the music.tpl to become a jrstore area instead. This way people can search for specific store items. I have removed the alphabetical search that was on the music page. I am in the process of changing the side Genre search to be a Category Search.

When I click on the Genre Tab I get this immediately, "The Product Update Was Successfully Saved. Search" and I am not sure why. It does not do this on the music page.

merchandise_categories.tpl (old music_genres.tpl)
<!-- Search Product Category-->
<h3>{jrCore_lang module="jrStore" id="12" default="Category"} {jrCore_lang skin=$_conf.jrCore_active_skin id="24" default="Search"}</h3>
<br />
<form class="margin" method="post" action="{$jamroom_url}/merchandise">
    <input type="hidden" name="search_area" value="product_category">
    <select class="form_select" name="search_string" style="width:100%; font-size:13px;" onchange="this.form.submit()">
        {if isset($_post.search_area) && $_post.search_area == 'product_category'}
            <option value="{$_post.search_string}">{$_post.search_string}</option>
        {else}
            <option value="">{jrCore_lang skin=$_conf.jrCore_active_skin id="168" default="Select A Category"}</option>
        {/if}
        {jrCore_list module="jrStore" order_by="product_category asc" group_by="product_category" limit="200" template="merchandise_category_row.tpl"}
    </select>
</form>


In the drop down I see my 2 test categories which is cool. If I click on 1 though, the row does not change to the specif Category I selected. If I click on the category drop down again, I have duplicates (I display 3 Paintings and One Picture Category in the drop down) listed but I only have 2 test categories.

Apologies for the long thread but this area is a bit complex as Douglas knows hehe.

merchandise.tpl (somewhat modified music.tpl)

{assign var="selected" value="merchandise"}
{assign var="no_inner_div" value="true"}
{if isset($_post.search_area) && $_post.search_area == 'product_category'}
    {jrCore_lang skin=$_conf.jrCore_active_skin id="56" default="merchandise" assign="page_title1"}
    {assign var="page_title" value="`$_post.search_string` `$page_title1`"}
{else}
    {jrCore_lang skin=$_conf.jrCore_active_skin id="56" default="merchandise" assign="page_title"}
{/if}
{jrCore_page_title title=$page_title}
{jrCore_include template="header.tpl"}
<script type="text/javascript">
    $(document).ready(function(){ldelim}
        jrSkinInit();
        {rdelim});
</script>

<div class="container">
    <div class="row">

        <div class="col3">
            <div class="body_1">
                {jrCore_include template="side_merchandise.tpl"}
            </div>
        </div>

        <div class="col9 last">

            <div class="body_1 mr5">

                <div class="container">
                    <div class="row">
                        <div class="col12 last">
                            <div class="body_3">{jrCore_module_url module="jrStore" assign="murl"}

    <div class="block_content">

        <div id="default_list">
            {jrCore_list module="jrStore" profile_id=$_items_profile_id order_by="product_display_order numerical_asc" pagebreak="15" page=$_post.p}
        </div>

    </div>

</div>





                            </div>
                        </div>
                    </div>
                </div>

            </div>

        </div>

    </div>
</div>

{jrCore_include template="footer.tpl"}


merchandise_category_row.tpl
{if isset($_items)}
    {jrCore_module_url module="jrStore" assign="murl"}
    {foreach from=$_items item="item"}
        <option value="{$item.product_category}">{$item.product_category}</option>
    {/foreach}
{/if}

side_merchandise.tpl

</table>
<div id="stats" class="body_3 mb20">
    {if isset($_post.search_area) && $_post.search_area == 'product_category'}
        <!-- Search Song Genre-->
        <h3>{jrCore_lang module="jrStore" id="12" default="Category"} {jrCore_lang skin=$_conf.jrCore_active_skin id="24" default="Search"}</h3>
        <br />
        
        <form class="margin" method="post" action="{$jamroom_url}/merchandise">
            <input type="hidden" name="search_area" value="product_category">
            <select class="form_select" name="search_string" style="width:100%; font-size:13px;" onchange="this.form.submit()">
                {if isset($_post.search_area) && $_post.search_area == 'product_category'}
                    <option value="{$_post.search_string}">{$_post.search_string}</option>
                {else}
                    <option value="">{jrCore_lang skin=$_conf.jrCore_active_skin id="168" default="Select A Category"}</option>
                {/if}
                {jrCore_list module="jrStore" order_by="product_category asc" group_by="product_category" limit="200" template="merchandise_category_row.tpl"}
            </select>
        </form>

updated by @dazed: 10/21/14 05:25:13AM
Dazed
@dazed
09/12/14 07:08:21PM
1,022 posts

Mobile Audio Not Playing in Android


Using Jamroom

Hey guys I have had a several people drop me notices that they are all having issues on android. Anyone have an idea on resolution?
Dazed
@dazed
09/12/14 04:46:19PM
1,022 posts

Revisiting blogs...


Using Jamroom

Hey Michael - Currently the call has a order_by="_created desc" and I removed that and added order_by="_item_id desc" and the order looks the same. So the group by clause seems to be causing the issue.
  56