WordPress.org

Ready to get started?Download WordPress

Forums

DB Toolkit
Enabling custom template prevents link from working (2 posts)

  1. Shanhua
    Member
    Posted 1 year ago #

    I've got DB Toolkit working for an employee database. Names are linked in a list of employees, and clicking on the link takes you to that employee's individual page.

    So far, so good.

    But, when I try to customize the list template (by checking the Enable box: Set this interface to use custom list templates) and enter the following code in the row content box, save, and then bring up the list page, I get a 404 error when I click on an employee's name in the list.

    <div style="float:left;">
    {{first_name}} {{last_name}}, {{position}} ({{location}})
    </div><div style="clear:left;"></div>

    When I uncheck the Enable box, the links work again -- but then the page looks terrible?!

    Anyone else come across this problem and perhaps have a solution?

    Thanks!

    http://wordpress.org/extend/plugins/db-toolkit/

  2. Shanhua
    Member
    Posted 1 year ago #

    Sorry -- this is the full code that I'm using!

    <div style="float:left;">
    <a href="{{_ViewLink}}">{{first_name}} {{last_name}}</a>, {{position}} ({{location}})
    </div><div style="clear:left;"></div>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic