1
Peekay
News 1.3. Hide summary?
  • 2005/3/16 2:40

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Would be nice, I think, if admins had a checkbox option to hide the article summary (scoop text) in the main article.

2
hervet
Re: News 1.3. Hide summary?
  • 2005/3/20 20:19

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

could you explain more please ?

Bye,
Hervé

3
Peekay
Re: News 1.3. Hide summary?
  • 2005/3/21 14:23

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


For example:

Article Title: "News 1.3 Launched"

Scoop txt: "The latest version of this popular module is now available. Our ace reporter Peekay investigates." Read more...

Extended txt: "A new improved version of the News module has been released and is...." (etc., etc.)

At present, the main article displays the text from all three fields. I just think it would be nice if you had the option to hide the scoop txt in the main article and just show the article title and the extended text, e.g.

News 1.3 Launched

A new improved version of the News module has been released and is.... (etc., etc.)

4
hervet
Re: News 1.3. Hide summary?
  • 2005/3/21 17:45

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello,

Yes...... I'm not sure to understand the usefulness of this because you can play with one of the two text boxes to see or hide the text... but may be I'm wrong.

Bye,
Hervé

5
Peekay
Re: News 1.3. Hide summary?
  • 2005/3/21 20:18

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Sorry to confuse you Herve. I'll try to explain it a little better.

Everything is fine if you put the the whole article in the 'scoop' field so it appears on the main news page in full.

Everything is fine if you put the first few paragraphs of an article in the 'scoop' field and then continue the article in the 'extended text' field.

However, for news items, I was hoping I could use the scoop field to display a short summary of the item on the main news page that was written in a way to entice people to read the full item - not just use the first paragraph or two of the item itself.

In that situation, I would not want the 'scoop' text repeating again at the top of the full item, because the extended text below it wouldn't follow on properly.

If you had a checkbox option to hide 'scoop' text when extended text was displayed, you could do this.

I think it would be a good idea.

But maybe I'm the only one who does!

6
Shine
Re: News 1.3. Hide summary?
  • 2005/3/21 21:52

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Nope, you aren't the only one. The suggested option idea is great!

Grtz., Shine

7
Peekay
Re: News 1.3. Hide summary?
  • 2005/3/21 23:16

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Shine restores Peekay's Sanity
Ever doubted the wisdom of your own words?. Our intrepid reporter Peekay thought he had lost the plot completely until fellow Xoopster Shine came to the rescue. This in-depth interview reveals how the dramatic events unfolded. Read more...


8
hervet
Re: News 1.3. Hide summary?
  • 2005/4/5 18:17

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello,

This is very specific to your needs. I will not include it in the new versions but I can tell you how to do it yourself.
Edit the file called /xoops/modules/news/article.php and replace this line :
Quote:

$story['text'] = $article->hometext();


with :
Quote:

$story['text'] = '';


Bye,
Hervé

9
rowdie
Re: News 1.3. Hide summary?
  • 2005/4/5 18:39

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Thanks for posting that Hervé.

I saw a website a while ago where someone had hacked News 1.3 to do this, and I thought you might like to see it.

link to website.

10
Peekay
Re: News 1.3. Hide summary?
  • 2005/4/5 23:08

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Yes, many thanks for doing that Hervé Now I can offer that style as an option if news editors want to write teasers.

Login

Who's Online

435 user(s) are online (343 user(s) are browsing Support Forums)


Members: 0


Guests: 435


more...

Donat-O-Meter

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

Latest GitHub Commits