Re: Cores do Estilo Xiphone no Portal Board3
Enviado: 11 Nov 2011, 10:49
				
				Seria este bloco?!?!?!?... ele assume o titulo do whois_online!
			Suporte com ética e seriedade
https://www.suportephpbb.com.br/
Código: Selecionar todos
{$SKIN_CAT_HEADER_OPEN}{$SKIN_CAT_HEADER_CLOSE}
<a name="viewpoll"></a>
{$C_BLOCK_H_L}{$TITLE}{$CS_BLOCK_H_R}
	<!-- IF S_HAS_POLL -->
		<!-- BEGIN poll -->
			<!-- IF poll.S_CAN_VOTE --><form method="post" action="{poll.S_POLL_ACTION}"><!-- ENDIF -->
				<div class="content">
					<h3>{poll.POLL_QUESTION}</h3>
					</div>{$C_BLOCK_F_L}
					 <div class="v-left"><div class="v-right">
						<div class="inner">			
							<div class="panel">
								<div class="content">
									<p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE -->{L_MAX_VOTES}<!-- ENDIF --></p>	
					<fieldset class="polls">
					<!-- IF poll.S_POLL_HAS_OPTIONS -->
					<!-- BEGIN poll_option -->
						<dl class="<!-- IF poll.poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF -->"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
							<dt><!-- IF poll.S_CAN_VOTE --><label for="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}">{poll.poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll.poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
							<!-- IF poll.S_CAN_VOTE --><dd style="width: auto;"><!-- IF poll.S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
							<!-- IF poll.S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll.poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll.poll_option.POLL_OPTION_PERCENT};">{poll.poll_option.POLL_OPTION_RESULT}</div></dd>
							<dd><!-- IF poll.poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll.poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF -->
						</dl>
					<!-- END poll_option -->
					<!-- ELSE -->
						{L_NO_OPTIONS}
					<!-- ENDIF -->
		
					<!-- IF poll.S_DISPLAY_RESULTS -->
						<dl>
							<dt> </dt>
							<dd class="resultbar"><p style="font-size:1.0em;">{L_TOTAL_VOTES} : {poll.TOTAL_VOTES}</p></dd>
						</dl>
					<!-- ENDIF -->
		
					<!-- IF poll.S_CAN_VOTE -->
						<dl style="border-top: none;">
							<dt> </dt>
							<dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd>
						</dl>
					<!-- ENDIF -->
		
					<!-- IF not poll.S_DISPLAY_RESULTS -->
						<dl style="border-top: none;">
							<dt> </dt>
							<dd class="resultbar"><p style="font-size:1.0em;"><a href="{poll.U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></p></dd>
						</dl>
					<!-- ENDIF -->
		
						<dl style="border-top: none;">
							<dt> </dt>
							<dd class="resultbar"><p style="font-size:1.0em;"><a href="{poll.U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a></p></dd>
						</dl>
					</fieldset>
				</div>
					<!-- IF poll.S_CAN_VOTE -->{poll.S_HIDDEN_FIELDS}<!-- ENDIF -->
				<!-- IF poll.S_CAN_VOTE --></form><!-- ENDIF -->
			<!-- END poll -->
			</div>
		  </div>
	   </div>
	 </div>
	<!-- ELSE -->
	<div class="panel bg1" style="margin-bottom: 0px">
		<div class="inner"><span class="portal-corners-top-inner"></span>
			<span style="text-align: center;"><strong>{L_NO_POLL}</strong></span>
		<span class="portal-corners-bottom-inner"></span></div>
	</div>
	<!-- ENDIF -->
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
Código: Selecionar todos
{$SKIN_CAT_HEADER_OPEN}{$SKIN_CAT_HEADER_CLOSE}
{$C_BLOCK_H_L}{$C_BLOCK_H_R}
  <div class="panel bg1" style="margin-bottom: 0px">
	<div class="inner"><span class="portal-corners-top-inner"></span>
		<div class="postbody" style="width: 100%">
			<div class="content">
			<form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
	<!-- IF $CUSTOM_FIELDSET_CLASS -->
		<fieldset class="{$CUSTOM_FIELDSET_CLASS}">
	<!-- ELSE -->
		<fieldset class="jumpbox">
	<!-- ENDIF -->
			<label for="f" accesskey="j"><!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF -->:</label>
			<select name="f" id="f" onchange="if(this.options[this.selectedIndex].value != -1){ document.forms['jumpbox'].submit() }">
			<!-- BEGIN jumpbox_forums -->
				<!-- IF jumpbox_forums.S_FORUM_COUNT == 1 --><option value="-1">------------------</option><!-- ENDIF -->
				<option value="{jumpbox_forums.FORUM_ID}"{jumpbox_forums.SELECTED}><!-- BEGIN level -->   <!-- END level -->{jumpbox_forums.FORUM_NAME}</option>
			<!-- END jumpbox_forums -->
			</select>
			<input type="submit" value="{L_GO}" class="button2" />
		</fieldset>
	</form>
			</div>
		</div>
	<span class="portal-corners-bottom-inner"></span></div>
  </div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
