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.
The forum of the forums
2 posters

    Post edit

    avatar
    Guest
    Guest


    Post edit Empty Post edit

    Post by Guest 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?
    Jadster
    Jadster
    Helper
    Helper


    Male Posts : 690
    Reputation : 74
    Language : English
    Location : Omaha, NE

    Post edit Empty Re: Post edit

    Post by Jadster 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
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Post edit Empty Re: Post edit

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

    What exactly are you wanting to do?



    Post edit Slgray10

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


    Post edit Empty Re: Post edit

    Post by Guest 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
    Jadster
    Jadster
    Helper
    Helper


    Male Posts : 690
    Reputation : 74
    Language : English
    Location : Omaha, NE

    Post edit Empty Re: Post edit

    Post by Jadster 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
    Guest
    Guest


    Post edit Empty Re: Post edit

    Post by Guest 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}
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Post edit Empty Re: Post edit

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

    So you want to add a button to the editor?



    Post edit Slgray10

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


    Post edit Empty Re: Post edit

    Post by Guest 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.

      Current date/time is September 23rd 2024, 2:24 pm