1
jlsawchu
Custom Blocks
  • 2006/6/1 19:48

  • jlsawchu

  • Just popping in

  • Posts: 6

  • Since: 2006/5/30


Is it possible to, if so how
->Add custom blocks to an existing module

I tried to create a custom block, copying another default block... but it didnt work. I assume because my block does not have a module assigned to it. How do I assign a block to

2
Quest
Re: Custom Blocks
  • 2006/6/1 20:00

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


After creating your custom block did you make it Visible? And visible on the specific page or Module you want it to be viewed on? Also, did you go to your admin/system/groups and make sure the block is accessible to the groups you want to have access to it?

3
jensclas
Re: Custom Blocks

there is a section on blocks in the XOOPS user manual available from the documentation website.

4
jlsawchu
Re: Custom Blocks
  • 2006/6/2 12:57

  • jlsawchu

  • Just popping in

  • Posts: 6

  • Since: 2006/5/30


I was looking to put variables into blocks... I did not figure out how to do it, but I did find a workaround.

5
Quest
Re: Custom Blocks
  • 2006/6/2 15:51

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


As far as I know(and dat ain't much) there is no problem with using variables in a custom block. Just make sure you submit it with the write file type from the pull down. HTML or PHP.

Also, in the module repository are some blocks under USEFULL BLOCKS. You could maybe download a few of them and have a look see how they did them.

Login

Who's Online

361 user(s) are online (264 user(s) are browsing Support Forums)


Members: 0


Guests: 361


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