Exactamente, download do ficheiro, edição e posterior upload, actualizo template e tema, limpo a cache e pronto, se vires, a alteração do fundo do bloco julgo que das notícias, aquela situação da linha não encostar acima, também não resolveu.robra escreveu:Estranho... é como se a alteração no arquivo _block_config.html não tivesse sido feita.
Você fez o upload deste arquivo editado para a pasta correta ?
robra escreveu:Opa... correção do arquivo xiphone/template/portal/modules/jumpbox.html.
Dê o espaço de 1 linha entre as configurações direito-esquerdo / centrais / compactos, desta forma:Raul Costa escreveu:Sim, é a linha 11
Código: Selecionar todos
<!-- Config for the left and right blocks //--> <!-- DEFINE $LR_BLOCK_H_L = '<div class="forabg"><div class="sub-left"><div class="sub-right"><ul class="topiclist"><li class="header"><dl><dt style="padding: 5px 0px 10px; white-space: nowrap; margin-bottom: 0px; margin-top: 0px;">' --> <!-- DEFINE $LR_BLOCK_H_R = '</dt></dl></li></ul></div></div><div class="v-left"><div class="v-right"><ul class="topiclist forums"><li><dl><dd style="border-left: 0px; width: 100%;"><div style="text-align: left; margin: 5px 5px 5px 5px">' --> <!-- DEFINE $LR_BLOCK_F_L = '</div></dd></dl></li></ul></div></div>' --> <!-- DEFINE $LR_BLOCK_F_R = '<div class="c-f-l"><div class="c-f-r"><div class="c-f-c"></div></div></div></div><br style="clear:both" />' --> <!-- Config for the center blocks //--> <!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="sub-left"><div class="sub-right"><ul class="topiclist"><li class="header"><dl class="icon"><dt>' --> <!-- DEFINE $C_BLOCK_H_R = '</dt></dl></li></ul></div></div><div class="v-left"><div class="v-right">' --> <!-- DEFINE $C_BLOCK_F_L = '</div></div>' --> <!-- DEFINE $C_BLOCK_F_R = '<div class="c-f-l"><div class="c-f-r"><div class="c-f-c"></div></div></div></div><br style="clear:both" />' --> <!-- DEFINE $CS_BLOCK_H_R = '</dt></dl></li></ul></div></div><div class="sub-left"><div class="sub-right">' --> <!-- Config for compact blocks //--> <!-- DEFINE $CC_BLOCK_H_L = '<div class="forabg"><div class="sub-left"><div class="sub-right"><ul class="topiclist"><li class="header"><dl class="icon">' --> <!-- DEFINE $CC_BLOCK_H_R = '</dl></li></ul></div></div><div class="v-left"><div class="v-right">' --> <!-- DEFINE $CC_BLOCK_F_L = '</div></div>' --> <!-- Config for _CAT //--> <!-- DEFINE $SKIN_CAT_HEADER_OPEN = '<div class="c-h-l"><div class="c-h-r"><div class="c-h-c"><div class="c-h-title">' --> <!-- DEFINE $SKIN_CAT_HEADER_CLOSE = '</div></div></div></div>' --> <!-- DEFINE $SKIN_CAT_HEADER_BORDER_OPEN = '<div class="c-h-l-border"><div class="c-h-r-border"><div class="c-h-c-border"><div class="c-h-title">' --> <!-- DEFINE $SKIN_CAT_HEADER_BORDER_CLOSE = '</div></div></div></div>' --> <!-- DEFINE $SKIN_CAT_FOOTER_OPEN = '<div class="c-f-l"><div class="c-f-r"><div class="c-f-c">' --> <!-- DEFINE $SKIN_CAT_FOOTER_CLOSE = '</div></div></div>' --> <!-- Images-URL //--> <!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' --> <!-- Vertical distance between left/right and center Blocks --> <!-- DEFINE $BLOCK_DISTANCE = '2px' --> <!-- show Icons in left/right Blocks? 0=no 1=yes --> <!-- DEFINE $S_BLOCK_ICON = 1 --> <!-- postbody top (default 1 by prosilver) 0=no 1=yes --> <!-- DEFINE $S_POSTBODY_TOP = 1 --> <!-- override the column width settings of the ACP for this style? 0=no 1=yes --> <!-- DEFINE $S_COLUMNS_WIDTH_OVERRIDE = 0 --> <!-- override the column width settings of the ACP - set the width if enabled --> <!-- DEFINE $PORTAL_LEFT_COLUMN_OVERRIDE = '200' --> <!-- DEFINE $PORTAL_RIGHT_COLUMN_OVERRIDE = '200' -->
Fiz tudo tal como mandas-te.
Código: Selecionar todos
<!-- Config for the left and right blocks //-->
<!-- DEFINE $LR_BLOCK_H_L = '<div class="forabg"><div class="sub-left"><div class="sub-right"><ul class="topiclist"><li class="header"><dl><dt style="padding: 5px 0px 10px; white-space: nowrap; margin-bottom: 0px; margin-top: 0px;">' -->
<!-- DEFINE $LR_BLOCK_H_R = '</dt></dl></li></ul></div></div><div class="v-left"><div class="v-right"><ul class="topiclist forums"><li><dl><dd style="border-left: 0px; width: 100%;"><div style="text-align: left; margin: 5px 5px 5px 5px">' -->
<!-- DEFINE $LR_BLOCK_F_L = '</div></dd></dl></li></ul></div></div>' -->
<!-- DEFINE $LR_BLOCK_F_R = '<div class="c-f-l"><div class="c-f-r"><div class="c-f-c"></div></div></div></div><br style="clear:both" />' -->
<!-- Config for the center blocks //-->
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="sub-left"><div class="sub-right"><ul class="topiclist"><li class="header"><dl class="icon"><dt>' -->
<!-- DEFINE $C_BLOCK_H_R = '</dt></dl></li></ul></div></div><div class="v-left"><div class="v-right">' -->
<!-- DEFINE $C_BLOCK_F_L = '</div></div>' -->
<!-- DEFINE $C_BLOCK_F_R = '<div class="c-f-l"><div class="c-f-r"><div class="c-f-c"></div></div></div></div><br style="clear:both" />' -->
<!-- DEFINE $CS_BLOCK_H_R = '</dt></dl></li></ul></div></div><div class="sub-left"><div class="sub-right">' -->
<!-- Config for compact blocks //-->
Se você quiser incluir o texto "Acesso Rápido" lá, é só abrir o arquivo xiphone/template/portal/modules/jumpbox.html, e na 2ª linha, onde estáRaul Costa escreveu:robra escreveu:Opa... correção do arquivo xiphone/template/portal/modules/jumpbox.html.
:lol: :lol: :lol: :lol: :lol: :lol: ... feito, já estava a mandar um fax a reclamar :lol: :lol: :lol: :lol:
{$C_BLOCK_H_L}{$C_BLOCK_H_R}, acrescentar o texto entre as strings, ficando desta forma:{$C_BLOCK_H_L}Acesso Rápido{$C_BLOCK_H_R}.
Código: Selecionar todos
{$SKIN_CAT_HEADER_OPEN}{$SKIN_CAT_HEADER_CLOSE}
<a name="viewpoll"></a>
{$C_BLOCK_H_L}{$TITLE}{$CS_BLOCK_H_R}
	<!-- IF S_HAS_POLL -->
		<!-- BEGIN poll -->
			<!-- IF poll.S_CAN_VOTE --><form method="post" action="{poll.S_POLL_ACTION}"><!-- ENDIF -->
				<div class="content">
					<h3>{poll.POLL_QUESTION}</h3>
					</div>{$C_BLOCK_F_L}
					 <div class="v-left"><div class="v-right">
						<div class="inner">			
							<div class="panel">
								<div class="content">
									<p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE -->{L_MAX_VOTES}<!-- ENDIF --></p>	
					<fieldset class="polls">
					<!-- IF poll.S_POLL_HAS_OPTIONS -->
					<!-- BEGIN poll_option -->
						<dl class="<!-- IF poll.poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF -->"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
							<dt><!-- IF poll.S_CAN_VOTE --><label for="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}">{poll.poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll.poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
							<!-- IF poll.S_CAN_VOTE --><dd style="width: auto;"><!-- IF poll.S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
							<!-- IF poll.S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll.poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll.poll_option.POLL_OPTION_PERCENT};">{poll.poll_option.POLL_OPTION_RESULT}</div></dd>
							<dd><!-- IF poll.poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll.poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF -->
						</dl>
					<!-- END poll_option -->
					<!-- ELSE -->
						{L_NO_OPTIONS}
					<!-- ENDIF -->
		
					<!-- IF poll.S_DISPLAY_RESULTS -->
						<dl>
							<dt> </dt>
							<dd class="resultbar"><p style="font-size:1.0em;">{L_TOTAL_VOTES} : {poll.TOTAL_VOTES}</p></dd>
						</dl>
					<!-- ENDIF -->
		
					<!-- IF poll.S_CAN_VOTE -->
						<dl style="border-top: none;">
							<dt> </dt>
							<dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd>
						</dl>
					<!-- ENDIF -->
		
					<!-- IF not poll.S_DISPLAY_RESULTS -->
						<dl style="border-top: none;">
							<dt> </dt>
							<dd class="resultbar"><p style="font-size:1.0em;"><a href="{poll.U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></p></dd>
						</dl>
					<!-- ENDIF -->
		
						<dl style="border-top: none;">
							<dt> </dt>
							<dd class="resultbar"><p style="font-size:1.0em;"><a href="{poll.U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a></p></dd>
						</dl>
					</fieldset>
				</div>
			</div>
		    </div>
	     </div>
      </div>
            <div class="sub-left"><div class="sub-right"> 
					<!-- IF poll.S_CAN_VOTE -->{poll.S_HIDDEN_FIELDS}<!-- ENDIF -->
				<!-- IF poll.S_CAN_VOTE --></form><!-- ENDIF -->
			<!-- END poll -->
			
	<!-- ELSE -->
	<div class="panel bg1" style="margin-bottom: 0px">
		<div class="inner"><span class="portal-corners-top-inner"></span>
			<span style="text-align: center;"><strong>{L_NO_POLL}</strong></span>
		<span class="portal-corners-bottom-inner"></span></div>
	</div>
	<!-- ENDIF -->
{$C_BLOCK_F_L}{$C_BLOCK_F_R}