1
saamah
Phantom template
  • 2005/9/19 12:17

  • saamah

  • Just popping in

  • Posts: 12

  • Since: 2005/9/9 1


Dear Xoopers,

I'm hoping someone out there can help me. I'm trying to build a website containing teaching materials related to global issues (the environment, immigration, war, fair trade) for English language teachers. I've picked the Articles module from the Module Repository here to drive the listing and displaying of teaching materials.

It nedes to be altered a little bit to do everything I need, and here's where the problems start (I guess). Articles main file (index.php) calls a template, thus...

$xoopsOption['template_main'] = 'article_index.html';

this file article_index, which i've found in the templates subdirectory, seems to match the appearance of the screen when I run the module on my website. However, when I modify the file, it doesn't change anything to do with the appearance. I can even delete the file and there is no change. Yet, when I change the line in index.php to call another name, the screen shows up blank.

What am I missing? Does $xoopsOption['template_main'] do something more sinister than just call the template mentioned? Please please help - it's for a good cause!

Thanks
Saameh

2
Ritchie
Re: Phantom template
  • 2005/9/19 12:34

  • Ritchie

  • Not too shy to talk

  • Posts: 162

  • Since: 2002/1/27


Did you try to update the module after your changes? Thre templates and tables need to be rebuild, updating your module does the trick i guess.
Greetings Ritchie

3
saamah
Re: Phantom template
  • 2005/9/19 12:44

  • saamah

  • Just popping in

  • Posts: 12

  • Since: 2005/9/9 1


Thanks Ritchie,

I guess that was quite a beginner level question, wasn't it? :)

Login

Who's Online

166 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

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

Latest GitHub Commits