|
#1
|
|||
|
|||
|
I can make it work putting the full path /var/www/vhosts etc in the code of the index.php on the osticket function but I get the impression I need to amend something in the DIR setting on the client.inc.php page. Is there a standard way this can be done or can someone help me out on this one? Thanks, Martin. |
|
#2
|
|||
|
|||
|
Got it sussed now.
Code:
<?php
require('./wp-blog-header.php');
?>
Code:
get_header() Code:
get_footer() Once those went in everything worked sweet. http://www.home-computer-help.co.uk can be seen working with this setup. |
|
#3
|
|||
|
|||
|
musicmanmg,
Thanks for the info. Sincerely, Masino Sinaga |
|
#4
|
|||
|
|||
|
Actually, I've found that you should add the wp-blog-header.php call to the "main.inc.php" file, as adding it to "index.php" will only affect the look of the index.php file. So, in the "main.inc.php" file, add the following line with the other includes and requires (which you can find under the line that reads "#include required files"):
Code:
require(ROOT_DIR.'../wp-blog-header.php'); Now, you also need to change your header and footer files in the include/client/ directory. Make sure to keep backups of your original "footer.inc.php" and "header.inc.php" files. In the "header.inc.php" file, blank the entire file and replace it with this line: Code:
<?php get_header(); ?> Code:
<?php get_footer(); ?> Last edited by J. James Beaudoin; 09-10-2010 at 01:09 AM. Reason: brief copy edit |
|
#5
|
|||
|
|||
|
Is there a way to do the same with Drupal?
|
|
#6
|
|||
|
|||
|
I am also looking to do something similar. I simply need the client viewable content to match that of my existing php web site. We use drupal currently as or CMS.
|
|
#7
|
|||
|
|||
|
Thanks for the advice on this.
Work pretty well after a few extra tweaks. You can see it here StokePCSupport Thanks Again Karl |
|
#8
|
|||
|
|||
|
Hi Karel are you able to elaborate a bit on how you got the OsTicket so well integrated into your word press website ?
Thanks Red |
|
#9
|
|||
|
|||
|
Quote:
|
|
#10
|
|||
|
|||
|
I had several issues with integration in to my theme (just the basics like possitioning the damned thing).
First problem was the my header was overlapping OST (which shouldnt happen!?) but aniway, fixed it a dirty fix (<br>x6) anihow, the footer is a different beast. It was displaying rather messed up, by doing some changes on several files I could get it more or less fine, except the right side of the OST box seems to be limiting the footer expansion (footer expands to the width of the screen and fills in accordingly with 3 sections (similar to widget sections, but not widget-able, rather hard coded content). On the rest of the site (wp stuff) works perfect, so instead of calling in the footer through the get footer thingie, I copied the footer section from the themeīs footer.php so I could try to fix it for this page without affecting the rest of the page, copy worked fine however as expected (it was essentially getting the same by calling the footer) it still seems to continue on a second line (making the footer huge and awfull) when it reaches the limit of what seems to be the OST box. ![]() The attached image is what the footer is supposed to look like and looks like in the rest of the website. However on the OST page, the twitter logo on the far right is pushed beneath the FB logo. Itīs driving me insane, tried a ton of things and nothing seems to fix it (removing the twitter logo fixes the footer aesthetically, so it prooves that it is being pushed down and therefore making the footer double the height). Any help/suggestions would be very much appreciated |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|