Main menu

Forum


× Help Forum English

Icangeda Popup window`s link redirects to an existing article - It is possible?

  • outwork
  • Autore della discussione
  • New Member
  • New Member
Di più
10 Anni 10 Mesi fa #6790 da outwork
Hi. It is possible to redirect the ICagenda`s Event popup link to an existing article (made by me from the Article manager). Right now Icangda creates a separate page to every event created with it, which is not what I am looking for. There is an option for this? Or i need to edit the php files to accomplish this feature? Thank you!
Allegati:

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
10 Anni 9 Mesi fa #6807 da Lyr!C
Hello,

This is not the main purpose of iCagenda, but i've planned this option in the future (no deadline today, as not planned in the current developpement).

But, if you don't need the website field, it could be used to do this, but needs to edit core file of module iC calendar and theme pack used.

To do this hack :

in modules/mod_iccalendar/helper.php, add this line 'article' => $r->website, arround lines 952-973 :
$event=array(
				'id' => (int)$r->id,
				'registered' => (int)$registered,
				'maxTickets' => (int)$maxTickets,
				'TicketsLeft' => (int)$TicketsLeft,
				'Itemid' => (int)$mItemid,
				'url'=> $urlevent,
				'article'=> $r->website,
				'title' => $r->title,

And in the theme pack (components/com_icagenda/themes/packs/NAME_OF_YOUR_THEME_PACK/NAME_OF_YOUR_THEME_PACK_day.php :

Replace this :
$e['url']

By this :
$e['article']

And so, you can copy/paste the url of the article in the field website, admin side. ;-)

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.

Moderatori: Lyr!C
Tempo creazione pagina: 0.104 secondi

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new