Main menu

Forum


× Help Forum English

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

  • outwork
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 10 ans 10 mois #6790 par 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!
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 10 ans 9 mois #6807 par 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.168 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new