Modify BB theme file

Hi Team,

I installed the “awesome support” plugin for a ticket support system on our site. Works well for what we need. My issue is their site explains how to customize one template file but what they show in their VERY brief tutorial and what I see in the BB theme files doesn’t seem to match.

All I want to do is use the BB “no header/footer” template for their ticket details page. Seems like it should be a pretty simple edit to replace it.

Can someone take a look at their explanation and possibly better explain how I can accomplish this with the BB theme files.

https://getawesomesupport.com/documentation/awesome-support/ticket-details-page-template/

From what I gather from their post I just need to copy the no header/footer template file into their theme directory, rename it, and edit a line or two of the code.

BUT… what they show on their screenshot and what I see on the BB template(s) don’t seem to align and they were pretty vague about where exactly to put the new file, etc.

Perhaps I’m looking at the wrong template file? I thought I could copy and rename the no header/footer template. Not sure. But any help or better explanation would be soooo greatly appreciated. I really need to remove the header/footer from this one “details” page.

Thanks!

Dave

Hey Dave,

Yes, the theme files differ from theme to theme, depending on their functionality. Okay so here’s what you have to do, or at least I think what you have to do after reading their docs. :slight_smile: Take note, you’ll need to do everything on a child theme.

  1. Copy the tpl-no-header-footer.php file from the parent theme to the child theme
  2. Rename the file to single-ticket.php
  3. Remove lines 3 to 5 on the file, those are the lines containing the comments for the Template Name
  4. Change the line that says <?php get_template_part('content', 'page'); ?> to <?php get_template_part('content', 'ticket'); ?>
  5. Copy the content-page.php file from the parent theme to the child theme
  6. Rename the file to content-ticket.php
  7. Change the line that says the_content(); to wpas_single_ticket();

Let us know how it goes! :slight_smile:

Ben

[Content Hidden]

Hi David,

Would it be possible for you to provide FTP access to your site, so we can view the files, please?

Thanks,
Danny

[Content Hidden]

Hi David,

I have used the FTP details, you provided, but I am unable to locate any BB theme in the wp-content/themes directory?

Do we have the correct the FTP information?

Thanks,
Danny

[Content Hidden]

Hey Dave,

Looks like you got everything. Not really sure why it isn’t showing anything though as we’ve followed through their docs. Maybe bring this up with them and see what they say?

I did try changing wpas_single_ticket(); back to the_content(); and it works fine. Then again, I don’t really know the plugin so your best bet is to bring this up to them. :slight_smile:

Let us know how it goes!

Ben

[Content Hidden]

Hey Ben,

On second thought I’m going to try another help desk plugin that I think might do the trick. Again I cannot thank you guys enough for going above and beyond to help a sap like me :wink:

I’ll keep you posted how things turn out.

Thanks again,

Dave

Hey Dave,

Awesome! Re the above, I’d really suggest getting in touch with the plugin authors as I think we followed everything on their docs. So either there’s a mistake there, or there’s information not written. But that’s your call. :slight_smile:

Ben

I will do that Ben and let you know what I find out. Thanks again for the top notch support.

Dave