jimflack Posted February 25, 2009 Report Share Posted February 25, 2009 As an example - I have a page here at Bucks County Court Records - the current page code lets me easily show the right side drop down menu - that's great so far.But what code snippet do I have to add - and where - on the document page - to produce the top 'left hand side' 4 icons that are shown on the rest of the main site pages such as Bookmarks.php - eg the links and icons for home / search / print / login-out.Its probably just a $geronimo bit of code I know added in the head bit of the page - but I'm a real duffer with php so please bear with this old fart .The facility for some of my visitors to be able to bookmark (and maybe even print) the source documents is just as important (to me) as the ordinary people pages.Maybe Darrin could add the code to the document template some time in the future so people can 'uncomment' as required. - But this is here and now ..lol.So any help appreciated Quote Link to comment Share on other sites More sharing options...
Rush Posted February 25, 2009 Report Share Posted February 25, 2009 Hi Jim,You should be able to add this:echo tng_coreicons();and the icons and links should appear.Rush Quote Link to comment Share on other sites More sharing options...
jimflack Posted February 25, 2009 Author Report Share Posted February 25, 2009 Thanks a lot Rush - that's worked a treat. :-D Quote Link to comment Share on other sites More sharing options...
jimflack Posted February 25, 2009 Author Report Share Posted February 25, 2009 Thanks a lot Rush - that's worked a treat. Having said the new code works a treat (It does - and thanks again rush) one tiny bit of the newly produced code seems to be invalid (in my firefox validator).Its ok in W3C (so thats good) - but I use firefox .. lol and it gives me the following warning on page validation for 1 line of code:-"" <a > escaping malformed url reference ""The example page in question is This One .The code itself seems to be this:-<a href="java script:newwindow=window.open('/newtng/histories/tree607J_George_Hugh_William_Flack.php?tngprint=1','tngprint','width=850,height=600,status=no,resizable=yes,scrollbars=yes'); newwindow.focus();" onmouseover="window.status='Print';return true" onmouseout="window.status='';return true" title="Print" style="text-decoration:none">Is it a javascript produced thingy - and if so, could anyone direct me to the page in TNG its on - its probably just a space in the url - or something without "" quotes. I know its a piffling lil thing really - but it bugs me So any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.