1
Oz1234
A little help needed
  • 2004/4/7 1:50

  • Oz1234

  • Just popping in

  • Posts: 18

  • Since: 2003/10/6


Ok firstly, is there a IB forums XOOPS module.. the newBB is ok but it seems to lacking..

Got this part..

secondly, when I create a new block for addingin links the links open in a new page once the user clicks on them is it possable ot have them open normaly in a the same center block as a module does?

2
HughG
Re: A little help needed
  • 2004/4/7 2:49

  • HughG

  • Not too shy to talk

  • Posts: 124

  • Since: 2003/2/21


If it's internal (xoops mod, etc) use the {X_SITEURL} tag

example {X_SITEURL}newbb

3
Oz1234
Re: A little help needed
  • 2004/4/8 16:07

  • Oz1234

  • Just popping in

  • Posts: 18

  • Since: 2003/10/6


Well I managed ot get then all internal but i want ot do away with the sub links under news as i dont want them there. all news will be posted via the admin CP... the posting and arcive I want gone.. and reall the news one since home=news any way I don't need home and news)

4
studioC
Re: A little help needed
  • 2004/4/8 16:18

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello oz,

uncomment [..]

..
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;

$modversion['sub'][1]['url'] = "submit.php";

$modversion['sub'][2]['name'] = _MI_NEWS_SMNAME2;

$modversion['sub'][2]['url'] = "archive.php";
..
in /modules/news/xoops_version.php

greetings
michael

5
Oz1234
Re: A little help needed
  • 2004/4/8 17:11

  • Oz1234

  • Just popping in

  • Posts: 18

  • Since: 2003/10/6


by uncomment you mean remove the '[' and ']' form those lines?

6
Oz1234
Re: A little help needed
  • 2004/4/8 17:21

  • Oz1234

  • Just popping in

  • Posts: 18

  • Since: 2003/10/6


by making

$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
$modversion['sub'][2]['name'] = _MI_NEWS_SMNAME2;
$modversion['sub'][2]['url'] = "archive.php";

look like

$modversion['hasMain'] = 1;
$modversion'sub'[1]['name'] = _MI_NEWS_SMNAME1;
$modversion'sub'[1]['url'] = "submit.php";
$modversion'sub'[2]['name'] = _MI_NEWS_SMNAME2;
$modversion'sub'[2]['url'] = "archive.php";

I get

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/tech/public_html/modules/news/xoops_version.php on line 93

when I go to my forums or any where not news.

7
Oz1234
Re: A little help needed
  • 2004/4/8 17:39

  • Oz1234

  • Just popping in

  • Posts: 18

  • Since: 2003/10/6


I like the idea of making my own menu block but .. I want the link ot open up in the center block so my links will look like

Home
Forums
Link
Link
Link

Not

Home
News
Forums

or

Home
News
Submit
Arcive
Forums


how would I make my links show in the center block is there a smarty code like {url=http://stuff.php target="Centerblock} Link {/url} or some stuff?

8
studioC
Re: A little help needed
  • 2004/4/8 18:26

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello..
with uncommenting i mean.. place
// $modversion['hasMain'] = 1; //
// $modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1; //
// $modversion['sub'][1]['url'] = "submit.php"; //
// $modversion['sub'][2]['name'] = _MI_NEWS_SMNAME2; //
// $modversion['sub'][2]['url'] = "archive.php"; //


so this submenu links won't effect in your xoops_version php file !

you may delete this lines out of that file but i mostly let these things in file cause i'm not a progger... and perhaps i will use this subs next day, site, week....

michael



9
Oz1234
Re: A little help needed
  • 2004/4/8 18:42

  • Oz1234

  • Just popping in

  • Posts: 18

  • Since: 2003/10/6


worked. cheers

Login

Who's Online

166 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

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

Latest GitHub Commits