PDA

View Full Version : Need help. That was HOT! blog site


athlon24
10-21-2008, 06:53 PM
the last time I asked for help in my blog site is about its domain name. The first thing that was checked is its appropriateness of its niche. I decided to go into a technological buzz and some scientific trends as my niche. I'm not yet in the monetization process but I'm in the design part so any help is much appreciated.

That was HOT! (http://thatwashot.com) - The hottest trends in technology, lifestyle and more.

Is my tagline ok? Just decided it to be like that but I am open for anything.

sarahG
10-21-2008, 07:18 PM
Your tagline sounds fine to me. Although looking on your site you need to move the JavaScripts from below the closing html tag to above it to avoid the errors that are cropping up :)

navjotjsingh
10-21-2008, 07:28 PM
Which hosting are you using for your blog since when I first opened your blog now, it said Error Establishing a database connection and thereafter it loaded but a bit slowly. You should check for anything that may slow down the site.

ANd now it says: MySQL server has gone away on line: 501

athlon24
10-22-2008, 02:15 AM
As of now, I am just using free web host. I am planning to move to site to a paid host when everything is ok and working already. I want to cut down budget as of now.

I am now using the evolution theme of BT but I am having the same problem with my previous theme. When you go to my archives page, the thickbox are disoriented. I am using SRG Clean Archives to display my archives.

sarahG
10-22-2008, 08:07 AM
As explained when you mentioned the problem before, your plugin is clashing with the scripts already in place and your jQuery will not run. If you want to remove the need for the jQuery then go through this thread (http://www.bloggingtips.com/forums/showthread.php?t=428) to find out which markup to edit by hand and then you can remove the jQuery and the call to the theme.js file.

Otherwise explain to us what your Clean Archives plugin does and maybe we can suggest a solution that won't conflict with jQuery.

athlon24
10-22-2008, 11:35 AM
to be honest I don't have any idea what my plugin is doing. I don't have much knowledge with js. What I know is that, the plugin creates a list of of posts that the user can make it expand and collapse by month. And I can't get the process of having duplicate query because I looked on the source code of plugin, I can't see the jquery call. If I pasted the source code of the plugin here? Will it help?

sarahG
10-23-2008, 07:50 AM
The plugin uses a different javascript framework, and that's what's causing your jquery to stop working.

You could try the following to see if it fixes the issue

1. In your header.php file remove the script call to jQuery and insert

<?php wp_enqueue_script('jquery');

2. Move the theme.js file script call down to below wp_head().

3. In the theme.js file change the first line of code (the document ready line) to be

jQuery(document).ready(function($) {

If you look in the other thread I linked to you can see that being explained there.

That may fix the issue as you're making the theme.js file use jQuery and not conflict with anything else. Give it a try and see :)

athlon24
10-23-2008, 08:01 AM
Sarah, your back. I've been waiting for you. Thanks your here again. Is this the line calling the jquery in my header.php. So you mean, I will remove this line?

<script src="<?php bloginfo('template_url'); ?>/js/jquery-1.2.6.pack.js" type="text/javascript"></script>

and this is the theme.js line that I need to transfer below wp_head()?

<script src="<?php bloginfo('template_url'); ?>/js/theme.js" type="text/javascript"></script>

lastly, I don't know where's my theme.js file? It's not in wp theme editor.

Thanks

sarahG
10-23-2008, 08:16 AM
Sorry, had meetings and college for the rest of yesterday :) more meetings today too :(

You're right in the code above. Yes remove the first line and replace with the wp_enqueue_script tag as above. The second line needs moving to below wp_head().

The theme.js file should be found at

/wp-content/themes/bt-evolution/js/theme.js

athlon24
10-23-2008, 08:34 AM
Oh, it's ok.. there's nothing to say sorry about. You've been a great help until now and I hope I won't abuse you much in my ignorance. :)

@sarah, i've implemented what you suggested but I think, it did not work quite well. the background was now gone. That is usually happening only in the archives page. But now, its all the same all through out. :(

kocharvimal
10-23-2008, 09:11 AM
How about trying:- That is not then What's Hot??

athlon24
10-23-2008, 09:54 AM
@kocharvimal huh? What are you talking about?

sarahG
10-23-2008, 11:37 AM
You appear to have added an additional curly bracket to your script file

http://thatwashot.com/wp-content/themes/bt-evolution/evolution/js/theme.js

See the one above the first line of code? Remove that as it's causing an error.

athlon24
10-23-2008, 12:07 PM
@sarah. that worked like a charm. marvelously great. I owe you much. :D

Maybe I can start now coming up with post.