
But the wysiwyg param is already in there.
Code: Select all
{content2 block="SomeBlock" wysiwyg=false}
Or did i get the wrong end of stick?
Code: Select all
{content2 block="SomeBlock" wysiwyg=false}
color of money,sports,road and rides,oasis,travel,sun blog,seniors,style,politics,sun report,travel,stateside,week in review,health,diaspora,entertainment,inside philly,freedom quest,education,food and beverage,go with the flo
[The extension txt has been deactivated and can no longer be displayed.]
[The extension txt has been deactivated and can no longer be displayed.]
Code: Select all
{content block_tab="Recent News"
block="Recent News"
label='<strong>Choose as many categories as you want to show</strong>'
style='height:200px;width:350px;font: 700 14px Arial, Helvetica, sans-serif;color: #333; float:left;'
assign=RecentNews
type="select_multiple"
items=":::news browsecattemplate=catLIST action=browsecat detailpage=home:::"
smartyOn="true"
}
Code: Select all
{foreach from=$cats item=node name=foo}{$node.news_category_name}{if $smarty.foreach.foo.last}{else},{/if}{/foreach}
Code: Select all
{foreach from=$cats item=node name=foo}
{if $node.hierarchy > 9 && $node.hierarchy <10}
{$node.news_category_name}{if $smarty.foreach.foo.last}{else},{/if}{/if}{/foreach}
Code: Select all
{content assign=keywords_content
block="Keywords"
oneline="true"
label="Keywords (palavras chave para esta página)"
style='width:350px;color:red'
}
<meta name="keywords" content="{$keywords_content}"/>
Code: Select all
style="width:350px;color:red"
hmm now that I think about it I may have not added the style to the oneline... I'll take a look later... -Jluis.ferreira wrote: Hi, good work everyone!
This should go the next version of cmsms.
Another thing, on using, I also replaced in admin\editcontent.php (line 83)
this
$content_type = 'content';
by this
$content_type = 'content2';
Finally... the style tag isn't working....have a look at a bit of my template. I was trying to keep the editor(user) away from meta tags....Code: Select all
{content assign=keywords_content block="Keywords" oneline="true" label="Keywords (palavras chave para esta página)" style='width:350px;color:red' } <meta name="keywords" content="{$keywords_content}"/>
No color red nor size 350px
I also triedwith no success.Code: Select all
style="width:350px;color:red"
Code: Select all
{content assign=keywords_content
wysiwyg="false"
block="Keywords"
label="Keywords (palavras chave para esta página)"
style="color:red;height:60px"
}
Code: Select all
#Keywords{color:red}
JeremyBASS wrote: Looks like this needs some good loving.. I'm booked up atm but if NaN doesn't get to it, I'll put some time in it.. I wanted to add an infinite block where you can keep added more block from within the page edit area so it'd be an array bock to which you could use to make tabs, accordions, sliders, or what have you..-J