• b2evo
  • Front Page
  • Contact
  • Login
  • reset page

Far Fields

  • Andromeda ¦ First Contact
  • Blush ¦ Private
  • Dad ¦ Private
  • Vyaj ¦ Immigration & Asylum Cases

Near Fields

  • My Bits
  • Behind the Sceanic
  • vOw ¦ Vegan Organic Wholefood

Old Fields

  • 1996 Site
  • Old Search Site

Blogs

  • b2Evo ¦ Blog techie stuff
  • eLf ¦ Updates on the land
  • blInk ¦ Some useless links
  • spAce ¦ Thoughts on being
  • j&j ¦ Prospectors of Kern
  • av0id ¦ How I Got Here

Search Widget: <title> addition

April 13th, 2013

Versions 4.1.4 to 4.1.6

I noticed form a validation check that there was a WCAG 2.0 error.

H65: Using the title attribute to identify form controls when the label element cannot be used

In this case I added title="Enter text to search for" to line 135
of file [../blog/inc/widgets/widgets/_coll_search_form.widget.php]
@version $Id: _coll_search_form.widget.php 9 2011-10-24 22:32:00Z fplanque $

  roger
 


My Tags Plugin

August 9th, 2010

Works on v2.4.7 and v4.1.6
Details on my mod to Quick Tags plug-in.

I have added a fourth <div> as follows:
1. Open _mytags.plugin.php and edit
2. In function GetDefaultSettings() copy existing div code, that starts as follows and changing div numbers. Do not change ['rows' => 4]

'moretags_div1' => array(

3. In function SkinBeginHtmlHead() copy code for div starting as follows, and change numbers to suit step 2 above.

if ( $this->Settings->get('moretags_div1') != '' )

4. In function AnotherButton(id, display, tagClass, tagStart, tagEnd, tit, open)
copy code for new button, as follows and again change div number to suit above. The 'd1' is the button label(text) and can be anything. I have used 'Cl' on a button to {clear:both} and 'dL' for a <div> that has {float:left} in it's CSS class.

MoreButtons[MoreButtons.length] = new AnotherButton(
'mtb_div1','d1','divs leftgap','

5. Then edit the plug-in via management ~ pluin installed ~ MyTags to create the style wanted.

OK All the above was unnecessary. clearboth is already a class in rsc/css/basic.css and I made two more classes to replace the divs made above; post_fll and post_flr (post detail float left and ditto float right). So the divs can be used for something else. Well at least they are implimented and the css of each cna be easily changed.

  roger
 


<< 1 ... 44 45 46 ...47 ...48 49 50 ...51 ...52 53 54 ... 67 >>
  •  Paged Index of 133 Posts

  • Last nineteen

    • Add html figure tag
    • Validation 7.2.5
    • elfgifs_plugin
    • Add sub text button
    • [autocorrect] validation
    • Versions & Database
    • Math Terms & Plugin
    • My Search Hack
    • figure tag
    • evobar toolbar
    • Front Page Collections #
    • Move to a new line using CSS not <br />
    • Version 6.10.6 & php 7
    • Stuck on Version 6.10.5
    • Limit Login Attempts
    • 6.10.5
    • Add Number to Comment
    • 6.10.4
    • v 6.10.*
  • Search


Valid HTML 5.0    ubuntu link    duckduckgo link    b2evolution link    firefox link    Creative Commons Licence    Valid CSS!