Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Missing register button and Login button does nothing??
Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 15, 2012 - 6:29 am

Thanks Yellowfish, yes, prettyphoto is just one of the scripts that isn't working and I have used prettyphoto many times without issue.

I am using Chrome as gave I gave up on firefox as it just became very slow. Chrome has an equivalent to firebug built in and this is what the error console returned:

Uncaught TypeError: Property '$' of object [object Window] is not a function custom.js:3
Uncaught TypeError: Property '$' of object [object Window] is not a function tabs.js:1
Uncaught TypeError: Property '$' of object [object Window] is not a function :8888/silverhairs/:207 (this is the flexislider script at line 207)

(Tested on a local version hence the :8888/silverhairs/)

Do you think this is a conflict issue? Should I change the above to use the jQuery noConflict?

You will see from an earlier post I got the flexislider to work using the noConflict script but this worked only for this single script as it isn't included in the custom.js file

Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 15, 2012 - 10:14 am

Yellow Swordfish, you are my new best friend!

Why I didn't think of using the error console before, I guess I couldn't see the wood for the trees! Well on my way to fixing it all now using noConflict on the scripts showing up in the error console.

smilesmilesmile

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 15, 2012 - 10:31 am

let us know how you make out...

Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 15, 2012 - 10:35 am

OK, was about to start pulling my hair out... The forum jquery has stopped functioning, no drop down on login etc... AND nothing showing up in the error console to suggest why! 

Then I reverted to the original replacing...

//wp_deregister_script('jquery');
//wp_register_script('jquery', ''.get_template_directory_uri().'/scripts/js/jquery.min.js', 'jquery');
wp_enqueue_script( 'jquery' );

//wp_register_script('jqueryui', ''.get_template_directory_uri().'/scripts/js/jquery-ui.min.js', 'jquery');
wp_enqueue_script( 'jqueryui' );
 
with...

wp_deregister_script('jquery');
wp_register_script('jquery', ''.get_template_directory_uri().'/scripts/js/jquery.min.js', 'jquery');
wp_enqueue_script( 'jquery' );

wp_register_script('jqueryui', ''.get_template_directory_uri().'/scripts/js/jquery-ui.min.js', 'jquery');
wp_enqueue_script( 'jqueryui' );

 

and we are back in business, everything appears to be working now. As you say a "methodical manner", and keep trying! Thanks again for the great support.

Will let you know when the site goes live (hopefully this weekend) Might be a nice example for your Showcase.

Simon.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 15, 2012 - 10:49 am

looking forward to it... and it just happens we are in the process of converting our showcase site over to new SP 5 sites...

Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 15, 2012 - 11:05 am

Fingers crossed for a smooth transition for you!

Will let you know when Silverhairs is up and running, I have just got to make my own simple-press theme as per Yellow swordfishes suggestion to avoid any loss when updating, albeit this will have to wait until after I push the site live as I want to have a good play locally first!

Again thanks for the great support.

Simon.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 15, 2012 - 11:35 am

Consider them crossed!

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626