Forum Activity for @douglas

douglas
@douglas
04/27/16 12:15:25PM
2,815 posts

User Defined Limit - Assign Variable From Form?


Design and Skin Customization

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

Assign the limit variable:
{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"}

jrCore_list function:
{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"}
{/if}

Hope this helps!
douglas
@douglas
04/27/16 11:33:51AM
2,815 posts

Configuring Contact Form


Using Jamroom

How are you adding the contact form?

You could use a template code widget and add this for the contact form.

{jrCustomForm_embed_form name="contact_roughneck_city"}
douglas
@douglas
04/27/16 11:30:58AM
2,815 posts

SEARCH ALL MODULES code needed


Using Jamroom

You should be able to use this for the site search form:

        {jrCore_lang module="jrSearch" id="1" default="Search Site" assign="st"}
        <h2>{$_conf.jrCore_system_name} {$st}</h2><br><br>
        {jrSearch_form class="form_text" value=$st style="width:70%"}

and to fix the no results issue, go to your ACP > Listing > Search > Tools and click the "Rebuild Index" button.
douglas
@douglas
04/25/16 02:54:17AM
2,815 posts

Bullets don't display


Using Jamroom

blindmime:What about the bullets issue? Is this a skin formatting issue or something else. The bullets show in the editor but don't display on a page. The are bullets created in the editor.

I'm seeing the same issue and it has to do with Site Builder.

I'll get a ticket open for this.
updated by @douglas: 04/25/16 02:54:49AM
douglas
@douglas
04/21/16 07:03:12AM
2,815 posts

Bundle Images


Using Jamroom

You could also change the size of the div the images are in so they do not overlap the text on the right.

In your modules/jrFoxyCartBundle/templates/item_list.tpl, find this:

            <div class="row" style="margin-top:12px;">
                <div class="col3">
                    <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="col8">
                    <div class="p5 pl10">
                        <h2>{jrCore_lang module="jrFoxyCartBundle" id="43" default="Includes the following items"}:</h2><br>
                        {if is_array($item.bundle_items)}
                        {foreach $item.bundle_items as $_i}
                            <div style="float:left; width:49%"><h3>&bull; <a href="{$_i.item_url}">{$_i.item_title}</a></h3></div>
                        {/foreach}
                        {/if}
                    </div>
                </div>
                <div class="col1 last">
                    <div class="p5 center">
                    {* show savings if we can *}
                    {if isset($item.bundle_item_savings) && $item.bundle_item_savings > 0}
                        <h2><b>{jrCore_lang module="jrFoxyCartBundle" id="44" default="Save"}<br>&#36;{$item.bundle_item_savings|number_format:2}</b></h2>
                    {/if}
                    </div>
                </div>
            </div>

and change it to this:

            <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">
                    <div class="p5 pl10">
                        <h2>{jrCore_lang module="jrFoxyCartBundle" id="43" default="Includes the following items"}:</h2><br>
                        {if is_array($item.bundle_items)}
                        {foreach $item.bundle_items as $_i}
                            <div style="float:left; width:49%"><h3>&bull; <a href="{$_i.item_url}">{$_i.item_title}</a></h3></div>
                        {/foreach}
                        {/if}
                    </div>
                </div>
                <div class="col1 last">
                    <div class="p5 center">
                    {* show savings if we can *}
                    {if isset($item.bundle_item_savings) && $item.bundle_item_savings > 0}
                        <h2><b>{jrCore_lang module="jrFoxyCartBundle" id="44" default="Save"}<br>&#36;{$item.bundle_item_savings|number_format:2}</b></h2>
                    {/if}
                    </div>
                </div>
            </div>

Hope this helps!
douglas
@douglas
04/20/16 09:07:52AM
2,815 posts

Issue Tracker Menu Button not showing


Using Jamroom

Can you send us the URL and admin login so we can take a look?

Thanks!
douglas
@douglas
04/19/16 09:24:45AM
2,815 posts

Issue Tracker Menu Button not showing


Using Jamroom

I'm not seeing an issue on my dev site.

Have you tried reloading the module from your ACP > Marketplace > Tools > Reload Modules And Skins?
douglas
@douglas
04/18/16 02:08:06PM
2,815 posts

Skin Directory


Jamroom Developers

{$_conf.jrCore_active_skin}

Will get you the active skin directory.

This is used in skin CSS files, but I'm not sure its available in templates.

{$jrElastic_img_url}

Hope this helps!
douglas
@douglas
04/18/16 07:27:54AM
2,815 posts

Reset profile_view_count?


Jamroom Developers

You could use the Batch Item Editor module to set them all to 0.

https://www.jamroom.net/the-jamroom-network/networkmarket/236/batch-item-editor

You should also be able to find the module in your sites Marketplace to install it, if you don't already have it installed.

Just go to your ACP > Profiles > Profile > Tools tab and click the batch editor button, then check the profile_view_count checkbox to edit all of the counts at once.

You should be able to do the same on other modules.

Hope this helps!
  107