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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Editing sections templates with Autotheme Lite
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 223
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"> <!-- [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>
-
Unregistered
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 4294967287
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 -
- Rank: Expert
- Registered: Mar 15, 2003
- Last visit: Oct 21, 2009
- Posts: 1221
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 -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Sep 30, 2006
- Posts: 6
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
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
