Customize document inserts

  •  11-26-2005, 12:11 PM

    Customize document inserts

    I need to customize document inserting.  It seems that the default is to insert the URL in between the A tags:

    <A href = '\url\to\the\document.txt'>\url\to\the\document.txt</A>
     
    I want to default the text to just :

    <A href = '\url\to\the\document.txt'>document.txt</A>

    ...and possibly add a document icon based on the file extention:

    <A href = '\url\to\the\document.txt'><img src='doc_icon_txt.gif'>document.txt</A>

    Changing the "Title" in the dialog box seems to have no effect on this.  (Bug??)   I attempted to modify the client script and use the inp_title[OxOcd4d[0xa]] variable, but this seems to be ingnored by your insert code.  It *seems* like this is happening server-side, and I am not sure if you have a hook for me.
     
    If the inp_title[OxOcd4d[0xa]] variable being ignored is just a bug, and it is fixed, then I could just do what I need to do client-side.
     
     
    ANY suggestions welcome.  And, your product is awesome!
View Complete Thread