1
isronax
News module and HTML format
  • 2007/12/12 16:46

  • isronax

  • Just popping in

  • Posts: 100

  • Since: 2005/4/26


i am trying to create some html page and put in news (news module) and the result is like this

http://coolradiostation.info/modules/news/article.php?storyid=4

and here the code i made
Quote:




Untitled Document



































































  cooldj    
  DJ. Adam, DJ yang punya tanggung jawab tuk urusan siaran dengan Arabic, mesti seru deh..     DJ. Adam, DJ yang punya tanggung jawab tuk urusan siaran dengan Arabic, mesti seru deh..
     
  DJ. Adam, DJ yang punya tanggung jawab tuk urusan siaran dengan Arabic, mesti seru deh..     DJ. Adam, DJ yang punya tanggung jawab tuk urusan siaran dengan Arabic, mesti seru deh..
     
  DJ. Adam, DJ yang punya tanggung jawab tuk urusan siaran dengan Arabic, mesti seru deh..     DJ. Adam, DJ yang punya tanggung jawab tuk urusan siaran dengan Arabic, mesti seru deh..
         
         
         





Note: a pic not yet upload. i copy and paste this code to extended text box.

2
christian
Re: News module and HTML format
  • 2007/12/12 16:59

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


Hi

Look my answer in this thread.

3
isronax
Re: News module and HTML format
  • 2007/12/12 17:40

  • isronax

  • Just popping in

  • Posts: 100

  • Since: 2005/4/26


its very nice..thread news. Thanks.
but stil have gap between scoop and extended text.

here is the result http://coolradiostation.info/modules/news/article.php?storyid=4

once again;
thanks

4
christian
Re: News module and HTML format
  • 2007/12/12 20:51

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


When you insert your html code, copy and paste ONLY the text between and

For the gap between scoop and extended text , edit the file article.php and delete tag < br /> here

$story['text'] = $story['text'].''.news_getmoduleoption('advertisement').''.$articletext[$storypage];

5
Shine
Re: News module and HTML format
  • 2007/12/12 23:12

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


if ($storypage == 0) {
            
$story['text'] = $story['text'].''.news_getmoduleoption('advertisement').''.$articletext[$storypage];
        } else {
            
$story['text'] = $articletext[$storypage];
        }
    } else {
        
$story['text'] = $story['text'].''.news_getmoduleoption('advertisement').''.$bodytext;
    }
}


Hm,..... which < br / > in which line exactly? As you can see there are more.

Thanks, Shine

6
pw-kw
Re: News module and HTML format
  • 2007/12/13 8:16

  • pw-kw

  • Just popping in

  • Posts: 50

  • Since: 2007/2/1 8


news-modul 1.56: turn off XOOPS codes

Hi XOOPSlers,

i have the same problem - I think, the problem could be solved with de-activating of XOOPS-Codes.

But I can't find a possibility to turn off XOOPS codes. - What can I do? - Is there a possibility to include such kind of function in the news-modul.

Thanx a lot in advance!

Login

Who's Online

399 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 399


more...

Donat-O-Meter

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

Latest GitHub Commits