• Resolved mfal55

    (@mfal55)


    Hi there,
    I’m wondering if there’s anyone else having the same problem as I am. I can’t seem to find another thread on this. I’m having some trouble with custom templates in Connections plugin version 0.7.1.3.

    I’ve created the folder, connections_templates and copied one of the existing templates into the folder, labeled bios.php. My shortcode reads: [connections_list order_by=’last_name|SORT_ASC’ template=’bios’] and I get an error which reads: ERROR: Template “bios” not found.

    I also tried the shortcode without “_list” after connections and without the sort order code and I still get the same error.

    My connections_templates folder is placed within the wp-content as described in the instructions.

    Any thoughts as to what I’m doing wrong?

    Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    If you copied just a php file, use this:

    [connections order_by='last_name|SORT_ASC' template_name='bios']

    Thread Starter mfal55

    (@mfal55)

    That did the trick! It works now. Thank you so very much!

    This probably isn’t the appropriate place where I should mention this, but I think the helpdesk form on the connections-pro website isn’t working and I wanted to inform you of something that doesn’t seem to be working. I wanted to note that the individual Remove buttons aren’t working correctly. If I click remove any of the entry items and then click update, it doesn’t actually remove the item. It is still there when I enter into edit mode again and still on the site. The work around I figured out is by adding another blank of the same entry and then clicking the remove button, then update. Thought you would want to know that.

    Also, any chance you’re making a version with all the inline styles and br tags stripped out? I’m finding it difficult to style without having to adjust the class.output.php file, which I fear will just get overwritten when upgraded. I’ve had to remove inline styles, br tags and pull in colons, etc into spans and divs that are outside so that I can style the output the way I need it. It would be wonderful it if all just used divs and spans and no other kind of formatting.

    Thanks for the great tool – I look forward to seeing future versions of it. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Connections Custom Template’ is closed to new replies.