Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Not sure if this is right?

 

 


dimeco
User

Nov 30, 2009, 5:35 PM

Post #1 of 2 (2433 views)
Shortcut
Not sure if this is right? Can't Post

I've redesigned dime-co.com, and am working on turning the new look on. (It's the one we'll be using when we add the CMS system - but still have AM as backup for standard author submissions :) )

Anyway - for the current articles, I'm following the tutorial again for custom category and article templates.

Saright.

BUT Next...

Somehow I managed on thatsubject.com, to include:

specific headlines where I want them - i.e.:

<h3>Latest Auto Headlines</h3>
<?php include('/(virtual)/www/autos/include_categoryHeadlines.php'); ?>

Now - yes, I was using PHP on that site...

So - for dime-co.com, which uses shtml extensions, can you tell me if this would be right?

<!--#include virtual="/www/autos/include_categoryHeadlines.shtml" -->

?

Amber


Donna
Staff / Moderator


Dec 1, 2009, 4:33 PM

Post #2 of 2 (2411 views)
Shortcut
Re: [dimeco] Not sure if this is right? [In reply to] Can't Post

Hi Amber!

Not quite (I think - depends on your file system.)

PHP includes need the full path from the root of the server. SSI's use the path from your document root.

So, it should be:

<!--#include virtual="/autos/include_categoryHeadlines.shtml" -->

...this is assuming that /www/ is your document root (ie, any files you put there will show up at www.dime-co.com with no directories or anything else.)

I hope this helps! Let me know if that gives you trouble. :)

Donna

--
support@interactivetools.com