• ledoberman4fun

    (@ledoberman4fun)


    Hi, thanks for a plugin ??

    on page /templates/dataset.php, I have this code:

    <?php
    /**
    Template page for single dataset
    
    The following variables are usable:
    
    	$dataset: contains all data of the dataset
    	$backurl: contains the url back to the overview page
    
    	You can check the content of a variable when you insert the tag <?php var_dump($variable) ?>
    */
    ?>
    <?php if ( $backurl ) : ?>
    <p><a href='<?php echo $backurl ?>'><?php _e('Back to list', 'projectmanager') ?></a></p>
    <?php endif; ?>
    
    <?php if ( $dataset ) : ?>
    <fieldset class='dataset'><legend><?php printf(__( 'Details of %s', 'projectmanager' ), $dataset->name) ?></legend>
    	<?php if ( $dataset->image != '' ) : ?>
    	<div class='image'><img src='<?php echo $dataset->imgURL ?>' title='<?php echo $dataset->name ?>' alt='<?php echo $dataset->name ?>' /></div>
    	<?php endif; ?>
    	<dl><?php $projectmanager->printDatasetMetaData( $dataset, array('output' => 'dl', 'show_all' => true) ) ?></dl>
    </fieldset>
    <?php endif; ?>

    I would like to insert a replacement link back to list, a select option lists the total players (data), how is that possible please?

    thank you very much !

    https://www.ads-software.com/plugins/projectmanager/

Viewing 1 replies (of 1 total)
  • Plugin Author K

    (@koelle)

    Hi,

    in version 3.1.3 I added a function to generate a dropdown menu of all datasets in one project. You can find an example in templates/dataset.php.
    Hope that helps

Viewing 1 replies (of 1 total)
  • The topic ‘template/dataset.php’ is closed to new replies.