Main menu

Forum


× Forum di assistenza italiano

[Solved] target link file allegati

  • Kappadocio
  • Topic Author
  • Junior Member
  • Junior Member
More
14 years 2 months ago - 14 years 2 months ago #524 by Kappadocio
[Solved] target link file allegati was created by Kappadocio
lo so ed è per questo che vi pagherei un po' di birre :P

ma so che mi volete bene quindi... :woohoo:

ALTRO DESIDERIO

come faccio a modificare il codice per far aprire gli allegati in un altra pagina anzichè nella stessa?
vedi esempio
www.toscanatrail.it/index.php?option=com...70&id=3#.UFlzR7LN_zt
Last edit: 14 years 2 months ago by giusebos.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
14 years 2 months ago #528 by Lyr!C
Replied by Lyr!C on topic target link file allegati

Kappadocio wrote: lo so ed è per questo che vi pagherei un po' di birre :P

ma so che mi volete bene quindi... :woohoo:

ALTRO DESIDERIO

come faccio a modificare il codice per far aprire gli allegati in un altra pagina anzichè nella stessa?
vedi esempio
www.toscanatrail.it/index.php?option=com...70&id=3#.UFlzR7LN_zt


Change this lines in icmodel.php:
protected function fileTag ($i){
		return '<a class="xDownload" href="'.$i->file.'">'.JText::_( 'COM_ICAGENDA_EVENT_DOWNLOAD' ).'</a>';
	}
TO
protected function fileTag ($i){
		return '<a class="xDownload" href="'.$i->file.'" target="_blanck">'.JText::_( 'COM_ICAGENDA_EVENT_DOWNLOAD' ).'</a>';
	}

I will add it in the next release ;-)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
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 Attachment:

Please Log in or Create an account to join the conversation.

Moderators: giusebos
Time to create page: 0.053 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new