11
evylrat
Re: Any Fix for the Templates/Blocks Bug?
  • 2005/2/3 14:34

  • evylrat

  • Not too shy to talk

  • Posts: 164

  • Since: 2004/2/25


I'm running 2.0.9.2 on my Live and Test site. I've just installed PiCal on my test site and got duplicate templates for PiCal. Is it just me? Anyone else finding duplicates are still created in 2.0.9.2?

12
cwayne
Re: Any Fix for the Templates/Blocks Bug?
  • 2005/6/29 15:24

  • cwayne

  • Just popping in

  • Posts: 35

  • Since: 2004/2/25


I got three in my newbb module(2.0.2), posted in this thread.
Currently running 2.0.9.2.
Will upgrading to 2.0.10 elimitate those duplicated ones ?

13
Mithrandir
Re: Any Fix for the Templates/Blocks Bug?

Try this script for fixing duplicate templates
that I made just now. I have run it on my own installation and while it didn't do anything (since I don't have duplicate templates) it didn't do any harm either.

Extract to the XOOPS root folder and let me know if it works. Delete the file afterwards.

edit: This is only for the templates. The duplicated blocks, I won't touch just yet because some modules use the same block several times (recent news, most read news for example).
Come XOOPS 2.2, you will be able to delete them through the blocks administration.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

14
Mithrandir
Re: Any Fix for the Templates/Blocks Bug?

If someone could quickly test this, I could include this in 2.0.12a which will fix the comment edit problem - but perhaps also this?
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

15
cwayne
Re: Any Fix for the Templates/Blocks Bug?
  • 2005/6/29 18:12

  • cwayne

  • Just popping in

  • Posts: 35

  • Since: 2004/2/25


@ Mithrandir,

thanks a lot for the help and the script.

just checked again and found that those duplicated in my system are all blocks.
so .. instead of running the script, I can only do a template clone and use the new one as my template set, which, actually, solved my problem quite ok.

Thanks a lot for the script though.

cheer,

wayne.

16
Mithrandir
Re: Any Fix for the Templates/Blocks Bug?

Does that mean that you tried the script? Or that you found that you didn't need to?
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

17
cwayne
Re: Any Fix for the Templates/Blocks Bug?
  • 2005/6/29 18:29

  • cwayne

  • Just popping in

  • Posts: 35

  • Since: 2004/2/25


no. I'm afraid that I didn't.

I can try it now if that'll help.

however, it seems that the link to the file's broken.

I can try to run the script if you can put it back on now.
though I'm not sure how many useful feedbacks that I can give.

18
Mithrandir
Re: Any Fix for the Templates/Blocks Bug?

Gaahhh... had wrong extension in the url.

Fixed now.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

19
cwayne
Re: Any Fix for the Templates/Blocks Bug?
  • 2005/6/29 18:46

  • cwayne

  • Just popping in

  • Posts: 35

  • Since: 2004/2/25


just ran the script but nothing really happened.
is that correct ?
any place I can go have a check if it's running ok ?

20
Mithrandir
Re: Any Fix for the Templates/Blocks Bug?

no change in the templates?

You can enable MySQL debug and access the script again, then see if you get any sql queries in red in the popup window.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

Login

Who's Online

218 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 218


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