willie1992golf
Member
Posted 1 year ago #
Hi
I have a small site that I made for a client using a word press theme at http://www.saddlewerks.com
I am using NextGEN Gallery on the gallery page.
However if I activate the gallery to have the lightbox effects on the pictures then it stops the small gallery on the homepage from working.
Is there a way I can only have the Java for the homepage gallery on the homepage hopefully stopping the conflict.
Any help is appreciated
You should be able to have the home page use it's own custom template (front-page.php) and put the JavaScript into that template manually. That's what I did for the rollover script on that other site you saw. I only wanted that script on that page. IDK if there is a "built-in" way to exclude pages from getting the NextGen JavaScript, but I'm sure there are people who know how to make it happen. Check the plugin's settings. BTW there is a link to my web site in my profile. Good luck.
You could also use Conditional Tags so that you could load a different header.php for the home page, and put your script in there. I would also look for a simple way to exclude the NextGen code from the home page.
willie1992golf
Member
Posted 1 year ago #
I have tried using the Head Space plugin to put the Java for the homepage onto only the home page.
The site already has a custom front page template.
What I need to do though is block the Javascript from the nextGen plugin from inserting into the front page. As it seems to be this that is stopping the picture rotation on the home page.
Will do some searching to see if I can exclude nextGen scripts from homepage.
P.S I have sent you an e-mail via your site regarding what I mentioned on your other thread
I logged into a client's site which has NextGen and Poked around the settings. Unfortunately I didn't see any options to include or exclude particular pages. Seems like a good feature request. Lots of times you can contact the developer and they will add the feature for a small fee. If it's a good enough idea they may also include it in a future release.
willie1992golf
Member
Posted 1 year ago #
I couldn't see any option to include or exclude specific pages.
Good idea, I will fire a mail to the developer tomorrow.
knowyourhorse_org
Member
Posted 1 year ago #
I stumbled across this forum by accident. I am new to wordpress and programming in html and java. I am a school teacher that is using wordpress as a teacher at http://blog.esu11.org/dschaben/ and also as a way to help my wife find an outlet for her passion (horses . . . she is amazing with them and her outlet is knowyourhorse.org). The reason I stumbled across this post. . . I did a search for java + wordpress. My issue is with a mathematics program called geogebra. The problem with this is that this java applet maker doesn't seem to work with wordpress. I have been pasting the html for the applet of geogerba into my hosting account as a post in the html tag for posts at http://thehorseaddict.com/the-basic-circle-equation/ it seems to be not working (I created the horse addict as a way to test things live). This is my main hang up with wordpress and I will probably go with dreamweaver or some other WYSIWYG software to create the math curriculum I want to create, but if there is a way to correct this ( and I am sure there is) I will just upload wordpress into my server and start working on a new math curriculum.
knowyourhorse_org
Member
Posted 1 year ago #
willie1992golf - great site by the way and I hope your saddle repair goes well. I do not know much about english riding, but the site you have started in wordpress is pretty cool.
@knowyourhorse_org Unfortunately I think it would be tough to find an answer to your question since most of the people here probably have no idea what geogebra is or does. Also the wording of your request is difficult to understand.
I have been pasting the html for the applet of geogerba into my hosting account as a post in the html tag for posts
I don't know what that means.
Sorry, not being mean but your question on one hand is very specific and on the other hand is not very clear, and is not a WordPress question per se.
knowyourhorse_org
Member
Posted 1 year ago #
Wow you are fast. I agree. Not clear and not specific. . . don't worry about being mean. I am shooting in the dark and from the hip here.
Probably not the place for this post, but I see there are some issues when java is concerned. Probably should start my own thread. That is the problem with forums . . . they are not visual enough. But I think I have already found the answer I am looking for at this site . .
http://en.forums.wordpress.com/topic/embedding-a-geogebra-applet-in-wordpresscom.
Which means that I need to work with a "what you see is what your get platform" or bone up on my XHTML, php, and css I was hoping to avoid the witchcraft (html) and keep things simple with wordpress.
Thanks for the quick reply.
Keep in mind that there are a lot of things you can't do on wordpress.com for security reasons (like install plugins). If you have a self-hosted WordPress installation (from wordpress.org) it's a different set of rules.
I don't know exactly what you are trying to do. I work w/ JavaScript sometimes but not Java applets. There are ways to add JavaScript to your pages on a self-hosted site by editing the theme files.
knowyourhorse_org
Member
Posted 1 year ago #
Thanks for the info - It has given me a direction I need to go next. Building what I have envisioned may be harder than I thought, but at least I have a direction to go to get started.