1
mesmeric
AMS - Getting rid of silly fields:)
  • 2005/4/5 9:25

  • mesmeric

  • Just popping in

  • Posts: 41

  • Since: 2005/3/23


I am using AMS for my news, and am finding it really useful. The trouble is that I would like to remove the fields that are of no use to users.

namely: (Audience, Article ID and Version)

How and where can I edit these out.

Thanks guys,

mes

2
brash
Re: AMS - Getting rid of silly fields:)
  • 2005/4/5 9:31

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


You can create your own article template and remove these sections. You can do all this via the XOOPS admin panel, but you will need some knowledge of smarty.

3
mesmeric
Re: AMS - Getting rid of silly fields:)
  • 2005/4/5 9:34

  • mesmeric

  • Just popping in

  • Posts: 41

  • Since: 2005/3/23


Thanks brash,

Which is the origional template? I though I might just be able to edit the code to remove the fields i dont want? im not sure what smarty is!)

4
mesmeric
Re: AMS - Getting rid of silly fields:)
  • 2005/4/5 9:44

  • mesmeric

  • Just popping in

  • Posts: 41

  • Since: 2005/3/23


ams_article.html is the file. should have worked that out really. sorry..:)Just removed each unwanted field individually e.g.

<div class="itemStats" style="text-align: right;"><{$lang_reads}> : <{$story.hits}></div>

removing this removes the reads field...etc..

5
mesmeric
Re: AMS - Getting rid of silly fields:)
  • 2005/4/5 10:46

  • mesmeric

  • Just popping in

  • Posts: 41

  • Since: 2005/3/23


Not got a clue how to get rid of these from the add article form:)?

any ideas?

cheers

mes

6
brash
Re: AMS - Getting rid of silly fields:)
  • 2005/4/5 11:15

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


You seem to have spotted the smarty tags with out too much trouble. I suggest you read the FAQ's for a template tutorial to find out how to create your own.

7
mesmeric
Re: AMS - Getting rid of silly fields:)
  • 2005/4/5 15:14

  • mesmeric

  • Just popping in

  • Posts: 41

  • Since: 2005/3/23


I would like to edit the old template really. When an anonymous user posts a news article they get 5 fields to fill in which is good.

When you give someone approve permissions they have 16 fields to fill in (permission, audience, disable html etc) this is ok for admins but to much for a general user.

i want to make easier

where can i edit the smarty code for this or whatever:))

cheers,,

mes

Login

Who's Online

155 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 155


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits