• 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

User selects number of posts to view

January 7th, 2015

Made use of Free HTML widget and placed at top of #sidebar. Also added a link to view all posts. The maximum number of posts per page displayed by the later is set in [/skins/_postidx.disp.php]
Line 28: 'limit' => 57,

Code

<form id="nOp" action="https://calstock.org.uk/elf.php">
<div>
<label>1 to 19 </label>
<input type="hidden" id="disp" name="disp" value="posts" />
<input type="number" style="width:3em" id="posts" name="posts" type="text" size="1" value="" min="1" max="19" />
<input type="submit" value="Go" />
</div>
</form><br />
<a href="https://calstock.org.uk/elf.php?disp=postidx">View Index of All Plots</a>

In [/inc/_core/_.template.funcsphp] changed tile to Plot Index
Line 389: 'postidx_text' => T_('Plot Index'),

  roger
 


Printer Friendly Layout

January 3rd, 2015

1. make new skin [Print] with

  1. index.main.php : The index page is simplified to show only the post and code from _item_block.inc.php has been edited to remove unwanted calls and inserted rather than calling via php
  2. _skin.class.php : just modified to be recognised
  3. style.css and print.css: Still being worked on to get better formatting


2. Insert in /skin/myskin/single.main.php
[Print] link with this code.
echo'<a href="http://' .$_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI'] . '?tempskin=print" target="_blank"> <img class="print_icon" src="../../rsc/icons/print_icon.png" alt="print" title="print" />   Printer Friendly Layout  </a>   '


index.main needs two links to a stylesheet. (they could be the same file)
1. media="screen"
2. media="print"

For updates see http://forums.b2evolution.net/printer-friendly-layout

  roger
 


<< 1 ... 23 24 25 ...26 ...27 28 29 ...30 ...31 32 33 ... 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!