Main menu

Forum


× Help Forum English

[SOLVED] General settings issue

  • viswa
  • New Member
  • New Member
Di più
11 Anni 1 Mese fa #5623 da viswa
Risposta da viswa al topic General settings issue

viswa ha scritto: 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.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa #5624 da Lyr!C
Risposta da Lyr!C al topic General settings issue

viswa ha scritto: hi all i am using 3.0 joomla


Hi, priority support is for Pro Users, forum is a community one, so keep calm, and don't give alarm with many posts! ;-)

And, you have answered to your question : Joomla 3.0 !

You should really follow the news about Joomla 3.
And on download page, i don't have write 3.0 as compatible... and joomla 3.0 is not to be used for anyone!

Recommended:
Upgrade : 3.1.6 (until 3.2.1 is not released, due to bugs after upgrade in Joomla 3.2.0)
New install : 3.2.0

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • viswa
  • New Member
  • New Member
Di più
11 Anni 1 Mese fa #5843 da viswa
Risposta da viswa al topic General settings issue
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.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa #5852 da Lyr!C
Risposta da Lyr!C al topic General settings issue

viswa ha scritto: 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.


Hi!

In the roadmap, you will find that custom fields are in it.

But today, it is possible to do it with a hack of the code.
I have send this changes to Pro users, but was for personnal needs.

For your information, i'm in process of begining a written documentation, and a will create a page for this "tip". I hope to have this page created before end of this month, so, keep an eye on your email box, as when i will open access to "in process" documentation, i will send a newsletter to all registered user ;-)

But now, i will see to search for the code changes in my email, and copy/paste it ;-)

Lyr!C

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa #5853 da Lyr!C
Risposta da Lyr!C al topic General settings issue
There, a copy/paste ;-)



A D M I N

FIRST SOLUTION:
So, in case of the 2 (or more!) fields added to the "Options" tab of edit form page, do this :

1. Edit admin/models/forms/event.xml

Just after this :
<fieldset name="options" label="JGLOBAL_FIELDSET_DISPLAY_OPTIONS">



ADD THIS :
    <!-- 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 -->


2. That's ALL for admin, if you display the fields in Options tab



SECOND SOLUTION:
In case of the 2 fields added to where you want in edit form page, for example in "Information", do this :

1. Edit admin/models/forms/event.xml

Just after this :
<fields name="params">


ADD THIS :
    <!-- 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 -->


2. Then, edit admin/views/event/tmpl/edit.php

After line around 445 (panel "information"), add this just after <div class="icpanel iCleft"> :
    <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>



And after :
<?php foreach ($params as $name => $fieldSet) : ?>



ADD THIS :
<?php if ($fieldSet->name != 'customs') : ?>



And then, before :
<?php endforeach; ?>



ADD THIS :
<?php endif; ?>



NOW, it's done for admin, and no need to do anything else in data ! ;-)


S I T E

1. First, edit site/models/list.php

Add the names used to call the data from "params" columns

After 'item'=>array( , add this (Always pay attention to the syntax!) :
'FieldOne'=>'',

    'FieldTwo'=>'',




2. Then, edit site/helpers/icmodel.php

Create the function to call the data.
Add this after iCparams function :

    protected function FieldOne ($i){return $this->evtParams($i)->get('fieldone');}



    protected function FieldTwo ($i){return $this->evtParams($i)->get('fieldtwo');}



3. Finally, edit site/themes/packs/default/default_event.php

After line (<?php // Information ?>), add this :

    <?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; ?>



Of course, you can change the display, and where to display the data!

So, only 2 files to be edited in admin
And 2 files in site (because, if you create your own custom named theme pack, you won't have to edit it at each iCagenda upgrade!)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • viswa
  • New Member
  • New Member
Di più
11 Anni 1 Mese fa - 11 Anni 1 Mese fa #5855 da viswa
Risposta da viswa al topic General settings issue
hi thank you for the reply the control panel is coming as i have showed in the attachment please help me it is not updating the changes and the options which i have selected
Allegati:
Ultima Modifica 11 Anni 1 Mese fa da viswa.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa #5857 da Lyr!C
Risposta da Lyr!C al topic General settings issue
Sorry... is this happen before or after changes ?

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • viswa
  • New Member
  • New Member
Di più
11 Anni 1 Mese fa - 11 Anni 1 Mese fa #5876 da viswa
Risposta da viswa al topic General settings issue
From first itself, while i have installed the component i checked the control panel,it is showing like this only from day one i didn't even touched it by default it is like this only...
Ultima Modifica 11 Anni 1 Mese fa da viswa.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa #5886 da Lyr!C
Risposta da Lyr!C al topic General settings issue
If you are using 3.0, it's normal!

3.0 is now not a working version of Joomla.

You can upgrade to 3.1.6 or to 3.2.1rc (but not 3.2.0 as a buggy version about password and login problems)

THe most secure today: upgrade to 3.1.6 and wait fro 3.2.1 stable. ;-)

Don't forget that when using J3, as it is a STS version, 3.0 is now stop with no support, and 3.1 is end of life soon (in my opinion, when 3.2.1 stable will be release)

For iCagenda, i'm always working to make it works on the last stable version of J3. And as mentionned on download page, iCagenda is compatible 2.5, 3.1 and 3.2 (not 3.0)

:-)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa - 11 Anni 1 Mese fa #5887 da Lyr!C
Risposta da Lyr!C al topic General settings issue
To complet my previous message, a useful link with an important message from Joomla Leardership :
community.joomla.org/blogs/leadership/17...ty-enhancements.html

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Ultima Modifica 11 Anni 1 Mese fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.106 secondi

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new