Main menu

Forum


× Help Forum English

Tool Tip Link

  • HDWDave
  • Topic Author
  • New Member
  • New Member
More
6 years 11 months ago #14538 by HDWDave
Tool Tip Link was created by HDWDave
The iCagenda Calendar has a tool tip box with a "linkTo" class. How do I assign the link that is used upon clicking in the various events OR can I dissable linking alltogether?

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
6 years 10 months ago #14540 by Lyr!C
Replied by Lyr!C on topic Tool Tip Link
Hello,

I'm sorry, i'm not sure to understand what you want to do ? (don't see relation between css class and link...)

Could you detail more what you would like to achieve ?

Thank you!
Cyril

Latest version : iCagenda 3.9.3
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 Attachment:

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

  • HDWDave
  • Topic Author
  • New Member
  • New Member
More
6 years 10 months ago #14545 by HDWDave
Replied by HDWDave on topic Tool Tip Link
I am talking about the link that is present on the tool tip popups. How is that assigned?

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
6 years 10 months ago #14567 by Lyr!C
Replied by Lyr!C on topic Tool Tip Link
Hello,

If you mean the "a href" link on event inside the tooltip, to change this, you need to create your own custom theme pack, and to edit YOURTHEME_day.php file

But it means you have a minimum PHP/HTML knowledge, so that i could help you on that.

Best regards,
Cyril

Latest version : iCagenda 3.9.3
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 Attachment:

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

  • HDWDave
  • Topic Author
  • New Member
  • New Member
More
6 years 10 months ago #14574 by HDWDave
Replied by HDWDave on topic Tool Tip Link
Hi Cyril,
Great. I have a good understanding of programming in PHP and HTML.
How do I create my own custom theme pack?

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
6 years 10 months ago #14601 by Lyr!C
Replied by Lyr!C on topic Tool Tip Link
Hello,

Sorry for slow response, i'm a bit busy with 3.7 development...

So, to create your custom theme pack :
- download one you want to base your custom theme pack on (easier as a starting point) : icagenda.joomlic.com/resources/theme-packs
- Unzip the downloaded theme pack
- Replace all occurences of the theme name ("default" or "ic_rounded") by the name you want eg : "my_theme" (use only a-z, 0-9 and underscore. No space or special characters), in the folder name, file names and inside the file (most important replacement in xml file (used to install the theme) and css files)
- Then, zip back your theme, and install it directly in iCagenda Component > Themes (there's a upload field here).
- If the custom theme is correctly created, then you will be able to view it in list of theme packs in iCagenda admin, and you will be able to select it in the menu option, as well as in the calendar module option for the used theme pack.

Then, in the file YOURTHEME_day.php (this one is the HTML structure for each event in the tooltip of the calendar module), remove the a href html tag.

Example with a ic_rounded-based theme pack, you can replace by a div with custom css class or a span on line 45 :
<?php echo '<a href="' . $e['url'] . '">'; ?>
And close tag on line 156 :
<?php echo '</a>'; ?>


Hope this helps ?

Best regards,
Cyril

Latest version : iCagenda 3.9.3
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 Attachment:

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

Moderators: Lyr!C
Time to create page: 0.124 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new