Results 1 to 3 of 3

Thread: Extra tag gets automatically inserted

  1. #1
    Join Date
    Jan 2009
    Posts
    125

    unsure Extra tag gets automatically inserted

    Hey Guys,

    I'm trying to edit my site, and as soon as i save and try to close everything, the next time when i open the site to edit it shows me an extra tag. I don't understand but an extra tag gets automatically inserted, with an extra <head> tag, showing me with two top shared borders. If i try to delete the second <head> tag, then my content gets automatically deleted. Can any one tell me why i'm having such problem? Does any one have any idea what can i do to get rid of this problem? Any kind of help would be appreciated.

    Thanks.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Extra tag gets automatically inserted

    The excellent AdSense module does most of the heavy lifting. Obviously, this requires that the AdSense module be installed, enabled, and configured correctly.

    The site administrator has the following options:

    • Enable/disable insertion globally.
    • Select Ad format, channel, and group (as defined by AdSense module).
    • Edit template string for insertion - insert Adsense module tags, before or after body or teaser.
    • This could be enhanced later to use templates or regular expression replacement capabilities.
    • Enable or disable insertion for individual node type(s).
    • NEW: set minimum node body "word count" threshold, below which the inline ads will not be inserted. This uses the same technique used by Drupal's node.module for minimum word count when submitting nodes (it just counts things separated by spaces, and doesn't adjust the count for HTML tags or any other markup). The module will insert HTML comments to help you see the word counts and limits (in case you think you should see an ad, but don't, or vice versa.) This limit is 'global' to all node types, but could be enhanced later to allow setting it on a per type basis.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Extra tag gets automatically inserted

    The maximum number of consecutive non-space characters permitted in channel info now seems to be 29. What seems to have gone wrong is that line breaks are not being counted as breaks between words. So when you press [Enter] to get a new line the HTML <br> tag is inserted in the actual page source, resulting in something like this:

    My videos are anti-establishment.<br>Whether or not you agree.

    But "anti-establishment.<br>Whether" would be counted as one too-long word and have a space inserted in it.

    It's also worth noting that if you press enter twice to give a blank line between paragraphs, you would have something like:

    "anti-establishment.<br><br>Whether" - an even longer 'word'.

    Hope this helps you

Similar Threads

  1. Replies: 3
    Last Post: 10-03-2012, 05:55 AM
  2. PC restarts when DVD/CD is inserted in the drive
    By Rafaeel in forum Hardware Peripherals
    Replies: 5
    Last Post: 22-12-2009, 04:54 PM
  3. Windows Media Center automatically starts the inserted DVD
    By Abel18 in forum Operating Systems
    Replies: 5
    Last Post: 19-12-2009, 10:05 PM
  4. D:\ Application not found for and CD inserted
    By Dave English in forum Vista Help
    Replies: 6
    Last Post: 10-05-2009, 11:30 PM
  5. Keep a CD inserted automatically runs
    By TheGreatOne in forum Tips & Tweaks
    Replies: 0
    Last Post: 05-01-2009, 11:43 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,639,439.41928 seconds with 17 queries