#1
  1. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Sep 2012
    Location
    WA
    Posts
    81
    Rep Power
    11

    Coding dilemma please help


    First click over to my site at www.godsfellowship.org. Notice that it is a blogger site hosted by our beloved Google. On my site , upfront and center, is the Chat box which I moved there per Google helper suggestion, because they said that at first glance, the purpose of my site was not evident.

    So I moved it from its own page onto the Home page.

    But my site is not JUST a chat site, it's also a blog site and a forum.

    Now if you would, click through the menu and notice that the chat box now shows up on every page just like all the other gadget boxes on the page.

    I need a code that I can use that is html, that will work with the flash applet chat code, and limit that chat box gadget from showing up on every single page.

    I only want it to show up on the Home/main page.

    I trust that there is a method of making that Gadget only show up on the main page, and keep the iframed chat code still working.

    Can anyone with expert coding experience, help me to come up with an answer to my dilemma?

    DS
  2. #2
  3. A Developers Perspective
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Aug 2012
    Location
    Nottingham, UK
    Posts
    219
    Rep Power
    268
    unfortunately i dont have time to be going through all of your site looking for the problem.

    What i would suggest upon an initial glance is using php so that you can get the current path used by that page.

    For example
    $path = $_SERVER['PHP_SELF'];
    $file = basename($path, ".php");
    if ($file == 'index') {
    *Include chat box here* }
    else {
    *continue without chat box*}

    That will break down the filename and if the home page is called index.php it will display the chat box when that page is called. for any other page it will just skip that command.

    hope this can be migrated to your example
    If you are new to SEO please read these, On-Page Optimisation and Meta data before asking questions.

    Or if you would just like to view my website: http://www.cwhittaker.com, State SEOCHAT for 10% off custom websites
  4. #3
  5. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Sep 2012
    Location
    WA
    Posts
    81
    Rep Power
    11
    Originally Posted by ChillDot
    unfortunately i dont have time to be going through all of your site looking for the problem.

    What i would suggest upon an initial glance is using php so that you can get the current path used by that page.

    For example
    $path = $_SERVER['PHP_SELF'];
    $file = basename($path, ".php");
    if ($file == 'index') {
    *Include chat box here* }
    else {
    *continue without chat box*}

    That will break down the filename and if the home page is called index.php it will display the chat box when that page is called. for any other page it will just skip that command.

    hope this can be migrated to your example
    Thank you for your swift reply to my issue. I will try anything.

    DS
  6. #4
  7. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Sep 2012
    Location
    WA
    Posts
    81
    Rep Power
    11
    Originally Posted by DeeperStill
    Thank you for your swift reply to my issue. I will try anything.

    DS
    Sadly, that did not work. Thanks for trying though.

    Kind Regards

    DS

Similar Threads

  1. Coding Prob, need for help. Thanks
    By zahir in forum Google Optimization
    Replies: 2
    Last Post: Jan 16th, 2007, 03:38 AM
  2. MSN and good coding
    By Jef Patat in forum BING/Yahoo Search Optimization
    Replies: 25
    Last Post: Mar 6th, 2005, 02:17 PM
  3. Need Html coding help for exit windows
    By ravenbo in forum Web Design, Coding and Programming
    Replies: 2
    Last Post: Oct 14th, 2004, 01:07 AM
  4. Need help with html coding
    By ravenbo in forum SEO Help (General Chat)
    Replies: 1
    Last Post: Oct 11th, 2004, 11:51 AM

IMN logo majestic logo threadwatch logo seochat tools logo