Includes and Commented-Out ... Vanished!

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

Includes and Commented-Out ... Vanished!

Postby Darren » Wed Jul 12, 2006 1:33 am

Hi all,

Here's a problem I've been having with multiple installs of Coranto for some time now, but it's only now reached the level of "so annoying it's hindering my site so I need to ask."

I occasionally find it advantageous to include an SSI tag in a content item's main body field (Text), like so:

Code: Select all
<!--#include virtual="/ssi/myfile.txt" -->


It works like a charm about 50 percent of the time. Coranto seems to have an innate desire to strip out any <!-- commented out HTML bits -->, which unfortunately affect my include tags. When I go back to Modify the news story, the tag is sometimes still there, and sometimes completely gone.

I need to stop Coranto from stripping these out. Any way to do that?

Thanks,
Darren
Darren
 
Posts: 44
Joined: Sat Oct 30, 2004 9:20 pm

Re: Includes and Commented-Out ... Vanished!

Postby Parahead » Wed Jul 12, 2006 5:34 pm

Darren wrote:It works like a charm about 50 percent of the time. Coranto seems to have an innate desire to strip out any <!-- commented out HTML bits -->, which unfortunately affect my include tags. When I go back to Modify the news story, the tag is sometimes still there, and sometimes completely gone.

I need to stop Coranto from stripping these out. Any way to do that?
I find it a little strange that this happens just sometimes... There is settings for stripping out HTML (the option "Disable HTML?") and SSI (the option "Strip Code?") in the settings page for the Text field but they are yes/no options and to my knowledge they work (no reports about the opposite), so maybe it is something else? But to start with, make sure those settings are set correct...
Yes, I am still around...
www.parahead.com/coranto/
User avatar
Parahead
 
Posts: 4837
Joined: Fri Jan 12, 2007 8:54 pm
Location: Stockholm - Sweden

Postby Darren » Wed Jul 12, 2006 10:03 pm

Yep. For the field Text:

Disable HTML? No (Off)
Convert Newlines? Yes (On)
Parse Links? No (Off)
Strip Code? No (Off)
Darren
 
Posts: 44
Joined: Sat Oct 30, 2004 9:20 pm

Postby Darren » Sun Jul 23, 2006 12:39 am

Anyone else have any ideas about how to prevent Coranto from wiping out commented-out text / tags from the main Text field?

Is there a subroutine that is performing this as a deliberate function that I can modify to allow for SSI calls, or safely disable?
Darren
 
Posts: 44
Joined: Sat Oct 30, 2004 9:20 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 5 guests

cron