Page 1 of 1

Bulletproof: entry footer format

Posted: Thu Jul 29, 2010 12:32 am
by evanslee
This is how my entry footer looks currently:

Code: Select all

Posted by Lee in Test at Tuesday, July 27. 2010 20:29 | Comments (0) | Edit entry 
Defined tags for this entry: cat1, cat2
| Delete
How can I make it look like this?

Code: Select all

Posted by Lee in Test at Tuesday, July 27. 2010 20:29 | Comments (0) | Edit entry | Delete
Defined tags for this entry: cat1, cat2
I cant find where the Delete option is in the code, and dont understand why it appears after the 'tags for the entry'?

Any point in the right direction is most welcome, thanks in advance

Regards,
Lee

Re: Bulletproof: entry footer format

Posted: Thu Jul 29, 2010 5:36 am
by Don Chambers
The file you are looking to edit is the smarty template entries.tpl. That file has 3 different entry footer options:
  • Below entry
  • Below entry title
  • split (part below title, part below the rest of the entry).
None of these has a link to delete the entry. The fact that you say it comes after the freetag categories leads me to think it is the output of an event plugin.

The edit entry link is the smarty value {$entry.link_edit} - I do not know if we have an equivalent of that to delete an entry.

Re: Bulletproof: entry footer format

Posted: Fri Jul 30, 2010 11:17 am
by evanslee
thanks for the reply, apols for my delayed reply

it was down to another event plugin, the one that adds the delete option for admins... i couldnt work out how to make it appear lower so just uninstalled the plugin in the end. I feel so defeated :shock:

Re: Bulletproof: entry footer format

Posted: Fri Jul 30, 2010 4:17 pm
by Don Chambers
Only way to get exact placement of that output would be to smartify the plugin emitting the delete link... the freetag plugin has that as an option. You could modify bulletproof's entries.tpl file to emit the freetag output after {$entry.add_footer}.

Re: Bulletproof: entry footer format

Posted: Fri Jul 30, 2010 4:20 pm
by evanslee
Thanks, will try it.