[SOLVED]News Module mouseover/tooltip feature request

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
dvanoss
Forum Members
Forum Members
Posts: 46
Joined: Mon Dec 18, 2006 9:21 pm

[SOLVED]News Module mouseover/tooltip feature request

Post by dvanoss »

I've been trying to find a way to implement an option within a news template where a user can mouseover the news title ({$entry->titlelink}) and popup the summary information of the article in a "tooltip" style window, such as is used by Netflix and other sites. Any thoughts?
Last edited by dvanoss on Mon Dec 15, 2008 6:51 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: News Module mouseover/tooltip feature request

Post by calguy1000 »

try {$entry|print_r} there should be a field there for the title without a link.... then you could do whatever scripting you want.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
dvanoss
Forum Members
Forum Members
Posts: 46
Joined: Mon Dec 18, 2006 9:21 pm

Re: News Module mouseover/tooltip feature request

Post by dvanoss »

I wasn't sure how to get at the "titlelink} so I ended up adding an image icon with the script in the link for that with the summary of the news article displaying in the tooltip:
summary})">
Unfortunately, if there are any links or images in the news content it blows the script and gives errors. Still looking for a better alternative that would show a pop-up baloon with a summary and a "details" link to take you to the full news content page for that article.
Last edited by dvanoss on Thu Oct 09, 2008 7:13 pm, edited 1 time in total.
dvanoss
Forum Members
Forum Members
Posts: 46
Joined: Mon Dec 18, 2006 9:21 pm

Re: News Module mouseover/tooltip feature request

Post by dvanoss »

Found a better method which you can see under the left column of news here: http://www.parkviewchurch.org. Hover over the right icon and the content of the Summary Field of the news article pops up.

I installed CSS Tooltips http://www.cssplay.co.uk/menu/balloons.html, modified some of the stylesheet code, and then created a custom Summary Template for display of the News which included the code to call the tooltip. It allowed me to also include a "MORE" link within the tooltip to go to News Detail for that article, as well as to include any links or images in the tooltip.
Post Reply

Return to “Modules/Add-Ons”