Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 + 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Show only links in news module
by bprado on 2009/6/12 11:39:27

woooo, thks is solved with the second option!!!

Niceee!!!!
Re: Show only links in news module
by ghia on 2009/6/12 6:41:33

No, I was.
You have two choices:
- Use the stripdown version of news_item (may affect other displays too)
- Add the new template in the list in xoops_version.php and update the News module.
le="color: #000000"><?php $modversion['templates'][11]['file'] = 'news_itemCat.html'; $modversion['templates'][11]['description'] = "Modified item";


Re: Show only links in news module
by bprado on 2009/6/12 4:41:20

Is working ghia, i strip down the news_item.html, it display the way i want, but when i change the name and try to use it in the news_index.html i get nothing, all the text of the articles disapear.

this is the part of the code that im changing in news_index.html

Old one:
<td width="<{$columnwidth}>%"><{foreach item=story from=$columns[i]}><{include file="db:news_item.html" story=$story}><{/foreach}></td>

New One:
<td width="<{$columnwidth}>%"><{foreach item=story from=$columns[i]}><{include file="db:news_itemCat.html" story=$story}><{/foreach}></td>

When i put to use the new file news_itemCat.html display nothing

im missing something?
Re: Show only links in news module
by ghia on 2009/6/11 23:04:25

Make a copy of the news_item.html template and strip it down. Then use it in the news_index template.
Re: Show only links in news module
by bprado on 2009/6/11 17:26:41

That block the job, the problem is when the user clic a categories.

For example he want to see all the news in the categories News1, there will show the news title and the scoop(the intro).

There i can configure that show the news in 2 columns, but i cant remove the scoop (intro), and that is what i need, remove that and only show the title.

.../modules/news/index.php?storytopic=7

Who's Online

463 user(s) are online (398 user(s) are browsing Support Forums)


Members: 0


Guests: 463


more...

Donat-O-Meter

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

Latest GitHub Commits