1
jondixon
How do I load a static page in a block?
  • 2004/5/24 14:51

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


Hi, I am trying different ways to blog using xoops, and so far I've tried simple_blog and have tried using the news module, I might like to move back to using blogger.

However, what I'd like to do is load my blog html file in a block in the center of my main XOOPS page. How can I do that?

2
limecity
Re: How do I load a static page in a block?
  • 2004/5/24 14:53

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


u can always use iframe~

or u can use a weblog module

http://wellwine.net/

just set it as startup module and it will appear on front page..

3
jondixon
Re: How do I load a static page in a block?
  • 2004/5/24 15:19

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


I just dloaded weblog to give it a try. What is iframe? Is it a module?

4
limecity
Re: How do I load a static page in a block?
  • 2004/5/24 18:17

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Iframe is a html tag used to frame a page into your website..

Try this out then you know what i mean..

create a custom block.
go to system admin ->blocks
copy and paste the script below..
position the block to be center



now view it in your page.


5
JohnCVermont
Re: How do I load a static page in a block?

Yo Yo CatCity...Great Tip!

Thanks, I have been wondering how static content is dealt with properly in the XOOPS environment.

Following your instructions, I cut & pasted "da code" into a custom block and positioned it within my front page. Now, all I have to do is tweak up my static content for this block. Are there any suggestions where to place static HTML for XOOPS sites? For my XOOPS site, The XOOPS Download module and an Apache Alias directives share the same directory. (facilitates non-Xoops and XOOPS downloads in one swipe)


Resized Image

Here is the relevant section from my httpd.conf creating a download repository accessible via directly by browser or via Xoops...not rocket science, but Apache is fun, if you got "da privs".

#download repository
    
Alias /downloads"d:/web/downloads/"
    
<Directory "d:/web/downloads">
       
Options Indexes FollowSymLinks MultiViews IncludesNoExec
       AllowOverride None
       Order allow
,deny
       Allow from all
    
Directory>


I am not too concerned about the "Allow from all" in my environment, but it a nice option to exploit if necessary

6
cookie
Re: How do I load a static page in a block?
  • 2004/12/16 22:25

  • cookie

  • Just popping in

  • Posts: 24

  • Since: 2004/10/25


Is it possible to create a custom block, with a link and when that link is clicked on, the content will show up in the center block??

I want a static page for a contest I'm doing to show up in the center block. I want the "contest" link to show up in a block on the left hand column, but not necessarily be in the center block at startup.

Thanks!

Login

Who's Online

328 user(s) are online (251 user(s) are browsing Support Forums)


Members: 0


Guests: 328


more...

Donat-O-Meter

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

Latest GitHub Commits