Script URL: www.prijsklopper.com/linkpartners.php
Version of script: 1.7
Hosting company: Hensel
URL of phpinfo.php: www.prijsklopper.com/phpinfo.php
URL of session_test.php: ww.prijsklopper.com
What terms did you try when SEARCHING for a solution: include in php page
Write your message below:
Hi,
My website uses templates to work. I included www.prijsklopper.com/links/links.php in
www.prijsklopper.com/linkpartners.php
Now on www.prijsklopper.com/linkpartners.php you see that it works fine, except for showing
the allready excisting links.
This is the code used in the linkpartners.php:
require ("path.php");
require (PATH."include/include.php");
//*************************************************************************************************
include (PATH."session.php");
//*************************************************************************************************
$pageTitle = "Linkpartners";
$pageKeywords = "Links";
$pageDescription= "Linkpartners";
//*************************************************************************************************
// Call template
include(PATH.'links/links.php');
//*************************************************************************************************
?>
Do i need to include something else too for the excisting links ? Or do i have to modify the links.php in the links directory ?
If you type www.prijsklopper.com/links/links.php you see that it works. The errors are normal,
because the header.php can't be found in that root. But if you include the link.php in the template
it works fine.
Joep
www.prijsklopper.com
linkman included in php page
Re: linkman included in php page
links.php wasn't designed to be included and it won't work without a lot of modifications to the code.
You might be better off if you just copied PHP code that shows links from links.php and change file location paths.
You might be better off if you just copied PHP code that shows links from links.php and change file location paths.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: linkman included in php page
Can you help me with that ? (By the way, it works.. as you see.. only the links itself won't work )
The submit form will be used as a popup (so no changes there, direct link to the linkman folder)
Changing the paths for the pages is the main thing.
Can i include it or hard code the location in there ?
It starts at *handle pages* i guess.
A little help is appreciated.. i supported the script by buying it
and i am not that of a Php scripter.
i don't mind a link with "modified by " or something to your script.
Joep
The submit form will be used as a popup (so no changes there, direct link to the linkman folder)
Changing the paths for the pages is the main thing.
Can i include it or hard code the location in there ?
It starts at *handle pages* i guess.
A little help is appreciated.. i supported the script by buying it

i don't mind a link with "modified by " or something to your script.
Joep
Re: linkman included in php page
Don't modify links.php directly - use that as reference (it shows a bunch of errors now).
Then just copy all the code and hard-code (change) all the paths to files and images, that should work.
To be able to help I would need to see the exact structure and files you have, but I'm afraid that is out of the scope of my free support here.
Then just copy all the code and hard-code (change) all the paths to files and images, that should work.
To be able to help I would need to see the exact structure and files you have, but I'm afraid that is out of the scope of my free support here.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: linkman included in php page
Ok as you know it can't be included by default, however you can mod it to do so but will need some code to do this correctly.
Heres my highly modified example of what you are trying to do.
http://www.clickcraft.net/linktest3.php
That will not work correctly unless you modify the script to work in this way.
I have info on this that others have asked in the past although the info here is for those asking for WP integration I do not use WP so some of the info I wrote on this should help you do what you want to do.
viewtopic.php?t=2556
DC
Heres my highly modified example of what you are trying to do.
http://www.clickcraft.net/linktest3.php
That will not work correctly unless you modify the script to work in this way.
I have info on this that others have asked in the past although the info here is for those asking for WP integration I do not use WP so some of the info I wrote on this should help you do what you want to do.
viewtopic.php?t=2556
DC
To Code Or Not To Code That Is The Question?
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...