1
Mehdi74
Bug in Tiny content
  • 2003/12/10 14:05

  • Mehdi74

  • Just popping in

  • Posts: 6

  • Since: 2003/11/3


Hi All,
I just installed the Tinycontent module.
Well, if you click on Tiny content (within the main menu) it takes forever!!
Can't we just simply have the option to remove some links from within the main menu... or any menu for that matter?

I installed the Tiny Content module cause I have been told it was the only way to add some new pages (As far as I can tell, the only way to add a page is to add its "equivalent module"). Is there a better way... How could it be possible that we don't have a simple easy way to add new pages in XOOPS...???

Cheers

2
studioC
Re: Bug in Tiny content
  • 2003/12/10 14:54

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello Mehdi74,

it#s not a real bug, i think. if you#ve entered yor first content within tiny content this "problem" would not be there anymore.

Of course, YOU can disable modules displayed in your main menu. Admin->System->modules ..
there you can see a table of all installed modules etc. See the column "order" ... "0" means that this module will no be displayed in your main menu... that#s it.


michael

3
jayjay
Re: Bug in Tiny content
  • 2003/12/10 14:55

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


The XOOPS wiki has an entry on inserting static HTML pages in xoops:http://wiki.xoops.org/wakka.php?wakka=XoopsStaticContent

There are also three or four modules that do the same thing as tiny content (eg. cjay content and others of which I forgot the name). I have tried them but ended up with the plain old trick above.

PS: Tiny content is not buggy AFAIK. Please test a little more.

4
CBlue
Re: Bug in Tiny content

jayjay,

<?php
include("../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>

The content of your original html file goes here!!

<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>

that code didn't work for me but when I changed it to the one below it did. But you have to put the pages you create using this code, in your XOOPS root directory and make sure they aren't named the same as any XOOPS files. Plus, you don't normally even need the php word in the first tag, just <? only if you are using php4 on your server.

<?php
include('mainfile.php');
include('header.php');
$xoopsOption['show_rblock'] = 1;
?>

The content of your original html file goes here!!

<?php
include('footer.php');
?>

5
WarDick
Re: Bug in Tiny content
  • 2003/12/10 22:52

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


This code snippet works nice

<?php
include('mainfile.php');
include('header.php');
$xoopsOption['show_rblock'] = 1;
?>

The content of your original html file goes here!!

<?php
include('footer.php');
?>

Thank You CBlue

6
CBlue
Re: Bug in Tiny content

You're welcome WarDick!

7
CBlue
Re: Bug in Tiny content

Here's another code snippet if you want to include the mainfile.php, header.php and footer.php into a php file that you want to wrap into your xoops.

Put this:

include('mainfile.php');
include('header.php');
$xoopsOption['show_rblock'] = 1;

at the top of your php file below the first <?

and this:

include('footer.php');

before the last ?>

on your php file and then you will be able to call that php file into your browser and it will show it with the theme you are using and look like it's part of your site.

Just make sure the php file is in your XOOPS root directory.

8
jayjay
Re: Bug in Tiny content
  • 2003/12/11 7:28

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Don't shoot the messenger dude. I didn't write the wiki page and initially the code didn't work for me either. But making it work was really child's play

Login

Who's Online

226 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

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

Latest GitHub Commits