1
feelexit
cannot understand News module's template code. please help.
  • 2006/11/2 9:56

  • feelexit

  • Just popping in

  • Posts: 22

  • Since: 2006/11/1


cannot understand News module's template code. please help.
I installed news module and customize its code.


in news_block_top.html file,

<{if $block.spotlight}>, how can I make it true,

I test on my local server. but cannot see the result when this if statment is true. seems like $block.spotlight always stay false.

btw, what is this $block.spotlight variable? what does it do?

2
mcleines
Re: cannot understand News module's template code. please help.
  • 2006/11/2 11:43

  • mcleines

  • Not too shy to talk

  • Posts: 108

  • Since: 2004/10/7


You can activate the spotlight feature in den block settings.

$block.spotlight is true when this feature is activated!

3
feelexit
Re: cannot understand News module's template code. please help.
  • 2006/11/2 11:52

  • feelexit

  • Just popping in

  • Posts: 22

  • Since: 2006/11/1


in which blog I can find this option ?

4
m0nty
Re: cannot understand News modules template code. please help.
  • 2006/11/2 13:01

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


in the block settings for that block i would presume.

5
feelexit
Re: cannot understand News modules template code. please help.
  • 2006/11/2 13:49

  • feelexit

  • Just popping in

  • Posts: 22

  • Since: 2006/11/1


here's all hte blocks I have for news module.


Moderate News
Random news
Recent News
Top News
Navigate thru topics
News Topics
Big Story

still cannot find where to set spotlight

6
msdana
Re: cannot understand News modules template code. please help.
  • 2006/11/2 13:57

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


In the Recent News block (news_block_top.html), you should have this:

Enable Spotlight Feature?

That is where you enable the Spotlight feature.
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

7
feelexit
Re: cannot understand News modules template code. please help.
  • 2006/11/2 14:11

  • feelexit

  • Just popping in

  • Posts: 22

  • Since: 2006/11/1


msdana, thank you very much. I set font really small, overlooked that option.


here's another question I posted, but still have no answers.

if you have time, please take a look.

----------------

I just installed news module latest version.

I have recent news block installed on top page.

when you click on the news link.

it goes to http://localhost/modules/news/article.php?storyid=148

news I clicked supposed to show up. but it didn't. the left and right columns are fine. all showed up. and some of the block I put in the center columns are there.


I am wondering what did i do wrong? is there a block I should make it visible on news page ? if so, which one ?

thanks for your help.

8
msdana
Re: cannot understand News modules template code. please help.
  • 2006/11/2 14:19

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


I'm having a little trouble understanding what you are trying to say...

The Recent News block shows X number of recent news items. When you click on the news title it will take you to the entire news item, not the news index page.

Can you explain in more detail?

[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

9
feelexit
Re: cannot understand News modules template code. please help.
  • 2006/11/2 15:14

  • feelexit

  • Just popping in

  • Posts: 22

  • Since: 2006/11/1


Quote:

msdana wrote:
I'm having a little trouble understanding what you are trying to say...

The Recent News block shows X number of recent news items. When you click on the news title it will take you to the entire news item, not the news index page.

Can you explain in more detail?



hi, sorry, didnt make it clear.


on the top page, I have recent news block, shows 10 latest news.

if you click on any of the news, it should take you to the entire news item.

but, the entire news item didnt show up. other blocks show up correctly. I dont know why news item is not there.

is there a block for news item and we have to install it on news page? which block is to show the entire news item with comments.

I am testing it on my local server, if you still got confused by what I am saying, I will try to upload it online, maybe you will know what I am talking about.


anyway, really appreciate your help

Login

Who's Online

329 user(s) are online (255 user(s) are browsing Support Forums)


Members: 1


Guests: 328


Harald0123,

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