1
voltron3000
Showing Code
  • 2006/5/23 3:47

  • voltron3000

  • Just popping in

  • Posts: 3

  • Since: 2006/5/23


Hi

I'm new to XOOPS and while creating a new theme using the steps outlined in one of the FAQs on this site, I managed to kill it. It seems to be outputing straight html rather than processing php code eg outputs > rather than >

I have uploaded everything from backups and it has still not changed back

can someone help

2
jensclas
Re: Showing Code

I don't know a thing about code - so in bumping this up I can only suggest you try this doc which is a work in progress:

An Introduction to XOOPS and Smarty

It might give you a clue or three

3
voltron3000
Re: Showing Code
  • 2006/7/31 6:45

  • voltron3000

  • Just popping in

  • Posts: 3

  • Since: 2006/5/23


I fixed it.


The problem turned out to be me not knowing enough about XOOPS (surprise).

So I restored the database and files to a fairly early date (just before I started messing with it). I lost a few days work but otherwise it was fine.

The only thing I could advise others who are modifying themes , templates, modules, and stuff (hopefully before they have this problem), is to:

1. Back up the database regularly (daily if possible)

2. Use a duplicate of the template
it was the only thing that allowed me to see anything after this problem started. If I couldn't switch to the original template i would never have been able to fix it.

3. Make small changes.
I know it seems like a huge inconvienience to make one tiny change, then delete cache (templates_c) and then view changes again, but a minor change is easy to reverse.

4. Find out everything about it
I have found since that the problem I was having was a mix of changes to data and files that I had no idea were being affected by my changes.

So if you are going to do something that involves editing bits of code or anything other than what the module developers have provided, DON'T, hehe, or if you have to, do it very carefully and do a lot of research.

Thanks for the advice jensclas

Login

Who's Online

194 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 194


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