The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to modify the 'Post Edited' line in messages?

Go down

How to modify the 'Post Edited' line in messages? Empty How to modify the 'Post Edited' line in messages?

Post by Sanxi March 7th 2012, 3:22 pm

When someone edits a message after it was released, a text will be displayed about that the post was edited at a particular date, etc. My problem with this notification is that it is displayed with the same font type, size and colour as the bodx text of messages, and it can make members confused, thinking it is also part of the main text. How can that line be altered to give it a different color and font size? Could the content of the line also be edited? For the skin I use the notification is too long, I find it useless to display the name of the day and the info on how many times a post was edited. The editor's name and the date would be enough.

In the view_topic template of my skin there is a line:
<p>{postrow.displayed.EDITED_MESSAGE}</p>

I guess this is the one concerned. But it seems this refers to a predefined value between the {}. Where can I edit that value? I guess if I add a style tag to the p, I can alter the appearance of the line, but how can I alter the content of the line? Where can I recach the EDITED_MESSAGE element setting?
avatar
Sanxi
New Member

Posts : 3
Reputation : 1
Language : English

Back to top Go down

How to modify the 'Post Edited' line in messages? Empty Re: How to modify the 'Post Edited' line in messages?

Post by Guest March 7th 2012, 3:47 pm

Replace:
Code:
<p>{postrow.displayed.EDITED_MESSAGE}</p>
to this:
Code:
<p class="editing">{postrow.displayed.EDITED_MESSAGE}</p>
Save & publish template.

Add to CSS Stylesheet:
Code:
.editing{
color: #COLOR;
font-size: 12px;
}
avatar
Guest
Guest


Back to top Go down

How to modify the 'Post Edited' line in messages? Empty Re: How to modify the 'Post Edited' line in messages?

Post by Sanxi March 7th 2012, 6:38 pm

Thank you very much!

But what about the editing of the content of the text that is displayed? It is not possible?
avatar
Sanxi
New Member

Posts : 3
Reputation : 1
Language : English

Back to top Go down

How to modify the 'Post Edited' line in messages? Empty Re: How to modify the 'Post Edited' line in messages?

Post by Guest March 7th 2012, 6:40 pm

Of course:
Code:
.entry-content div div{
color: #COLOR;
font-size: 12px;
}
avatar
Guest
Guest


Back to top Go down

How to modify the 'Post Edited' line in messages? Empty Re: How to modify the 'Post Edited' line in messages?

Post by Sanxi March 7th 2012, 7:02 pm

You misunderstood me. I mean to edit what text is displayed? The text that is displayed which notifies users about that a post was edited is too long for me. The name of the day is displayed, and that how many times the post was edited. I only want it to be visible at what date and by whom it was edited, I don't need more. Can it be done somwhow?
avatar
Sanxi
New Member

Posts : 3
Reputation : 1
Language : English

Back to top Go down

How to modify the 'Post Edited' line in messages? Empty Re: How to modify the 'Post Edited' line in messages?

Post by Guest March 7th 2012, 7:05 pm

Nope. It can't be done. Smile
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum