- Messages : 7
- Remerciements reçus 0
viswa écrit: hi all i am using 3.0 joomla and k2 component i installed 3.2.5 version of iCagenda but when i click on the options button in the control panel its showing just the listof control items but there is no save button, for full picture view i am attaching the screen shot below plz do help me its very urgent.
Connexion ou Créer un compte pour participer à la conversation.
viswa écrit: hi all i am using 3.0 joomla
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
viswa écrit: Hi greetings...!!!!
I have to display two more fields in my font end events displaying they are url and website which was already added in the back end please do suggest me with the code or process to do the this thing.
Thank You in advance.
Connexion ou Créer un compte pour participer à la conversation.
<fieldset name="options" label="JGLOBAL_FIELDSET_DISPLAY_OPTIONS">
<!-- START: Custom Fields -->
<field type="Title" label="Personal Fields" class="styleblanck"/>
<field
name="fieldone"
type="text"
size="40"
class="inputbox"
label="Field One"
description="Field One description"
default=""
labelclass="control-label"
/>
<field
name="fieldtwo"
type="text"
size="40"
class="inputbox"
label="Field Two"
description="Field Two Description"
default=""
labelclass="control-label"
/>
<!-- END: Personal Fields -->
<fields name="params">
<!-- START: Custom Fields -->
<fieldset name="customs" label="Custom Fields" addfieldpath="/administrator/components/com_icagenda/add/elements">
<field type="Title" label="Personal Fields" class="styleblanck"/>
<field
name="fieldone"
type="text"
size="40"
class="inputbox"
label="Field One"
description="Field One description"
default=""
labelclass="control-label"
/>
<field
name="fieldtwo"
type="text"
size="40"
class="inputbox"
label="Field Two"
description="Field Two Description"
default=""
labelclass="control-label"
/>
</fieldset>
<!-- END: Personal Fields -->
<h1><?php echo JText::_('Custom Fields'); ?></h1>
<hr>
<div class="row-fluid">
<?php foreach ($params as $name => $fieldSet) : ?>
<?php if ($fieldSet->name == 'customs') : ?>
<?php if (isset($fieldSet->description) && trim($fieldSet->description)) : ?>
<p class="tip"><?php echo $this->escape(JText::_($fieldSet->description));?></p>
<?php endif; ?>
<div class="span6 iCleft">
<?php
foreach ($this->form->getFieldset($name) as $field) : ?>
<div class="control-group">
<?php echo $field->label; ?>
<div class="controls">
<?php
$language = JFactory::getLanguage();
$language->load('com_icagenda', JPATH_SITE, 'en-GB', true);
$language->load('com_icagenda', JPATH_SITE, null, true);
echo $field->input;
?>
</div>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php endforeach; ?>
</div>
<?php foreach ($params as $name => $fieldSet) : ?>
<?php if ($fieldSet->name != 'customs') : ?>
<?php endforeach; ?>
<?php endif; ?>
'FieldOne'=>'',
'FieldTwo'=>'',
protected function FieldOne ($i){return $this->evtParams($i)->get('fieldone');}
protected function FieldTwo ($i){return $this->evtParams($i)->get('fieldtwo');}
<?php // Field One ?>
<?php if ($item->FieldOne): ?>
<tr><th>Field One Title</th><td><?php echo $item->FieldOne; ?></td></tr>
<?php endif; ?>
<?php // Field Two ?>
<?php if ($item->FieldTwo): ?>
<tr><th>Field Two Title</th><td><?php echo $item->FieldTwo; ?></td></tr>
<?php endif; ?>
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.