Chnage Twitter to Etix

7 years 5 months ago #907 by ponyack
Chnage Twitter to Etix was created by ponyack
Hi,

I would like to edit the Image Calendar so that the Twitter Username is replace by Etix and I would like to update the icon so it shows an Etix icon

Can this be done or is it custom work?

Thanks,

John

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

More
7 years 5 months ago - 7 years 5 months ago #909 by sysgenmedia
Replied by sysgenmedia on topic Chnage Twitter to Etix
If your fine with a little coding (which it looks like you are), then this is fairly simple... Use the Twitter field in the admin for the full url of where it should link to. or a portion there of if you change the code below...

In modules/mod_imagecalendar_list/mod_imagecalendar_list.php around line 85 find:

<a href=" twitter.com/ <?php echo $event->twitter;?>" target="_blank" class="networkicon"><img src="<?php echo JURI::root(true);?>/components/com_imagecalendar/assets/twitter_16.png" width="16" height="16" /></a>


and change as necessary to your image path and url, for example

<a href="<?php echo $event->twitter;?>" target="_blank" class="networkicon"><img src="<?php echo JURI::root(true);?>/components/com_imagecalendar/assets/etix_16.png" width="16" height="16" /></a>


Jared

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

More
7 years 5 months ago #911 by ponyack
Replied by ponyack on topic Chnage Twitter to Etix
Hi Jared,

Thanks for the reply, I will give this a shot and let you know if I am able to get it working. By the looks of the reply I think I should be ok.

John

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

More
7 years 5 months ago #912 by ponyack
Replied by ponyack on topic Chnage Twitter to Etix
Not Sure if the Quick Reply worked but thanks for the help will see if I can get this going.

John

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

More
7 years 5 months ago #913 by ponyack
Replied by ponyack on topic Chnage Twitter to Etix
Hey Jared,

Thats worked!

Thanks,

John

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

More
7 years 5 months ago #914 by sysgenmedia
Replied by sysgenmedia on topic Chnage Twitter to Etix
Great! Glad to hear it, and good luck with the Launch! Keep me posted, it looks sweet!

Jared

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

More