1
HannY
One simple xoops usage question
  • 2008/10/18 18:38

  • HannY

  • Just popping in

  • Posts: 36

  • Since: 2008/9/2 1


How can i make a site section ?
for now all of my sections are just modules (news, forum, polls, faq etc.), how can i make new sections wich arent modules?

i wanted to make a section for four different games (pes, fifa, cod, nba2k9...), and then simply using blocks make content inside those sections.

so, can this be done ?

2
stefan88
Re: One simple xoops usage question
  • 2008/10/18 18:55

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

you can try one of the empty modules:

Fantome:http://tutos.xoofoo.org/modules/mydownloads/visit.php?cid=2&lid=75

Dummy:http://xuups.googlecode.com/files/XOOPS2_mod_dummy_0.1_trabis.zip

MainMenu Link:http://dev.xoops.org/modules/xfmod/project/?mainmenulink

for the Fantome and Dummy you will have to dublicate the module for each section you want.

..

3
HannY
Re: One simple xoops usage question
  • 2008/10/18 19:07

  • HannY

  • Just popping in

  • Posts: 36

  • Since: 2008/9/2 1


now, that's what i'm talking about (Y)

thx m8, gonna try it as soon as i get the time

4
HannY
Re: One simple xoops usage question
  • 2008/10/18 19:52

  • HannY

  • Just popping in

  • Posts: 36

  • Since: 2008/9/2 1


huh?
http://www.virtual-gamer.org/modules/dummy/

i simply cant use that empty space in the midle, even tough i have putted my blocks as they are supposed to be. look at my home page, i'm trying to achive that it looks just like that, but on my dummy page i cant seem to use that space left of the news block.

how can i solve this problem?

5
ghia
Re: One simple xoops usage question
  • 2008/10/19 1:15

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You have an odd theme. On the left it has the normal left column, but in the middle it has the right column and on the right is the center column with center blocks followed by left and right center in the top and the same for the bottom and the real content in between.
Somehow the dummy module sets $xoops_showrblock, which activates the right column to display in the middle. It's an empty space (and colored grey as the css specifies) because there are probably no right blocks configured for that column.
The news block (latest news?) is set for center right on the top, but takes the complete width of the column, because there is no content for the left part or division set in the css (which couldn't because they are unnamed).
The content itself from the dummy module is empty. So, it doesn't show in the content row under the news block.

6
HannY
Re: One simple xoops usage question
  • 2008/10/19 1:58

  • HannY

  • Just popping in

  • Posts: 36

  • Since: 2008/9/2 1


thx for the reply...
i'm gonna try using phantom, or google for another solution then.

7
stefan88
Re: One simple xoops usage question
  • 2008/10/19 14:06

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

"dummy" is made so you can also add html code in index page of the module. But that involves editing the dummy/index.php file. Open it with simple text editor (notepad or one you like).

You can edit this part:
$meta_keywords "dummy, page, keywords";
$meta_description "dummy page description";
$pagetitle "dummy page title";


to set the proper meta keywords, meta description and page title. This may help for better sarch engine indexing/position.

To fix your problem comment (add // at the begining) those lines:

$xoopsTpl->assign'xoops_showlblock'1); //set to 0 to hide left blocks
$xoopsTpl->assign'xoops_showrblock'1); //set to 0 to hide right blocks
$xoopsTpl->assign'xoops_showcblock'1); //set to 0 to hide center blocks


I'm not shure why this code is there - XOOPS will set those values automaticaly depending on selected blocks to be visible.

..

Login

Who's Online

228 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 228


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