1
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?



2
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



3
LostGirl
Re: php includes in xoops
  • 2004/2/20 18:52

  • LostGirl

  • Just popping in

  • Posts: 8

  • Since: 2004/1/26


Thanks for the error reporting snipit.

It is claiming there are no feeds, when I know there are feeds because it works on the link I posted before.

*groan*




4
LostGirl
php includes in xoops
  • 2004/2/20 12:32

  • LostGirl

  • Just popping in

  • Posts: 8

  • Since: 2004/1/26


I am trying to use a php include in one of my blocks, but it keeps showing up blank. I've used the content type as php, tried is as <?php include("zfeeder.php"); ?> and as just include("zfeeder.php");

I am baffled because it works here:
http://www.renaissance-girl.net/beta/xoops/html/newfeeds.php

This is the second time I have asked about using something other then what comes with xoops, I do like the cms the use management and being able to chose what user level sees what is the best.

Again thank you for your time.



5
LostGirl
Re: Since 'out of the box' use is to easy for me
  • 2004/2/18 14:45

  • LostGirl

  • Just popping in

  • Posts: 8

  • Since: 2004/1/26


Thanks that helps alot.

My brain is like a cheap sponge stuff has to sit on it a while before it gets it.



6
LostGirl
Since 'out of the box' use is to easy for me
  • 2004/2/18 12:05

  • LostGirl

  • Just popping in

  • Posts: 8

  • Since: 2004/1/26


I would like to use a differnt banner management then what comes with xoops. I found the code in header.php that 'does' the banner. At first I just used an include but that put the banner on top of everything throwing off the alignment of the first of the page.

From some looking at the original code:
if ($xoopsConfig['banners'] == 1) {
    
$xoopsTpl->assign('xoops_banner'xoops_getbanner());
    } else {
        
$xoopsTpl->assign('xoops_banner''&nbsp;');
    }

and the theme.html
I figured out I need to use the if/else language and assign the selector name for the css to work. What I have figured out so far is:
if (whatdoiputhere) {
    
$xoopsTpl->assign('pbanner');
    else {
    
$xoopsTpl->assign('pbanner''&nbsp;');


It seems like in the first set of () I should have it check for the banner.php file I am using. But I don't know how to write that I am looking at the php.net manual but don't really know what I am looking for.

Another question I have is on the $xoopsTpl variable what does the Tpl stand for? Only thing I could figure out is table placement.

Thanks for your time.



7
LostGirl
Re: displaying rss feeds on website.
  • 2004/1/30 10:41

  • LostGirl

  • Just popping in

  • Posts: 8

  • Since: 2004/1/26


Oh Thanks!



8
LostGirl
displaying rss feeds on website.
  • 2004/1/30 9:29

  • LostGirl

  • Just popping in

  • Posts: 8

  • Since: 2004/1/26


Hello, I am a new XOOPS user. I found the XOOPS installation to be the easiest I have ever done and I am tried to install alot of things over the past few years. My question doesn't have much to do with XOOPS it's self but more of what I would like to display in it.

rss = realy simple syndicate; lovely I am confused my something called simple.

I would like to display some rss feeds on my XOOPS site as sticky content. I have read this:http://webreference.com/perl/tutorial/8/index.html
about 3 times, but I feel like I am missing something. I have uploaded the rss2html.pl file, and made my first attemp I doing a cron job. It hasn't run yet so I don't know it works.

I guess my question is what is the best way to display an rss feed in XOOPS




TopTop



Login

Who's Online

199 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 199


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