Forum Replies Created

Viewing 15 replies - 286 through 300 (of 312 total)
  • Thread Starter dsb0328

    (@dsb0328)

    Hello? Anyone have any ideas please?

    Thread Starter dsb0328

    (@dsb0328)

    Apparently putting Plugin:FancyBox in brackets doesn’t make it a bold header like I’ve seen. Guess I don’t know how to do that and hope it doesn’t hurt.

    Thread Starter dsb0328

    (@dsb0328)

    Also notice that it pushes the slider down, which has a dark grey top border on it, into an area that is white when the font color is white as well. Then you can’t even see the menu item.

    Anyone out there with help?

    Thread Starter dsb0328

    (@dsb0328)

    Guess I should have also mentioned that I would like the menu to either slightly shrink a little until it goes into button mode or just go straight into button mode.

    Thanks in advance for any help.

    Thread Starter dsb0328

    (@dsb0328)

    Okay, thanks for your response. That will make me sleep a little better when I decide to delete that folder. Just thought it was weird that the login window to the old folder still showed up after the migration.

    Thread Starter dsb0328

    (@dsb0328)

    I made a new folder on my server, let’s say it’s called “dev”, and then made that into a subdomain. (dev.myserver.com) I installed WordPress in it and built a new site. While I was building the site, I realized that I did not want public access to it, so I put a password protection on the folder (dev) through my cPanel. That way you had to log in when you went to the address. When I went to export the database, I didn’t turn the password protection off. Make sense?

    Thread Starter dsb0328

    (@dsb0328)

    Thanks for the reply Grimpond. I should have replied to this earlier, but I actually had to delete the plugin, like you said, and re-export the database and then transfer all of the files over again. That seemed to do the trick. Bottom line, I guess I’ll stay away from this plugin in the future.

    Thread Starter dsb0328

    (@dsb0328)

    Figured it out. I created another post and got some people help out. Here’s the link to that post:

    https://wordpress.org/support/topic/add-javascript-1?replies=30

    Thanks to everyone here for that help as well!

    Forum: Fixing WordPress
    In reply to: Add Javascript?
    Thread Starter dsb0328

    (@dsb0328)

    Awesome. Thanks a lot for your help. A friend of mine had questioned that part of the code. You have been a life saver.

    By the way, I asked the owner to try out the login form and he said it worked perfectly.

    Forum: Fixing WordPress
    In reply to: Add Javascript?
    Thread Starter dsb0328

    (@dsb0328)

    One last thing. Should I close the php code with ?> or leave it the way it is?

    Forum: Fixing WordPress
    In reply to: Add Javascript?
    Thread Starter dsb0328

    (@dsb0328)

    By golly, that did it! 🙂 Now I just have to get with the client, who wrote the original Javascript code, and see what they want to do about that. It has been working so far for them on their original site for some time, so I don’t know why it wouldn’t work now. But we’ll see.

    Thanks a ton for all of your efforts. I will also now go to your links and learn more about Javascript.

    Forum: Fixing WordPress
    In reply to: Add Javascript?
    Thread Starter dsb0328

    (@dsb0328)

    Thanks Brian. No offense taken at all about the places to learn Javascript. I have just never needed to learn it until now, and I am grateful for your suggestions.

    But first, I’m going to try what you said now. Just so I’m clear, I should remove the <script> tags from the clientlogin.js file and add your new code after my existing code, correct? (and, according to you, I may need to rewrite some things in it later for it to work correctly.)

    Also, yes, I copied the functions.php from my regular theme to my child theme and added the code to the end of it. I had a feeling I should start fresh, like a new css file. So I will do that. I noticed you changed a few more areas to ‘clientlogin’. I had a hunch that was wrong on my end. Should I also change the “your_childtheme_name_scripts” to “twentyten-child_scripts” since that is the name of my child theme folder?

    Thanks so much. Maybe I should have mentioned that this was going to be a “Javascript/Wordpress for Dummies” question.

    Forum: Fixing WordPress
    In reply to: Add Javascript?
    Thread Starter dsb0328

    (@dsb0328)

    And I tried bot true and false in the functions.php code.

    Forum: Fixing WordPress
    In reply to: Add Javascript?
    Thread Starter dsb0328

    (@dsb0328)

    Oh, and the Javascript file is call clientlogin.js.

    Here’s that link to the source code again as an actual link, I hope:

    view-source:http://www.integra-group.com/login.aspx

    Forum: Fixing WordPress
    In reply to: Add Javascript?
    Thread Starter dsb0328

    (@dsb0328)

    Okay, so I’ve run into a problem.

    I made a Javascript file and uploaded it into a js folder in my child theme folder. It consisted of this:

    <script Language=”JavaScript”>

    function validateemail(sEmailAdd){

    if (sEmailAdd == “”)

    {

    alert(“Please enter your email address and try again.”);

    document.frmLogin.txtusername.focus();

    return false;

    }

    else

    {

    return true;

    //var sFeatures = “top=” + ((screen.height / 2) – 300) + “,left=” + ((screen.width / 2) – 400) + “,height=550,width=750,status=yes,toolbar=yes,location=yes,resizable=yes,directories=no,scrollbars=yes”;

    //window.open(“http://www.integra-group.com/timetrax/content/fmeTimeTrax.asp?Email=&#8221; + sEmailAdd,””,sFeatures);

    }

    }

    function CheckFields(frm) {

    if (frm.txtusername.value == “”) {

    alert(“Please enter your email address and try again.”);

    return false;

    }

    return true;

    }

    </script>

    Here’s what I added to the functions.php file at the very bottom and uploaded to my child theme folder:

    //Register Scripts
    function theme_global_script() {
    wp_enqueue_script(“global-script”, get_template_directory_uri().”/js/clientlogin.js”, array(‘jquery’), false);
    }
    add_action( ‘wp_enqueue_scripts’, ‘theme_global_script’ );

    Then I checked the site and got this message:

    Fatal error: Cannot redeclare twentyten_page_menu_args() (previously declared in /home/content/s/w/i/swiz5716/html/wptest/wp-content/themes/twentyten-child/functions.php:248) in /home/content/s/w/i/swiz5716/html/wptest/wp-content/themes/twentyten/functions.php on line 252

    Here’s a link to the original code on the website, if it helps:

    view-source:http://www.integra-group.com/login.aspx

    I know I’m doing something wrong, but what I do not know.

Viewing 15 replies - 286 through 300 (of 312 total)