http://qs1969.pair.com?node_id=327114


in reply to New signatures stuff in the monastery

I'd appreciate an example of a node template - I'm not to clear on what it can do to enhance my PM existence.

You spend twenty years learning the spell that makes nude virgins appear in your bedroom, and then you're so poisoned by quicksilver fumes and half-blind from reading old grimoires that you can't remember what happens next.

  • Comment on Re: New signatures stuff in the monastery

Replies are listed 'Best First'.
Re: Re: New signatures stuff in the monastery
by pfaut (Priest) on Feb 06, 2004 at 16:23 UTC

    He means a template to be placed in the textfield where you compose a new node. Since your node is posted as HTML, you might set your template to include an empty paragraph block (<p> \n </p>) to get you started.

    90% of every Perl application is already written.
    dragonchild
Re: Re: New signatures stuff in the monastery
by demerphq (Chancellor) on Feb 07, 2004 at 08:56 UTC

    On the ground that a picture is worth a thousand words, here are my current settings.

    The node template part:

      <!--
      <p><em></em></p>
      <code></code>
      <i></i>
      <b></b>
      &#91; &#93; 
      -->
      <p>
      </p>
      <code>
      </code>
      <p>
      </p>
      <br />
      

    And the signature part: (Note that the div tags are automatically provided by PM.)

      <div class="pmsig">
      <div class="pmsig-108447">
      ---
      <br /> 
      demerphq<br />
      <br />
      <sub>
      
      <ol>
      <p><em>First they ignore you, then they laugh at you, then they fight you, then you win. 
      </em><br /> -- Gandhi</p>
      </ol>
      </sub>
      <!--
      <hr />
      <sub>
      <p>
      <strong>• Update:  </strong><br />
      
      </p>
      </sub>
      -->
      <br />
      
      </div>
      </div>
      
    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi


      Hmm, I wonder if everyone uses them just to make notes on syntax, of tags etc.. (thats what yours looks like to me). At the risk of being booed, how about copying other popular forum software, with a bunch a buttons for 'insert code tags', 'insert update line', 'insert ..' etc? (A vertical column next to the input field, maybe..)

      C.

        Any of those things would require the use of JavaScript. Many users of this site don't like JavaScript due to security issues. I don't believe there is any JavaScript on this site other than what people have put on their own homenodes and I don't expect that to change any time soon.

        90% of every Perl application is already written.
        dragonchild