1
LostGirl
Adding block to Greeter
  • 2004/3/7 13:33

  • LostGirl

  • Just popping in

  • Posts: 8

  • Since: 2004/1/26


I would like to use Greeter in a block, from what I can figure out I need to add these files:

/language
Overview

* english/blocks.php
Defines language constants used in blocks/blocks.php
It doesn't seem like there is anything that needs to be defined here.

*english/index.php
<script>history.go(-1);</script>


/blocks
Overview
This directory contains files that define block display/edit functions
Files in this directory

* greeter_blocks.php
[b]I don't know.[b]

* index.php
<script>history.go(-1);</script>


/templates/blocks
Overview
HTML files for XOOPS 2 RC3 and later module blocks templates to be called by xoops_version.php &modversion array for 'blocks' items.
Those files uses smarty vars to display module informations.
Files in this directory all templates used in module blocks. Those files uses smarty blocks vars to display module blocks informations.

* index.php
<script>history.go(-1);</script>


* greeter_block.html
<p
<{
$greeting}> <{$uname}> 
</
p>

Same as the templates/greeter_greet.html file

2
LostGirl
Re: Adding block to Greeter
  • 2004/3/10 13:28

  • LostGirl

  • Just popping in

  • Posts: 8

  • Since: 2004/1/26


Are they any tutorials that will help me figure out how to add blocks to modules?

3
krayc
Re: Adding block to Greeter
  • 2004/3/10 13:40

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


If you find out, or go through the learning process yourself, please write up what you learn. and post it here. I am monitoring this thread.

I need the same data, but have yet to find the time to uncover it myself.

krayc

Login

Who's Online

110 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 110


more...

Donat-O-Meter

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

Latest GitHub Commits