Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Can you change the default extension of published files from .shtml?

 

 


etfreedman
User

Oct 19, 2006, 11:48 PM

Post #1 of 7 (2038 views)
Shortcut
Can you change the default extension of published files from .shtml? Can't Post

I notice that the default extension is .shtml. Is it possible to change that to php? Also, is it possible to use existing templates, as I've customized mine quite a bit

Thanks
Articles about information & communication technology
http://www.terry-freedman.org.uk

(This post was edited by Dave on Oct 20, 2006, 11:19 AM)


diness
User

Oct 20, 2006, 12:05 AM

Post #2 of 7 (2034 views)
Shortcut
Re: [etfreedman] Article Manager 2 available now! [In reply to] Can't Post

you can change the extension in the admin to anything you want.


MikeB
Staff


Oct 20, 2006, 12:28 AM

Post #3 of 7 (2023 views)
Shortcut
Re: [etfreedman] Article Manager 2 available now! [In reply to] Can't Post

Hi Terry,

Thanks for posting! Smile

It looks like Daniel has answered your first question (Thanks Daniel!). Article Manager 2 does include an option in the Server Settings to allow you to change the publish file extension.

As for using your current template design, there's a thread with some details about upgrading to Article Manager 2 and you can have a look at this here:

http://www.interactivetools.com/iforum/P49738/

Article Manager 2 does allow you to continue using your existing templates and it essentially takes your existing files and does it's best to translate the placeholders, templatecells, and filenames. Depending on how extensive your templates were customized there may be some manual tweaking you'll want to do once Article Manager has finished upgrading these for you.

The great thing is that Article Manager 2 will be installed into a different directory on your server than Article Manager 1. This means you can use Article Manager 2's upgrade procedure to import your data and templates and then play with the templates until they look the way you'd like while leaving your existing Article Manager 1 install live on your site for your visitors.

Let me know if you have any other questions about this and if you have any specific questions about upgrading you can feel free to post them in the thread I linked you to. Thanks Terry! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


etfreedman
User

Oct 20, 2006, 1:15 AM

Post #4 of 7 (2005 views)
Shortcut
Re: [MikeB] Article Manager 2 available now! [In reply to] Can't Post

Thanks, both. Actually, I have another question to which I can't find the answer. Is it possible to refer to the article name in a script? What I mean is this: at the moment, I use a 3rd party commenting script that links to the article through the art_num placeholder, because there isn't an art_name placeholder. So, to continue using that script, I would either need to eb able to change it to refer to the article name, via a placeholder, or to be able to continue to save the articles as a number, eg 904.php, as I do now. So my question boils down to this:

Is there an article name placeholder? If not, is it still possible to save articles with a number instead of a name? If not, is there a commenting script that you would recommend?

Thanks very much Smile
Articles about information & communication technology
http://www.terry-freedman.org.uk


hedley
User

Oct 20, 2006, 2:06 AM

Post #5 of 7 (1998 views)
Shortcut
Re: [etfreedman] Article Manager 2 available now! [In reply to] Can't Post

Well done! I thought it was all a dream... Really looking forward to having a play with this! That's my weekend gone :o(


Dave
Staff / Moderator


Oct 20, 2006, 10:46 AM

Post #6 of 7 (1925 views)
Shortcut
Re: [etfreedman] Article Manager 2 available now! [In reply to] Can't Post

Yes, on both questions.

You can name articles however you want (check out Publish Rules under the Admin Menu) and you can refer to articles by their filename, etc.

Each publish rule lets you define placeholders that refer to the files it creates, so if you're still using our original publish rules you should be able to use the following:

$published.articlePage.url$
$published.articlePage.webpath$
$published.articlePage.filepath$
$published.articlePage.filename$

Also, a neat trick you can use when developing your templates is to temporarily insert this tag and then publish the page again:
<!-- templatePlaceholderList -->

It will display all the available placeholders in that page or templateCell.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com
 

(This post was edited by Theo on Oct 20, 2006, 10:59 AM)


etfreedman
User

Oct 21, 2006, 4:31 AM

Post #7 of 7 (1878 views)
Shortcut
Re: [Dave] Article Manager 2 available now! [In reply to] Can't Post

brilliant! thanks very much, Dave
Articles about information & communication technology
http://www.terry-freedman.org.uk