Post edit

Go down

Post edit

Post by System32 on September 12th 2018, 1:02 pm

Greetings,

I was always wondering how to do something with body itself (when user type text). I saw things like:

Code:
<li class="btn-edit">                                         
      <a href="{postrow.displayed.EDIT_URL}">
      <i class="ion-edit"></i>   
      </a>     
 </li>

What this is about:
Code:
{postrow.displayed.EDIT_URL}
I know it does something, but am I able to create my own postrow stuff like forum already have?
avatar
System32
Forumember

Male Posts : 59
Reputation : 10
Language : Serbian,English

http://paganism.forumotion.com/

Back to top Go down

Re: Post edit

Post by Jadster on September 12th 2018, 3:54 pm

If I am correct that is the button for editing a post. Removing that I believe would remove the edit button but I am not sure entirely as I am not able to edit the templates of AwesomeBB yet. Where are you currently seeing that?

Cheers,
James
avatar
Jadster
Forumember

Male Posts : 188
Reputation : 26
Language : English
Location : Omaha, NE

http://adminvortex.forumotion.com/

Back to top Go down

Re: Post edit

Post by SLGray on September 12th 2018, 11:25 pm

What exactly are you wanting to do?



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44472
Reputation : 3154
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Re: Post edit

Post by System32 on September 13th 2018, 6:55 am

To add something new. From materialize. It is possible. Normally I do it in any template. But now I want to add it above the user post itself as an icon and something will happen inside the user's post. Just like he clicks delete, I want something ese
avatar
System32
Forumember

Male Posts : 59
Reputation : 10
Language : Serbian,English

http://paganism.forumotion.com/

Back to top Go down

Re: Post edit

Post by Jadster on September 13th 2018, 3:10 pm

@system32, if possible could you provide a screenshot of something similar that you are wanting to do on your website so we have a better idea?
avatar
Jadster
Forumember

Male Posts : 188
Reputation : 26
Language : English
Location : Omaha, NE

http://adminvortex.forumotion.com/

Back to top Go down

Re: Post edit

Post by System32 on September 13th 2018, 10:04 pm

Screen shoot is not necessary. I simply know how to add the link as you can see in list, such as bold font, underline etc. I can add icon and make link out of it. But, problem is I just don't know how to make it work. When I look at the code of other links it looks just as I mentioned in first post:
Code:
{postrow.displayed.EDIT_URL}
That makes stuff work. And for the SS, I gave code:
Code:
<li class="btn-edit">                                       
      <a href="{postrow.displayed.EDIT_URL}">
      <i class="ion-edit"></i> 
      </a>   
 </li>
It's just something I need to understand. How I can make my own stuff like that, so that user can use it to do something in the post. When you click code, you get something in the post, right? Well, I wanna do something different but , it's just hard to understand because of the predefined code. How should I know to make this:
Code:
{postrow.displayed.EDIT_URL}
avatar
System32
Forumember

Male Posts : 59
Reputation : 10
Language : Serbian,English

http://paganism.forumotion.com/

Back to top Go down

Re: Post edit

Post by SLGray on September 13th 2018, 10:12 pm

So you want to add a button to the editor?



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44472
Reputation : 3154
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Re: Post edit

Post by System32 on September 13th 2018, 10:15 pm

I know how to add one, but I can not get it how to make it work. Because other buttons have some predefined values that makes it work. I don't have such thing. I guess I show think more about it and make it work.
avatar
System32
Forumember

Male Posts : 59
Reputation : 10
Language : Serbian,English

http://paganism.forumotion.com/

Back to top Go down

Back to top


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