• Resolved Andrei

    (@andrei0luca)


    Hi guys,

    Love your plugin 🙂

    Could you show me how to add the ticket title inside the Ticket Details Template file, please? More precisely it’s the themes/default/details.php file, above line 24:
    <div class="wpas wpas-ticket-details">

    I know it should look something like this but I know it’s incomplete:

    <h1 class="entry-title main_title"></h1>
    <div class="wpas wpas-ticket-details">

    Thank you,
    Andrei

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    The ticket title should show up by default unless your theme is hiding it. There should be no need for you to explicitly add it to the file. Is there another reason you might need to do so? I would hate to see you making changes to the file and then having to redo them on every upgrade.

    Thanks.

    Andrei

    (@andrei0luca)

    Hi Support,

    Indeed I do have some changes integrating Awesome Support with a popup plugin. When clicking a ticket in the ticket list, the ticket opens in a popup. I find this approach more user friendly.
    It would be awesome to have this option in a future update of Awesome Support 🙂

    My customisation works great except I have lost the ticket title.

    I have the details.php file in my child theme, following instructions provided by you inside the file:

    If you need to customize it, please, DO NOT modify this file directly. Instead, copy it to your theme’s directory and then modify the code.

    So it should not overwritte upon plugin update.

    Thank you,
    Andrei

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:
    You can try something like:

    <h1 class="entry-title main_title"></h1>
    <div class="wpas wpas-ticket-details">
    <?php echo $post->post_title ?>
    </div>
    Andrei

    (@andrei0luca)

    Hi Support,

    I placed the php inside the h1 class:
    <h1 class="entry-title main_title"><?php echo $post->post_title ?></h1>
    and it works great.

    Thank you so much,
    Andrei

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    Glad to hear it.

    If you continue to find the plugin useful we would certainly appreciate a review on this page: https://wordpress.org/plugins/awesome-support/#reviews

    Thanks again and good luck with your project.

    @andrei0luca Can you please expand more on exactly how you turned the details page into a popup?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Ticket Details Template’ is closed to new replies.