AJUDA com o SOBI2
- Specker_
-
Autor do Tópico
- Offline
- JCB! Professional
-
Menos
Mais
15 anos 2 meses atrás #37580
por Specker_
Specker_ created the topic: AJUDA com o SOBI2
Galera é o seguinte eu editei um template assim:
agora eu vi esse arquivo aki:
o que eu tenho que editar pra aparecer os nomes nos campos?
http://livesportsbr.com/portal/componen ... &sobi2Id=3
<?php
/**
/*please do not remove this line */
defined( '_SOBI2_' ) || ( trigger_error("Restricted access", E_USER_ERROR) && exit() );
?>
<?php HTML_SOBI::renewal( $config,$mySobi ); ?>
<table>
<td><h1><?php echo $mySobi->title; ?></h1>
<table border="0" align="right" width="300px">
<tbody>
<tr>
<td><?php echo $img; ?></td>
</tr><div class="gk_legend5">
<table border="0" style="width:737px">
<u><b><h4>Informações:</h4></b></u>
<tr>
<td width="318"><span class="gk_highlight-2"><b>Titulo:</b></span> <?php echo $fieldsObjects['field_titulo']->data; ?>
<td width="409"><span class="gk_highlight-2"><b>Release:</b></span> <?php echo $fieldsObjects['field_release']->data; ?></td>
</tr>
<tr>
<td><span class="gk_highlight-2"><b>CD's:</b></span> <?php echo $fieldsObjects['field_cds']->data; ?>
<td><span class="gk_highlight-2"><b>Tamanho:</b></span> <?php echo $fieldsObjects['field_tamanho']->data; ?></td>
</tr>
</table></div>
<div class="gk_legend5">
<table border="0" style="width:737px">
<u><b><h4>Seriado:</h4></b></u>
<tr>
<td width="318"><span class="gk_highlight-2"><b>Gênero:</b></span> <?php echo $fieldsObjects['field_genero']->data; ?>
<td width="409"><span class="gk_highlight-2"><b>Emisora:</b></span> <?php echo $fieldsObjects['field_emissora']->data; ?></td>
</tr>
<tr>
<td><span class="gk_highlight-2"><b>Último Eps:</b></span><?php echo $fieldsObjects['field_ulteps']->data; ?>
<td><span class="gk_highlight-2"><b>Proxímo Eps.:</b></span> <?php echo $fieldsObjects['field_proeps']->data; ?></td>
</tr>
</table></div>
<div class="gk_legend5">
<tr>
<td><b><h4>Sinopse:</h4></b> <br />
<div class="gk_code2"> <?php echo $fieldsObjects['field_sinopse']->data; ?> </td>
</tr>
</table></div></div>
<div class="gk_legend5">
<h4>Equipe</h4>
<ul class="gk_bullet4">
<br />
<li>Tradução:<?php echo $fieldsObjects['field_traducao']->data; ?></li>
</ul>
<ul class="gk_bullet4">
<li>Revisão:<?php echo $fieldsObjects['field_revisao']->data; ?></li>
</ul>
<ul class="gk_bullet4">
<li>Sincronia:<?php echo $fieldsObjects['field_sinc']->data; ?></li>
</ul>
<ul class="gk_bullet4">
<li>Resincronia:<?php echo $fieldsObjects['field_resinc']->data; ?></li>
</ul>
<p> </p>
</div>
<div class="gk_legend5">
<tr>
<td><b><h4>Download:</h4></b><br />
<td><span class="gk_highlight-2"><b>Link:</b></span><?php echo $fieldsObjects['field_download']->data; ?> </td>
</tr></div>
<table class="sobi2DetailsFooter" width="52%">
<tr> <td width="51%"><?php HTML_SOBI::addedDate($config,$mySobi); ?>
<?php HTML_SOBI::showHits($config,$mySobi);?>
</td>
<td width="49%"><?php HTML_SOBI::editButtons($config,$mySobi); ?></td>
</tr>
</table>
?agora eu vi esse arquivo aki:
<?php
/**
* @version $Id: sobi2.form.tmpl.php 5379 2010-02-26 17:30:01Z Sigrid Suski $
* @package: Sigsiu Online Business Index 2
* ===================================================
* @author
* Name: Sigrid & Radek Suski, Sigsiu.NET GmbH
* Email: sobi[at]sigsiu.net
* Url: http://www.sigsiu.net
* ===================================================
* @copyright Copyright (C) 2006 - 2010 Sigsiu.NET GmbH (http://www.sigsiu.net). All rights reserved.
* @license see http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL.
* You can use, redistribute this file and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation.
*/
/*please do not remove this line */
defined( '_SOBI2_' ) || ( trigger_error("Restricted access", E_USER_ERROR) && exit() );
/* ------------------------------------------------------------------------------
* This is an example template for the Entry Form
* ------------------------------------------------------------------------------
*/
?>
<?php
/* ------------------------------------------------------------------------------
* Here are several standard free fields
* ------------------------------------------------------------------------------
*/
?>
<?php echo $screenTitle; ?>
<?php echo $requiredFieldsInfo; ?>
<?php echo $fields['EntryName']['label']; ?><?php echo $fields['EntryName']['field']; ?><br/>
<?php echo $fields['field_release']['label']; ?><?php echo $fields['field_release']['field']; ?><br/>
<?php echo $fields['field_cds']['label']; ?><?php echo $fields['field_cds']['field']; ?><br/>
<?php echo $fields['field_tamanho']['label']; ?> <?php echo $fields['field_tamanho']['field']; ?><br/>
<?php echo $fields['field_county']['label']; ?> <?php echo $fields['field_county']['field']; ?><br/>
<?php echo $fields['field_federal_state']['label']; ?> <?php echo $fields['field_federal_state']['field']; ?><br/>
<?php echo $fields['field_country']['label']; ?> <?php echo $fields['field_country']['field']; ?><br/>
<?php echo $fields['field_email']['label']; ?> <?php echo $fields['field_email']['field']; ?><br/>
<?php
/* ------------------------------------------------------------------------------
* But if these are not free fields
* @example these informations are in the following variables:
* $fields['field_fieldname']['payment']['box'] - is the checkbox to activate the target field
* $fields['field_fieldname']['payment']['box_label'] - is the label of this checkbox. A text like "add website"
* $fields['field_fieldname']['payment']['explanation'] - explanation text. Something like "This option is not for free. It costs: 20$"
* ------------------------------------------------------------------------------
*/
?>
<?php echo $fields['field_website']['payment']['box']; ?>
<?php echo $fields['field_website']['payment']['box_label']; ?><br/>
<?php echo $fields['field_website']['payment']['explanation']; ?>
<?php echo $fields['field_website']['label']; ?> <?php echo $fields['field_website']['field']; ?><br/>
<?php
/** ------------------------------------------------------------------------------
* Of course You can add the additional payment infos to all fields.
* If the field is for free, nothing will be shown.
* ------------------------------------------------------------------------------
*/
?>
<?php echo $fields['field_contact_person']['payment']['box']; ?>
<?php echo $fields['field_contact_person']['payment']['box_label']; ?><br/>
<?php echo $fields['field_contact_person']['payment']['explanation']; ?>
<?php echo $fields['field_contact_person']['label']; ?> <?php echo $fields['field_contact_person']['field']; ?><br/>
<?php echo $fields['field_phone']['payment']['box']; ?>
<?php echo $fields['field_phone']['payment']['box_label']; ?><br/>
<?php echo $fields['field_phone']['payment']['explanation']; ?>
<?php echo $fields['field_phone']['label']; ?> <?php echo $fields['field_phone']['field']; ?><br/>
<?php echo $fields['field_fax']['payment']['box']; ?>
<?php echo $fields['field_fax']['payment']['box_label']; ?><br/>
<?php echo $fields['field_fax']['payment']['explanation']; ?>
<?php echo $fields['field_fax']['label']; ?> <?php echo $fields['field_fax']['field']; ?><br/>
<?php echo $fields['field_hotline']['payment']['box']; ?>
<?php echo $fields['field_hotline']['payment']['box_label']; ?><br/>
<?php echo $fields['field_hotline']['payment']['explanation']; ?>
<?php echo $fields['field_hotline']['label']; ?> <?php echo $fields['field_hotline']['field']; ?><br/>
<?php echo $fields['field_description']['payment']['box']; ?>
<?php echo $fields['field_description']['payment']['box_label']; ?><br/>
<?php echo $fields['field_description']['payment']['explanation']; ?>
<?php echo $fields['field_description']['label']; ?> <?php echo $fields['field_description']['field']; ?><br/>
<?php
/* ------------------------------------------------------------------------------
* Now several special SOBI2 fields
* ------------------------------------------------------------------------------
*/
?>
<?php echo $fields['Metakeys']['label']; ?><?php echo $fields['Metakeys']['field']; ?><br/>
<?php echo $fields['MetaDesc']['label']; ?><?php echo $fields['MetaDesc']['field']; ?><br/>
<?php
/* ------------------------------------------------------------------------------
* The Image/Icon fields and the background chooser are splitted in two fields. One is the input field, the other is an already existing image
* ------------------------------------------------------------------------------
*/
?>
<?php echo $fields['ExistingImg']['label']; ?><?php echo $fields['ExistingImg']['field']; ?><br/>
<?php echo $fields['ImgField']['payment']['box']; ?>
<?php echo $fields['ImgField']['payment']['box_label']; ?><br/>
<?php echo $fields['ImgField']['payment']['explanation']; ?>
<?php echo $fields['ImgField']['label']; ?> <?php echo $fields['ImgField']['field']; ?><br/>
<?php echo $fields['ExistingIco']['label']; ?><?php echo $fields['ExistingIco']['field']; ?><br/>
<?php echo $fields['IcoField']['payment']['box']; ?>
<?php echo $fields['IcoField']['payment']['box_label']; ?><br/>
<?php echo $fields['IcoField']['payment']['explanation']; ?>
<?php echo $fields['IcoField']['label']; ?> <?php echo $fields['IcoField']['field']; ?><br/>
<?php echo $fields['BackgroundChooser']['label']; ?><?php echo $fields['BackgroundChooser']['field']; ?><br/>
<?php echo $fields['BackgroundPreview']['label']; ?><?php echo $fields['BackgroundPreview']['field']; ?><br/>
<?php
/* ------------------------------------------------------------------------------
* Let's show the category chooser now
* ------------------------------------------------------------------------------
*/
?>
<?php echo $catChooser; ?>
<?php
/* ------------------------------------------------------------------------------
* Safety code is splitted in two fields too
* ------------------------------------------------------------------------------
*/
?>
<?php echo $fields['SafetyCodeImage']['label']; ?><?php echo $fields['SafetyCodeImage']['field']; ?><br/>
<?php echo $fields['SafetyCodeField']['label']; ?><?php echo $fields['SafetyCodeField']['field']; ?><br/>
<?php
/* ------------------------------------------------------------------------------
* At least the entry rules confirmation (has to be in a div container with id="accept_rules_row")
* ------------------------------------------------------------------------------
*/
?>
<div id="accept_rules_row">
<?php echo $fields['EntryRules']['label']; ?><?php echo $fields['EntryRules']['field']; ?>
</div>
<?php
/* ------------------------------------------------------------------------------
* And of course the buttons
* ------------------------------------------------------------------------------
*/
?>
<?php echo $cancelButton; ?>
<?php echo $sendButton; ?><br/>
?o que eu tenho que editar pra aparecer os nomes nos campos?
http://livesportsbr.com/portal/componen ... &sobi2Id=3
Please Entrar ou Registrar to join the conversation.
- Specker_
-
Autor do Tópico
- Offline
- JCB! Professional
-
15 anos 2 meses atrás #37582
por Specker_
Specker_ replied the topic: Re: AJUDA com o SOBI2
ta dexa ja desinstalei, deu um erro...
alguem sabe um modulo, plugin ou componente que a gente cria Campos e ele gera um html desses campos para postar em articles?
alguem sabe um modulo, plugin ou componente que a gente cria Campos e ele gera um html desses campos para postar em articles?
Please Entrar ou Registrar to join the conversation.