Support Forums

Help popups again!

This is a discussion on Help popups again! within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hello again, I was wondering if anyone could tell me how to add help/info popups to the category titles (under ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 04-09-2010, 10:36 AM   #1
Customer
 
Join Date: Nov 2009
Posts: 60
Rep Power: 9
rainie is on a distinguished road
Default Help popups again!

Hello again,

I was wondering if anyone could tell me how to add help/info popups to the category titles (under the browse categories on the main page).
I know the javascript to use, but cannot remember which file to place this in: <a href="javascript:void(0);" onmouseover="return overlib('My popup text.')" onmouseout="return nd();"> <img src="images/help.png" border="0" /></a>

Again, I need it to go beside the categories I created on the home page.
I had done it before, but for one reason or another, lost all the editing I'd previously done.
Any help appreciated.
Thanks
rainie is offline   Reply With Quote
Old 04-09-2010, 06:53 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Did you try home.tpl
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 04-10-2010, 05:26 AM   #3
Customer
 
Join Date: Nov 2009
Posts: 60
Rep Power: 9
rainie is on a distinguished road
Default

Thanks for the reply.
Not sure if that's the one to edit. If it is, can you give me some pointers as to what to add/delete?
Thanks again

Last edited by rainie; 04-10-2010 at 07:16 AM.
rainie is offline   Reply With Quote
Old 04-10-2010, 11:15 AM   #4
Customer
 
Join Date: Nov 2009
Posts: 60
Rep Power: 9
rainie is on a distinguished road
Default Mouseover help popups

Hi,

Was just wondering (again!) if anyone knows which file to place the javascript into to allow me to assign a help popup to the categories I've created on the homepage?
I've done it before, but for various reasons have lost all the editing I'd done.

I know what to put, just don't know where to place it. I was told it may be the home or browse.tpl file, but I've no idea what to edit/remove.
Can anyone give me a step by step guide?
Any help always appreicated.
Thanks
rainie is offline   Reply With Quote
Old 04-10-2010, 01:15 PM   #5
Just get on with it!
 
 
Join Date: Jan 2007
Location: Milton Keynes, England
Posts: 486
Rep Power: 34
michael is just really nice michael is just really nice
Default

Try this; Placing help popups
__________________
M Michael
V4.2.3 Developer - Sigma Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 04-10-2010, 01:28 PM   #6
Customer
 
Join Date: Nov 2009
Posts: 60
Rep Power: 9
rainie is on a distinguished road
Default

Thanks for the reply but that's my original posting! I did figure out how to do it, (as per the link you provided) but have had all my editing deleted since then and now cannot remember which file I placed the code in.
I really only need to know which file to place the javascript in to enable the popup..and also what to edit or delete.

thanks
rainie is offline   Reply With Quote
Old 04-11-2010, 04:27 AM   #7
Customer
 
Join Date: Nov 2009
Posts: 60
Rep Power: 9
rainie is on a distinguished road
Default

Can anyone help??
Thanks
rainie is offline   Reply With Quote
Old 04-11-2010, 06:25 AM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

As Mike said, its home.tpl in your template folder or if you are referring to the categories page itself then its browse.tpl in your template folder.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 04-11-2010, 06:37 AM   #9
Customer
 
Join Date: Nov 2009
Posts: 60
Rep Power: 9
rainie is on a distinguished road
Default

Many thanks for the reply.
I'm unsure as to what to edit however..
This is the code for the home.tpl file but I'm unsure as to what to add or remove. Don't want to mess anything up.
So, if I had a category named 'Properties' and wanted to add a help popup image and description, what would I need to add?
Your help is appreciated.


{*$Revision: 337 $*}
{$pPageContent}
<br />
<table class="main" width="100%">
<tr>
<th>{$smarty.const.LANG_BROWSE_CATEGORY}</th>
</tr>
<tr>
<td>
<table width="100%">
{section name=tr loop=$data step=$cols}
<tr>
{section name=td start=$smarty.section.tr.index loop=$smarty.section.tr.index+$cols}
<td valign="top">
{if $data[td]<>""}
{$data[td].start_link}<img src="{$data[td].image}" border="0" alt="{$data[td].name}" /></a> 
{$data[td].start_link}<strong>{$data[td].name}</strong></a>
{if $data[td].total <> ''}
({$data[td].total})
{/if}
<br />
<!--{$data[td].subcats}-->
{$data[td].description}
{/if}
 
</td>
{/section}
</tr>
{/section}
</table>
</td>
</tr>
</table>
<br />
<div id="newlistings">
<h2>{$smarty.const.LANG_FEATURED_LISTINGS}</h2>
{feature_listings_horizontal number=8 cols=4 table_attr='width="100%" cellpadding="3" cellspacing="3"' td_attr='style="border-top: 1px dashed #999;"' order_by='dateadded' order='desc'}
</div>
rainie is offline   Reply With Quote
Old 04-11-2010, 06:09 PM   #10
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

OK, here's the deal...
The file that you want to add your overlib javascript help to is generating the categories dynamically (ie: when you go to the page the php script is going to the database and finding your categories and then feeding them into your page). The way the code that you have works is on a mouseover for something that is static (ie: something that is already on the page). So the bottom line is this, unless you are going to hand code in all of your categories so that you can then put the help code in for each category, you won't be able to use this.

Now, I'm not saying that the overlib help couldn't also be done dynamically as the categories are generated now, but that would be a much more complex and completely different scenario!
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing help popups rainie Templates, HTML, CSS, and Design Help 6 12-10-2009 03:18 PM
Thickbox popups seymourjames Modules / Plugins / Modifications 2 10-09-2008 11:21 AM


All times are GMT -4. The time now is 04:38 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0