Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

<script> & <div> Code in Site Banners with TinyMCE?

Since I cannot get any of the Drop Down Menu Infusions here to work for my new PHP-Fusion site (running the newest version of PHP-Fusion 9, I am trying to create my own drop down menu. It requires just a couple lines of code. I went to add it to the Site Banners and I have TinyMCE enabled but when I add the code, it gets removed and my menu does not show. I recall having this issue before but do not remember exactly what fixed it. How can I add this code: <script type='text/javascript' src='//Menu16.com/U/FAB582CC/1/IllusiveReviewsMenu.js?h=B279'></script><div id='IllusiveReviewsMenu'></div> to my Site Banners so my drop down menu will appear without disabling TinyMCE? I need TinyMCE but I also need the code to work in the Site Banners because my navigation menu is long and not very appealing.

Also, is there an alternative to TinyMCE for PHP-Fusion 9 yet that works since TinyMCE is so fussy about stuff?

If you could please write the code exactly as it should be pasted in, to work, that would be extremely helpful. All help is appreciated very much!
Go to Settings > Security > Allow PHP Execution - Yes.

Will it work?

Quote

Go to Settings > Security > Allow PHP Execution - Yes.

Will it work?


Thanks for the help, but no it did not work. Now should I be pasting this code as Source Code? Keep in mind, I do have TinyMCE enabled and I do use it and need it. After I saved the code and go back, the only thing left from the code: <script type="text/javascript" src="//Menu16.com/U/FAB582CC/1/IllusiveReviewsMenu.js?h=C408"></script>
<div id="IllusiveReviewsMenu"></div> is this: <div id="IllusiveReviewsMenu"> </div>

Any other ideas? I recall one time someone told me to echo the code but I forget how to do that, can someone please remind me?
Not sure related here but, V9 own Menu has already a Drop Down. Why would you need to go for an infusion one?

There are 2 ways extras you can do it.

1. Open up your theme.php, run the code there inside render_page() {}
2. Use Panels.

Coding:
Script tags are always to the footer with add_to_footer("<script src=""></script>");

In panels, which you can configure to place it to display on Upper section

<?php
echo "Hello World!";
?>

is accepted only if your allow php execution. It doesn't matter whether TinyMCE is on or off. TinyMCE does not affect code storage. It saves the same as common textarea input.
I was not aware PHP-Fusion 9 had a built in drop down menu. Exactly where is this located? I cannot seem to find a drop down menu in PHP-Fusion 9. Can you pleas elaborate and let me know how to enable it and use it since it exists? I will not use an external menu or infusion if one is already built in.
Thread Information
Replies
5 posts
Views
150 times
Last Post
Last updated on 29 days ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Chan, SkeeredOfMyMind