I've used a few of the phpJunkyard scripts on a few of my site's now & i'm impressed, however, what i'm about to suggest i don't know if this has been done already or has been suggested. my searches are currently drawing a blank - typing "<?php" followed by any keyword into the search box & you get everything from tin-tacs to tractors.
I've just revamped an existing site for myself & intend to use the Linkman script & possibly add a couple of the others (guestbook, hesk etc) at a later date, but i already have a linkspage which i want to change from manual HTML editor to using the linkman script to add/update/remove links
What i want to do is use the linkman script more as an SSI by creating the links page as a blank page within an exisitng page & "injecting" the link script into it.
to simplify, this is what i have in mind. I'll use the Linkman script as an example as that is what i'm looking at using in this case.
1) to rename the "links.php" script to a new name (mainly as the existing page name will be links.php), giving the script to a name such as linkman.php
2) to install & configure the script as per the normal way.
3) instead of creating a header/footer page or embedding the linkscript between header &footer (these could be ommited or left blank so they don't appear) thus creating a new page, but to add the linkman script to the site add in a line of php code such as this...
Code: Select all
<?php include('linkman.php'); ?>
4) use the script in the normal way
so my question is, is this possible, (or has it been done) & if so how could i bring up the linkman script (or any of the others) using a PHP include to an already exisitng page as described above? if so, how do i do it.
Also while on the subject, as a suggestion, could this perhaps be added as a future upgrade or some form of instruction added to the readme file. This could also mean that the junkyard scripts can be used in blogs & within forums etc
Thanks in Advance & keep up the good work, the phpJunkyard scripts are superb.