Maybe you noticed the dive overview on the right side of my webpage. I made a wordpress widget for phpDivinglog.
This widget uses the information which is generated in divesummary.php.
Example:
The widget can be downloaded from: http://rob.lensen.nu/devdoc/phpdivinglogwidget.tar.gz
Install the widget into: wp-content/plugins/widgets and activate it via Plugins
I changed divesummary.tpl to this:
{if isset($no_id) } ERROR no user id set! {else}Duiklog{$stats_totaldives} {$DivedateMaxNr}
{$stats_totaltime} {$total_abt} {$stats_totaltime_units}
{$stats_divedatemax} {$LastEntryTime} {$DivedateMax} {if isset($LastDiveID)} {$LastDivePlace} {/if} {if $LastCity != ''} {$LastCity} {/if} {if $LastCountry != ''} {$LastCountry} {/if} [{if isset($multiuser_id)} title="{$dlog_number_title}{$DivedateMaxNr}" style="color: #FFEDD6">{$DivedateMaxNr} {else} title="{$dlog_number_title}{$DivedateMaxNr}" style="color: #FFEDD6">{$DivedateMaxNr} {/if}] {* Get the certification details *} {if isset($count)}
{$cert_brevet} {* Show dive certification titles *} {* Loop through the array *} {section name=cell_data loop=$cells } {$cells[cell_data].brevet} {/section} {/if} {* include file='links_sum.tpl' *} {* include file='app_info.tpl' *} {/if}
You can view the development via: SVN
Geef een reactie