Fork me on GitHub

Changing how an article displays  Bottom

  • In most themes, articles are displayed thus:

    Quote

    ZekeMacNeil:And now for something completely different


    Apparently, this is done by the

    Code

    $preformat[catandtitle]
    function.

    In short, how do I change this - or separate them? In my theme, I want the author's name and the article title to be shown differently.
  • In short, you can edit the themeindex() and themearticle() portions of your theme (or whatever HTML files they reference) to get the desired effect by using the other story vars at your disposal. Check out this post in the first part for a link to a reference of other story vars.

    P.S. That is not a function, just a variable array passed to the theme. ;)

    Also, check out Part II of that post to see other ways to include the author name or other personal info about either the author of an article or the user...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

This list is based on users active over the last 60 minutes.