1
c-edge
AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 8:48

  • c-edge

  • Just popping in

  • Posts: 5

  • Since: 2004/2/12


Hello,

I've installed XOOPS recently, and everything went fine. I'm now trying to create my own theme... And I thought that the easiest way was to modify an existing one.

So I've modified phpkaox with my own colors in the theme.html file and modified also the style.css file. It should have looked great... but instead, a blank page...

I've read all french and english forums I found but I still haven't found what I'm looking for (thx bono...)

So I've tryed just to copy the original phpkaox theme and rename it... after having uploaded it in the theme folder... changed the theme to the new name in the preferences... I had a fantastic BLANK screen...

So does anyone know how to modifiy a theme ?

Hopefully I had phpmyadmin installed to change the theme field to previous state

THANK YOU IN ADVANCE FOR YOUR HELP !!!

2
Herko
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 8:54

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


When you get a blank page, turn on php-debug in the system admin -> preferences -> general settings page, and then return to the page that gives the blank. Then you'll see why it is blank, as the errors that are generated are reported there. So, you can fix the problem

Herko

3
c-edge
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 9:06

  • c-edge

  • Just popping in

  • Posts: 5

  • Since: 2004/2/12


THX for your hyperfast answer !

I receive a "Parse error: parse error, unexpected T_ENDFOREACH in /data/htdocs/web21/templates_c/number1^theme.html on line 74"

So I'm going to investigate...

Anyway, this file is generated by XOOPS, do you know where the bug should be ?


4
philou
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 9:07

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


Have you rename the theme.html ?
just the folder ?

In debug mode what XOOPS said ?

5
c-edge
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 9:15

  • c-edge

  • Just popping in

  • Posts: 5

  • Since: 2004/2/12


The problème seems to be around here :


            <{foreach item=block from=$xoops_lblocks}>
            
              
                 echo $this->_tpl_vars['block']['title']; ?>

              
              
                echo $this->_tpl_vars['block']['content']; ?>

              
            
(this is line 74)-->     endforeach; endif; ?>
            


any clue ?

6
philou
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 9:18

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


template_c is a cache folder..
you can edit this file and see the in the code what's wrong.
After this you can change you theme.html

7
c-edge
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 9:22

  • c-edge

  • Just popping in

  • Posts: 5

  • Since: 2004/2/12


tu veux dire que je peux modifier ce qui se trouve dans le templates et le copier tel quel une fois que c'est bon dans mon répertoire theme ?

Sorry for the non french speakers... just for a better understanding...

Hello,

j'ai modifier mon fichier number1^theme.html et ça fonctionne maintenant...

niiiiiiiiiiiiiiiiiiickel merci !

8
philou
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 10:20

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


non... il ne faut pas !
il faut rectifier le theme.html dans le repertoire theme.
Comme le dossier template_c est un cache tu perdras les modifs quand le contenu sera actualisé

9
Herko
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 11:03

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


There are a lot of codes here that aren't necessary at all. You use
oh, and I don't mind other languages, as long as an english translation is provided for us non-french reading folk

Herko


            <{foreach item=block from=$xoops_lblocks}>
            
              
                 echo $this->_tpl_vars['block']['title']; ?>

              
              
                echo $this->_tpl_vars['block']['content']; ?>

              
            
(this is line 74)-->     endforeach; endif; ?>
            



10
jlm69
Re: AAAAAAaaargh !!! XOOPS drives me crazy !
  • 2004/2/12 11:50

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


another problem would be a typo on line 2 of the code you showed

{foreach item=block from=$xoops_lblocks}>

you placed the in the middle of the word block.

When cutting and pasting you should watch carefully where you place things.

hope that adds to the help.

Login

Who's Online

229 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 229


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