1
Bates
Adding disclaimer to News 1.44 postings
  • 2006/11/26 11:05

  • Bates

  • Just popping in

  • Posts: 13

  • Since: 2006/11/26


Hi all,

since i'm posting some contents that might involve legal procedures i'm looking for a way to automatically add a disclaimer at the end of the extended text view in News 1.44 Is there a way to do this by adding some code?

Thanks

2
tcnet
Re: Adding disclaimer to News 1.44 postings
  • 2006/11/26 11:52

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Add your disclaimer to news/templates/news_article.html and it will display with every news article.

3
Bates
Re: Adding disclaimer to News 1.44 postings
  • 2006/11/26 13:23

  • Bates

  • Just popping in

  • Posts: 13

  • Since: 2006/11/26


If you could be a little more specific where to exactly add my text :/ If I open up the news_article.html page it's a blurry for me where to exactly put that text so that i would appear on every extended view news post

4
tcnet
Re: Adding disclaimer to News 1.44 postings
  • 2006/11/26 19:57

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


News_article.html is used for all full article views, so placing your disclaimer anywhere on that page will display it on all full article views.

This example will show your disclaimer after the story and before the comments (news_article.html around line 33).
[color=0000FF]
<
div style="text-align: left; margin: 10px;">
<
p>Your Disclaimer Text Here</p>
</
div>
[/
color]

<
div style="text-align: center; padding: 3px; margin:3px;">
<{
$commentsnav}>
<{
$lang_notice}>
</
div>

5
Bates
Re: Adding disclaimer to News 1.44 postings
  • 2006/11/27 4:59

  • Bates

  • Just popping in

  • Posts: 13

  • Since: 2006/11/26


Great, thanks for the code.. i've inserted my disclaimer now and uploaded news_article.html to news/templates , but I still don't see that freaking disclaimer. I've heard of something like updating the news module? I've been trying to do so in the module section in the admin panel but no luck.

What should I do so it would appear?

Thanks

6
gogds
Re: Adding disclaimer to News 1.44 postings
  • 2006/12/3 6:27

  • gogds

  • Just popping in

  • Posts: 11

  • Since: 2004/12/18


Quote:

Bates wrote:
Great, thanks for the code.. i've inserted my disclaimer now and uploaded news_article.html to news/templates , but I still don't see that freaking disclaimer. I've heard of something like updating the news module? I've been trying to do so in the module section in the admin panel but no luck.

What should I do so it would appear?

Thanks


Updating the news module after modifying it's template is all you need to do.

Login

Who's Online

225 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

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

Latest GitHub Commits