1
melsen
Wahhhh..... HELP!!! grrr.
  • 2006/1/12 14:15

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


Alright... here's the thing.

On my site, I want specific blocks to appear in different sections.....

For instance, I have one section in which I want to show on category of news, and at the same time make a specific navigation block appear once you enter that section of the website

Unfortunately, when I go into the news category configuration and make a category as a sub-menu, it doesn't appear selectable in the blocks setup.. only 'All Module Pages' and so on is selectable.. not that news category.

So, to get around this I was hoping that I could have made a content page with tiny content or something, and then simply do an include... but.. since I'm not a coder, I probably did something wrong.

What I did was that I made a new empty page with tinycontent, and then added the following:
<?php
include XOOPS_ROOT_PATH."modules/news/index.php?storytopic=4";
?>


But, when I then test the page, all I get in a blank frame that doesn't display anything.

Can someone help me with this?
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

2
Clever
Re: Wahhhh..... HELP!!! grrr.
  • 2006/1/12 16:23

  • Clever

  • Just popping in

  • Posts: 81

  • Since: 2004/4/24


Hi!
The code seems ok... I did something similar and it worked for me... did you remember to change the new page to PHP script when you created the page? (at the bottom before you submit)
As for the navigation issue you talked about...
Install a menu like multimenu or imenu.
Create the page(s) you want to display.
On the new custom menu, add the links to the pages you want.
Make that menu visible only on the page you want it.
That should solve the navigation issue...
I hope that helped a bit.

3
melsen
Re: Wahhhh..... HELP!!! grrr.
  • 2006/1/12 17:13

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


Uhmmm.. I can't change it to PHP.. I can only 'Disable Html'..

??

And I got the newest version of TinyContent.... 1.5
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

4
stefan88
Re: Wahhhh..... HELP!!! grrr.
  • 2006/1/12 18:17

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


not shure, but ...:


<?php
include XOOPS_ROOT_PATH."[b][color=FF3300]/[/color][/b]modules/news/index.php?storytopic=4";
?>
..

5
melsen
Re: Wahhhh..... HELP!!! grrr.
  • 2006/1/12 18:51

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


Tried that as well.. still didn't work.
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

6
melsen
Re: Wahhhh..... HELP!!! grrr.
  • 2006/1/14 18:56

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


I guess noone knows.... Ohh well.
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

7
Herko
Re: Wahhhh..... HELP!!! grrr.
  • 2006/1/14 19:07

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Quote:

melsen wrote:
Uhmmm.. I can't change it to PHP.. I can only 'Disable Html'..

??

And I got the newest version of TinyContent.... 1.5


You're creating the block in tinycontent, and not in the blocks admin (new custom block)?

Herko

8
melsen
Re: Wahhhh..... HELP!!! grrr.
  • 2006/1/15 20:33

  • melsen

  • Just popping in

  • Posts: 97

  • Since: 2003/6/22


No no.... I was using tiny content as an example to describe the functionality I was requesting...

See, TinyContent additions that are marked as a 'Sub Menu' will appear selectable in the blocks configuration that defines where you want your block viewed at....

But when you mark a category in news 1.44 a sub menu, it doesn't appear in the blocks configuration.
Allan Melsen
[size=x-small]Founder of R.I.A.[/size]

Renegade Insane Asylum

Login

Who's Online

324 user(s) are online (190 user(s) are browsing Support Forums)


Members: 0


Guests: 324


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