Fork me on GitHub

Editing sections templates with Autotheme Lite  Bottom

  • I need some help with editing the templates for the sections & news pages on my site.
    I am using an AutoTheme Lite template.

    All I want to do is remove some of the standard additional info like:

    In a News article-
    Remove the large heading "Topic: ..title.."
    Info like "The new items published under News are..."
    Published by "Admin & date"

    In the Sections Pages-
    Remove the heading again & the info ""The new items published under sections are..."
    I would also like to make the font for the links bigger without affecting links elsewhere on the site.

    There are also some icons in the lower right for extar functions, I would like to remove some of these too.

    Any ideas of the pages I need to edit please?
    Would these be part of the PN installation or the AutoTheme template installation?
    Cheers
  • On article.html & summary.html, look for:

    Code

    <span class="storytitle"><!-- [news:html:catandtitle] --></span><br>
    <span class="tiny"><?php echo _POSTEDBY; ?>: <!-- [news:text:informant] --> <?php echo _ON; ?> <!-- [news:text:briefdatetime] --><span class="pn-sub">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!-- [article-edit-del] --> </span><br /><!-- [news:text:counter] --> <?php echo _READS; ?></span>

    this is the news title & other info.

    Other extra info:

    Code

    <div ><!-- [news:html:searchtopic] --></div>
    <span class="storycontent"><!-- [news:text:hometext] --></span><br /><br />
    <span class="note"><!-- [news:html:notes] --></span></div><br />
    <div align="right"><!-- [news:html:print] --> | <!-- [news:html:send] --><br />
    <span class="comments"><!-- [news:html:comment] --></span></div>

  • Excellent thanks for that.

    I have now edited the Summary & Full Article to display how I want it.

    The only thing I need to do is get rid of the oversized Headings when the Sections or Topics module is displayed.

    For example it displays -
    SECTION: section title
    The articles published under this section are as follows.

    Then the links to the sections are in small text. This seems to be a comon template for several modules, but I can't locate the template or code.
    I just want to tidy it up so as it is a bit easier on the eye & to navigate.

    An example can be viewed here: http://www.blazehill…istarticles&secid=1

    Thanks
  • That last reply was by me, but my session must have timed out whilst typing.

    Cheers
  • Those are styled by the H1 tag
    Add a style for it in your style.css

    IE

    H1 {font-size:14px; font-weight:bold;}


    --
    Zikula Themes
  • Thanks MMaynard, but I was looking to completely remove the Heading, rather than just change the style. There are also other items on the page I want to alter, so I could do with knowing the template, or HTML file that provides the content & formatting.

    Cheers
  • 0 users

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