 |

anjanesh
User
Dec 15, 2005, 12:02 PM
Post #1 of 8
(3906 views)
Shortcut
|
|
Article Manager Source Code
|
Can't Post
|
|
Hi My client has Article Manager and I need to make some scripts to read the data and handle some functions. I thought by looking into the source I would get to know how the data is written in the first place so that I can have it read the same way but I find that the source is encoded. Is the source not available for licensed users ? Are we (developers) not allowed to modify it ? Thanks vlbjcas | Car Crash | Blog
|
|
|  |
 |

Cliff
Staff

Dec 16, 2005, 12:07 PM
Post #2 of 8
(3886 views)
Shortcut
|
|
Re: [anjanesh] Article Manager Source Code
[In reply to]
|
Can't Post
|
|
Hi Anjanesh, Thanks for posting and welcome to the discussion forum. While the source code for Article Manager isn't open for editing, we do have a Database API that is a library of database functions for Perl programmers wanting to write add-on scripts. Just send an email into support@interactivetools.com if you'd like a copy of that and I can send it off right away for you. Regards, Cliff Stefanuk - Customer Service Manager support@interactivetools.com
|
|
|  |
 |

MikeB
Staff
/ Moderator

Jul 28, 2006, 10:34 AM
Post #4 of 8
(3627 views)
Shortcut
|
|
Re: [anjanesh] Article Manager Source Code
[In reply to]
|
Can't Post
|
|
Hi Anjanesh, Thanks for posting! As Article Manager is a Perl script we don't actually have any sort of PHP API but many users in the past have been able to create PHP add-on scripts that interfaced with Article Manager's data files. As Cliff had previously mentioned if you'd like to have a look at the Database API you can feel free to send an email to support@interactivetools.com and we can send this out to you. If you have any other questions or comments, just let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
(This post was edited by MikeB on Jul 28, 2006, 10:43 AM)
|
|
|  |
 |

anjanesh
User
Jul 28, 2006, 10:50 AM
Post #5 of 8
(3620 views)
Shortcut
|
|
Re: [MikeB] Article Manager Source Code
[In reply to]
|
Can't Post
|
|
Thanks for your reply. What would be really cool, is to get php/perl code run withing a template. I was hoping a <?php echo 'a'; ?> would work in one of the templates. But it displays the code itself. vlbjcas | Car Crash | Blog
|
|
|  |
 |

MikeB
Staff
/ Moderator

Jul 29, 2006, 10:40 AM
Post #6 of 8
(3604 views)
Shortcut
|
|
Re: [anjanesh] Article Manager Source Code
[In reply to]
|
Can't Post
|
|
Hi Anjanesh, Thanks for the additional details! From what you've mentioned this is something that you should be able to do in Article Manager's template files. The templates that the software uses are just written in HTML and the articles are published as SHTML files by default but you're definitely able to change this to PHP. You can change Article Manager's "Publish File Extension" under the "Publish Settings" heading in Setup Options->Server tab. This way, once your pages are published as PHP files you can add PHP code to Article Manager's templates that should output once the articles are published. I hope this helps and if you have any other questions feel free to let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

anjanesh
User
Jul 29, 2006, 11:46 AM
Post #7 of 8
(3603 views)
Shortcut
|
|
Re: [MikeB] Article Manager Source Code
[In reply to]
|
Can't Post
|
|
Actually I inserted this PHP line in the search template - search_results.php (copy of search_results.html). PHP didnt get parsed. vlbjcas | Car Crash | Blog
|
|
|  |
 |

ross
Staff
/ Moderator

Jul 30, 2006, 9:52 AM
Post #8 of 8
(3586 views)
Shortcut
|
|
Re: [anjanesh] Article Manager Source Code
[In reply to]
|
Can't Post
|
|
Hi Anjanesh. What I think you are running into here is that your webserver may not be setup to use Article Manager’s default work around for using includes on dynamic pages like the search query and results. What you’ll want to try here is using Article Manager’s alternative syntax for includes: <!-- template include : /path/to/file --> This is a special Article Manager specific solution as in most cases, includes just don’t work on dynamic pages. Give this a shot and let me know if that gets you going again . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 | |  |
|