One Editable Space - Not Unlimited
Design and Skin Customization
OK - perhaps this will help. Refer to the attached screenshot.
I expected to see an editor output like that of the profile builder but instead got that.
So that's what I mean by displaying a bunch of things I didn't want.
So I stripped the item detail down to:
{jrCore_module_url module="xxSales" assign="murl"}
<div class="container">
{if strlen($item.sales_editor) > 0}
{$item.sales_editor|jrCore_format_string:$item.profile_quota_id}
{/if}
</div>
Moreover, I changed the item_list.tpl to 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}
<br></div>
{/foreach}
{/if}
In the item_index.tml I believe this section is responsible for the display:
<div class="block_content">
{jrCore_list module="xxSales" profile_id=$_profile_id order_by="_created asc" pagebreak="4" page=$_post.p pager=true}
</div>
Now this is working out fine for me except that I only want one editable space on the top of the Sales page (like the profile_index functions), but this set-up creates unlimited editable spaces.
I am thinking that perhaps I need to shut off the create function in the sales_editor and just use modify. However, then I don't know how the initial space can be created.
updated by @ken-rich: 03/27/16 12:24:30PM