Virtual includes inside news.txt

Is Coranto not working properly for you? Here's where to ask for support help; for best results, follow these steps:
  • - Check your core/addon documentation for possible solutions
  • - Search these forums for similar problems that have already been solved
  • - If you're still stumped, check out THIS TOPIC, and post your question in this forum!!

Moderators: Spunkmeyer, Dale Ray, SrNupsen, Bluetooth, Jackanape


Postby Jake » Sat Mar 23, 2002 5:49 pm

Sorry about the rubbish thread title, but it seemed apt.

Anyway: I am trying to include a text file in a news piece using SSI - looking something like <!--#include virtual="/data/file.txt" --> - but Coranto just ignores it, presumably because it is in <!- ->. Is there any way around this?

Cheers, and sorry if it is painfully obvious.
Posts: 2
Joined: Sat Mar 23, 2002 5:40 pm

Don't know...

Postby pmulcahy » Sat Mar 23, 2002 8:52 pm

I've honestly never tried that. I would think Coranto includes it in the news.txt, because it includes other HTML. But perhaps it does strip out comments. I've never tried it. Anyone?
User avatar
Posts: 157
Joined: Sat Mar 09, 2002 10:51 pm
Location: Illinois

Postby Jake » Sat Mar 23, 2002 11:23 pm

It definitely doesn't work if you try to put the comments tag in the one of the submitted fields. But I've got around it by putting the <!- and -> in the news style, and the rest in the field.

Thanks for your help.
Posts: 2
Joined: Sat Mar 23, 2002 5:40 pm

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests