Topic-icon no bio display

More
22 Jan 2016 12:11 #12 by Roger Ringo
Roger Ringo created the topic: no bio display
In my display of Contacts from the Menu link, the Read "name" Bio shows as an active link, but it does not take a person to the Bio page. Also is there a way to have the email address show up somewhere under the Contact image?

www.pcciworld.org/peacecommunitychurch/index.php/sw-usa#2
The topic has been locked.
More
22 Jan 2016 13:00 #13 by Terry Carter
Terry Carter replied the topic: no bio display
Good afternoon Roger,

From looking at the site my first thought would be there is another jQuery script somewhere that is conflicting with the roster component. No idea which script it could be without some troubleshooting. The method being used by FancyBox to open the popup for the bio is very simplistic and nothing fancy which leads me to believe there is a conflict somewhere in the language itself.

I do notice that there is an error on that particular page:

Uncaught ReferenceError: Tips is not defined

My script does reference the default Joomla Tooltip functionality but there is more than likely something else that could be conflicting with it.

For basic trouble shooting I would say maybe go through your content plugins and disable them one by one, checking the roster page in between each one to see if the issue goes away. If you disable a plugin and the bio link starts working you know which plugin was causing the issue. If you can't figure it out just reply to this email and we can figure something out for you. I don't think it is the extension though, many people are using it and this is the first I have heard of the bio popup not opening.

On a side note,

If you edit the .htaccess file in the root of your hosting directory and look for this line

# RewriteBase /

Change that to

RewriteBase /

It should eliminate the index.php string in your SEF URLs. If there is not a .htaccess file in the root of your hosting then rename the htaccess.txt file to .htaccess.

Be sure to put the period in front of htaccess so it is (dot)htaccess.

Terry W. Carter
Professional Code Monkey
The topic has been locked.
More
22 Jan 2016 13:16 - 22 Jan 2016 13:17 #14 by Terry Carter
Terry Carter replied the topic: no bio display
Forgot to answer your second question. Email addresses were intentionally left hidden as a security precaution to lessen the amount of spam you receive due to web scrapers etc.

For this you have 2 options:

Option 1 you can disable the Email Cloaking Plugin which may cause it to go back to a normal email address, but doubtful.

Option 2 you can change the template file for the roster to display just the email address, this may revert back to the default however if you ever update the component. The next version may have the ability to alternate between viewing the email address or an email message.

For now you will want to FTP into your site and edit the following file

components / com_joomroster / views / roster / tmpl / default.php

Change line # 58
<span class="memberemail"><?php echo JHTML::_('email.cloak', $member->email, 1, 'Email' . ' ' .$member->firstname, 0 ) ;?></span><br />

to this
<span class="memberemail"><a href="mailto:<?php echo $member->email;?>"><?php echo $member->email ;?></a></span><br />

You should get an update when the new version with the toggle gets released to the public.

Terry

Terry W. Carter
Professional Code Monkey
The topic has been locked.
Powered by Kunena Forum