Mon Dec 03 2007, 05:34PM
First of all, Thank you for the great theme (crosshatch v1.1), I love it, clean works well and fits my needs well, however I have a minor problem that may or may not have something to do with this theme and am in hopes you can point me in the right direction of how to resolve this minor issue. Along with my site I am using PHP Live Support and have it set in a menu item to be displayed on the right side bar of the main page of our site; this has worked well for other themes but for some reason the crosshatch theme is not allowing it to display correctly, to see what I am talking about go here http://inkonet.net I am using the following code/setup to create the Menu (please omit the end brackets)Menu Name: [Live Support] Title / Caption: [ ##SANITISED## language="JavaScript" src="http://www.inkonet.net:81/inko-support/js/status_image.php?base_url=http://www.inkonet.net:81/inko-support&l=admin&x=1&deptid=1&">##SANITISED##> ]Any help would be most appreciated Thank you!
Back to top
Mon Dec 03 2007, 06:16PM
OK this is simple. You have wrong setting for you custom menu. You have entered your code in the caption are and this is wrong.

Go to Admin->Content->Custom Menu/Pages and delete your current custom menu for live support
1. Create Custom Menu
2. For Menu Name type "livesupport" - this is the name used from e107 to render the menu
3. For Title/Caption type "Live Support"
4. In the text area enter your javascript code
5. Done

Then go to Admin->Content-Menus and from the list activate "livesupport".

I hope this can help you.

Cheers
Back to top
Tue Dec 04 2007, 09:08AM
Well thank you, but it's not working out, all I get is the script itself showing in the "Live Support" whicth is why I put the avascript code in the Title/Caption area in the first place, and it has worked well, I understand it's not right but it worked, I don't understand code enough, perhaps I have it incorrect. any ideas.

Thanks
Back to top
Tue Dec 04 2007, 09:46AM
OK hire is the trick:
First delete your custom menu from Admin->Content->Custom Menus/Pages
1. Create on local PC a new folder "livesupport"
2. Inside this folder create a new .php file "livesupport_menu.php"
3. Open this livesupport_menu.php in a text editor and enter this code (without the line numbers and the dot after):

<?php
if (!defined('e107_INIT')) { exit; }
$text = '';
$text = '
<script language="JavaScript" src="http://www.inkonet.net:81/inko-support/js/ status_image.php?base_url=http://www.inkonet.net:81/inko-support&amp;l=admin&amp;x=1&amp;deptid=1&amp;"><a href="http://www.phplivesupport.com"></a></script>
';
$ns->tablerender('Live Support', $text, 'livesupport_menu');
?>

4. Upload this folder to /SITEROOT/e107_plugins/
5. Go to Admin->Content->Menus and activate "livesupport_menu"
6. Done!

[ Edited Tue Dec 04 2007, 09:49AM ]
Back to top
Tue Dec 04 2007, 10:15AM
Well, I tride this but still not working, well I don;t want to keep bothering you, I see now its not the theme so it's not really your problem, unless you have another quick possible solution Ill leave it be.

Thanks for all your help
Back to top
Tue Dec 04 2007, 11:54AM
The problem is with the javascript code in my previews post. There are some spaces in the url. I have tested this code and it works

I will send you an email with the code.
Back to top
Tue Dec 04 2007, 11:58AM
Check your mail !!!
Back to top
Tue Dec 04 2007, 06:38PM
Ok, I recieved the mail, thank you very much, that solved the mistory, however it is exactly the same as in what I did from your instructions from prior instuctions and I used TEXTPAD to crete the php file, but obviously somthing is differnt and it is now working perfectly.

Thanks again for all your help.
Peace
Back to top
Moderators: SonicE, veskoto, SecretR, Stoewarius, steved, McFly, Cameron, yanniiwanow
Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF

Jump:     Back to top