Jump to content

How to customize front page template


slinky

Recommended Posts

I'm trying to do a simple thing but templating doesn't seem to be working as I'd expect. I'm trying to get the submittickets.php template to appear as the front page for support and place a table of options on top. Unfortunately neither the submittickets.php or nor the knowledgebase.php nor many of the others will display on the homepage.tpl even if you copy the entire template to the homepage.tpl. Can someone explain what I'm missing and why it seems that templates are reliant on PHP?

 

I'm assuming that the PHP code is building the template and that the only way to get what I want to do is to change the name of the php files, e.g. change submittickets.php to index.php or is there a better way?

 

Is there a way to get the knowledgebase on there too or at least some of the most asked questions like I see on another page?

Link to comment
Share on other sites

Much appreciated. Unfortunately I still can't get it to work. I'm trying to combine the function of the knowledgebase and submit tickets on the homepage.tpl. Neither one will load on homepage.tpl, even copying the entire template and include the include to load the variables from the related PHP file. Frustrating!

Link to comment
Share on other sites

Kian - Thanks - the API looks like PHP based variables and I've been trying to use the templates from a theme I have. Finally I was able to find someone who pushed some items to the front page using a custom MYSQL query which I slightly modified. The knowledgebase I have is just the search bar, which should be sufficient. Thanks again for your attempt to help.

Link to comment
Share on other sites

submitticket.php is encoded... boy does that get frustrating. So essentially I can't even see what I could I could move from php file to php file. This should be a simple process. I'm just trying to get the support tickets to load and direct to the right place on the home/front page.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated