Link in wrong place
#1
I've almost finished my password generator plugin, but I have one problem.

The link to the page is displayed way up in the header and the new reply indicators are also repeated.

Here's the code for this area:

    find_replace_templatesets(
        'index', '#'.preg_quote('{$forums}').'#', {\$generator_link}\n{\$forums}" );

And,

function password_generator_index() {
    global $templates;
    $generator_link='<p><a href="misc.php?action=password_generator_view">Password Generator</a></p>';
    $index_page = eval($templates->render('index'));
    output_page( $index_page );
}

How do I get it to display right below the navigation pane, but above the forum lists?
Do NOT pm me for support on ANY of my plugins
DO pm me if you got suggestions for existing ones (although posting in the proper thread is preferred), or suggestions/ideas for new plugins (keep in mind I'm an amateur but not necessarily a beginner.)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)