Correct code for my case - name should be name="block_category":
<xf:selectrow name="block_category" value="{$block.block_category}" class="input--inline input--autoSize" >
<xf:option value="val1" label="" />
<xf:option value="val2" label="" />
<xf:option...
Hi guys!
I have stupid problem and can't save value from select to DB in my first addon.
With text and textarea fields I have no problem - everything correct storing in DB.
This is part of XML template with my code:
<xf:selectrow name="category" value="{$block.block_category}"...
Hi guys and @Taylor J!
I have a strange problem with a widget "Latest Blog Posts".
I have only title h3 and <ul> tag, but have no content of every blog.
<div class="block-container">
<h3 class=" block-header">
<a href="/whats-new/blog-posts/"...
Finally I made it with jQuery:
jQuery(document).ready(function(){
if( jQuery('.staffOnline a.avatar').length == 0 )
{
jQuery('.staffOnline').hide();
}
});
For my tasks this is enough.
Thanks all for help!
I saw your link - thanks.
But I need diferent logic.
ALL forum users includes guests must be appear block ONLY when Moderators is online - for example in usual work day.
Then moderators goes to offline - this blocks must be hidden for ALL users, not only for moderators and administrators.
I hope...
Thanks for fast reply!
Am I right it's will be working together?
is_admin: true - this condition check forum users, admin or not admin?
I need make condition which will be work for all forum users or guests.
"If anybody from group "Moderator" is online - all forum user with guests APPEAR custom...
Hello!
I need create condition ib template and show one block only if one of my moderators is online
<xen:if is="{ $visitor.user_group_id } == 1">
block code
</xen:if>
Something like this, but without checking status on current user.
Logical is a simple:
If anybody from group...