Bulletproof: entry footer format

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
evanslee
Regular
Posts: 28
Joined: Tue Jul 27, 2010 3:21 pm

Bulletproof: entry footer format

Post 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
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Bulletproof: entry footer format

Post 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.
=Don=
evanslee
Regular
Posts: 28
Joined: Tue Jul 27, 2010 3:21 pm

Re: Bulletproof: entry footer format

Post 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:
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Bulletproof: entry footer format

Post 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}.
=Don=
evanslee
Regular
Posts: 28
Joined: Tue Jul 27, 2010 3:21 pm

Re: Bulletproof: entry footer format

Post by evanslee »

Thanks, will try it.
Post Reply