Featured Content Gallery | WordPress Plugin | iePlexus

eDegree 1.1 - jQuery Placement

General WordPress and FCG plugin discussion

eDegree 1.1 - jQuery Placement

PostBy karypto on Thu Jan 06, 2011 9:59 am

Unable to see jQuery in WP editor. Nor can I access functions.js file on hardrive.
Last edited by karypto on Sun Jan 09, 2011 1:49 pm, edited 4 times in total.
karypto
 
Posts: 6
Joined: Thu Jan 06, 2011 9:52 am

Re: eDegree 1.1 - jQuery Placement

Thank you for using the Featured Content Gallery Forum
 

Re: FCG = Great Plugin for Non durk durroo durks (Please Help)

PostBy admin on Thu Jan 06, 2011 10:01 am

Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Reply

PostBy karypto on Thu Jan 06, 2011 5:14 pm

Not sure where to find code.
Last edited by karypto on Sun Jan 09, 2011 1:50 pm, edited 1 time in total.
karypto
 
Posts: 6
Joined: Thu Jan 06, 2011 9:52 am

Re: eDegree 1.1 - jQuery Placement

PostBy admin on Fri Jan 07, 2011 10:07 am

Theme Functions Code Below: where would I put the jQuery code?

what code and why do you need it?
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: eDegree 1.1 - jQuery Placement

PostBy karypto on Fri Jan 07, 2011 2:17 pm

I am trying to place //jQuery.noConflict(); into the eDegree theme. Currently I am not sure how to put it in via my C drive so I am using the editor.
Last edited by karypto on Sun Jan 09, 2011 1:50 pm, edited 2 times in total.
karypto
 
Posts: 6
Joined: Thu Jan 06, 2011 9:52 am

Re: eDegree 1.1 - jQuery Placement

PostBy admin on Fri Jan 07, 2011 2:59 pm

open file through wordpress theme editor
/wp-content/themes/edegree/js/functions.js
and comment this line, which is the first or second line in that file
Code: Select all
jQuery.noConflict();


like this

Code: Select all
   //jQuery.noConflict();
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: eDegree 1.1 - jQuery Placement

PostBy karypto on Fri Jan 07, 2011 3:38 pm

Ok, I am making progress. By using notepad I was able to change the second line item. The images still do not load (all plugins disabled and FCG has 3 images to upload), any thoughts?
________________________________________________________________________________________

/* <![CDATA[ */
//jQuery.noConflict();

jQuery(document).ready(function($){
//jQuery("#tabs").tabs();
$('#globalnav ul').superfish({
delay: 200,
speed: 'fast',
autoArrows: false
});

$("#sidebar h2 a").click(function () {
var itemlist = $(this).parents("li:first");
itemlist.toggleClass("side-switch");
itemlist.find("ul").slideToggle("fast");
return false;

});
});

function printCopyrightYears(startYear) {
if(!startYear)
var startYear=2009
var d=new Date();
yr=d.getFullYear();
if (yr!=startYear) {
document.write(startYear+"-"+yr);
} else {
document.write(startYear);
}
}

clearDefault = function(obj) {
if(obj.defaultValue == obj.value) obj.value = '';
}

restoreDefault = function(obj) {
if(obj.value == '') obj.value = obj.defaultValue;
}

function optformValidate(form) {
var error = '';
var filter = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
var objEmail = form.opt_email;

if(form.opt_name.value == '' || form.opt_name.value == form.opt_name.defaultValue) {
error += "Please enter your name\n";
form.opt_name.value = '';
form.opt_name.focus();
return false;
}
if(objEmail.value == '' || objEmail.value == objEmail.defaultValue) {
error += "Please enter your email\n";
objEmail.value= '';
objEmail.focus();
return false;

} else if(!filter.test(objEmail.value)) {
error += "Please enter a valid email\n";
objEmail.value = '';
objEmail.focus();
}

if(error != '') {
alert(error);
return false;
} else {
return true;
}
}
/* ]]> */
________________________________________________________________________________________

And for those reading this post with the same issue. Find wordpress on your hardrive then find the theme, I use eDegree ... if you can not find it download the theme and follow all the instructions. When you find the .js file, right click on it and click open with. Find notepad, and make the change before saving.
karypto
 
Posts: 6
Joined: Thu Jan 06, 2011 9:52 am

Re: eDegree 1.1 - jQuery Placement

PostBy karypto on Sun Jan 09, 2011 1:43 pm

<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>

below
Attachments
header.JPG
header.JPG (158.7 KiB) Viewed 1682 times
karypto
 
Posts: 6
Joined: Thu Jan 06, 2011 9:52 am

Re: eDegree 1.1 - jQuery Placement

PostBy karypto on Sun Jan 09, 2011 1:44 pm

<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>

below
Attachments
header.JPG
header.JPG (158.7 KiB) Viewed 1683 times
karypto
 
Posts: 6
Joined: Thu Jan 06, 2011 9:52 am

Re: eDegree 1.1 - jQuery Placement

PostBy admin on Mon Jan 10, 2011 9:51 am

there is no fcg on the site anymore...
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Next

Return to General Discussion

Who is online

Users browsing this forum: dolariru and 2 guests