1
kaliman
Insert Blocks in Regular pages
  • 2003/12/22 0:51

  • kaliman

  • Not too shy to talk

  • Posts: 110

  • Since: 2003/12/17


Is it possible to "insert" parts of XOOPS within an html site?
Here is the scenario:
I have a regular website (html, flash old fashion stuff), I want to add all the wonderfull stuff that XOOPS provide to my site. Is this possible?

Xoops is the best!

2
CBlue
Re: Insert Blocks in Regular pages

You can include your website within XOOPS by using php includes and saving your pages as php pages or tiny content, free content or cjay content modules.

3
kaliman
Re: Insert Blocks in Regular pages
  • 2003/12/22 3:21

  • kaliman

  • Not too shy to talk

  • Posts: 110

  • Since: 2003/12/17


Thank you Cblue
But what I need is the opposite
I need to include the XOOPS modules/blocks in my site,

4
robekras
Re: Insert Blocks in Regular pages
  • 2003/12/22 8:52

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


Maybe this is of interest for you:

http://wiki.xoops.org/wakka.php?wakka=XoopsStaticContent

Look at:
1. Basic include statements


5
CBlue
Re: Insert Blocks in Regular pages

You still need to install XOOPS and the includes will load your page with the theme you use for xoops. You would have to create a custom theme that goes with your other site.

Here are the includes you need to add to your html pages of your site, plus you have to save those pages as php.

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

Put the above at the top of your page before the first <html>

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

Put the above at the very end of your page after </html>

Then save the page as php

6
CBlue
Re: Insert Blocks in Regular pages

Forgot to mention, the pages need to be in the same folder as the xoops. You could try adding full paths to the mainfile, header and footer pages. It didn't work for me but it may for you. That way you can have the pages in a different folder.

7
kaliman
Re: Insert Blocks in Regular pages
  • 2003/12/22 17:49

  • kaliman

  • Not too shy to talk

  • Posts: 110

  • Since: 2003/12/17


Thank you very much.
I'll start doing this and hopfully I'll show you the results soon!

Enjoy the season!!

8
CBlue
Re: Insert Blocks in Regular pages

You're welcome kaliman! I hope this works for you and Happy Holidays to you too!

9
Stewdio
Re: Insert Blocks in Regular pages
  • 2003/12/22 17:59

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


CBlue to the rescue!

Let us know how it works out for you, this would be very interesting!

Cheers!

10
inferno
Re: Insert Blocks in Regular pages
  • 2003/12/26 11:58

  • inferno

  • Just popping in

  • Posts: 28

  • Since: 2003/12/13


that guys website doesn't work for me?

www.ayundargora.org or watever it is anyway...

Login

Who's Online

167 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 167


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