1
Maadman
Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/16 20:01

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


I used cloned templates on several modules before this upgrade. After upgrading I cannot figure out how to edit these templates now. Anytime I try to view them through the admin menu now it always says "file not created" and then its back to square one. I even tried modifying the html file of the template offline, reuploading it through ftp, and clearing the cache... still the old template is loaded on the web page. Why are these not editable though the administration/templates menu anymore? And where on earth are they stored now? Thanks.

2
Maadman
Re: Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/16 22:01

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


Anyone? There was nothing in the release notes regarding this.

Xoops has really went down the toilet over the last 3 or so years. Sad to see.

3
Mamba
Re: Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/16 22:19

  • Mamba

  • Moderator

  • Posts: 11211

  • Since: 2004/4/23


In the XOOPS 2.5.0 release notes:

Quote:
If you use custom templates, you should convert them into files inside your theme folder before upgrading.

We've updated the release notes 2-3 weeks ago
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

4
Maadman
Re: Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/16 22:37

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


Thank you for the reply Mamba but what should I do now that I have already completed the upgrade? It has to be pulling the data from those same custom templates from somewhere. I can see it on the page. Where is it stored?

5
Maadman
Re: Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/16 22:42

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


Also when you say convert them into files inside your theme folder what do you mean? Upload them into a /templates/ folder inside that? Upload the old tplset.xml file in there? I upgraded all the way from 2.0.17. It was very simple to edit the custom templates on that version. You clicked "edit template" and it pulled right up inside of the browser.

6
ghia
Re: Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/17 9:44

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


This is a missing feature in 2.5.0
Maybe easiest way is to revert back to 2.4.5
Else you need to save the templates from the database to /themes/yourtheme/modules/...
See included suico theme for an example.

7
serial-weber
Re: Upgraded to 2.5 How/where do you modify custom templates?

Hi,

I had this problem in my local test site and here is what I did to resolve it!
1.
Connect your self as administrator of the web site
Go to Administration menu -> Preferences -> System options -> General settings
At Default template set Choose default

2.
Copy all files block which are in the module folder C:\Program Files\EasyPHP5.2.10\www\site_folder\modules\module_name\templates\
in
C:\Program Files\EasyPHP5.2.10\www\site_folder\theme\theme_name\module_name\

3.
Go to Modules -> System -> Templates
Choose the template you want to change.

I hope that it will help you

8
Maadman
Re: Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/19 8:37

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


Thanks for the help everyone. I ended up locating them in the database and making the changes yesterday as a quick fix. I did try your way today serial-weber and it worked just fine.

Maybe a suggestion I can make to you mamba if you are the one who can edit the release notes is this.
Quote:

If you use custom templates, you should convert them into files inside your theme folder before upgrading..


I think you should put this notification above each versions upgrade instructions. I for one read the release notes and then skimmed down over the versions that did not apply to me to find the instructions for my version only and this notification is only listed above the earliest version. I'm sure others have done the same so that may help.

I didn't really mean xoops was going down the toilet either I was just frustrated and had a guy on my back all day about that issue. :)

Thanks again.

9
allnewtome
Re: Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/24 16:50

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


Please help! Upgrading 2.4.2 to 2.5.0

I go to System > Templates > Download (to download custom templates)

I save the file (.tar.gz) and upload it.

Then try to extract it

$ tar -xvzf templates.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors


What am I doing wrong?

Thanks

10
allnewtome
Re: Upgraded to 2.5 How/where do you modify custom templates?
  • 2010/12/24 16:59

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


P.S. On further searching, it appears that my problem is the same as here:

Template Set Manager Download - bad tar.gz file

That question is from a few weeks ago but remains unsolved.

What do you recommend?

1. Do not upgrade to 2.5.0 until this is resolved.
2. Upgrade to 2.5.0 but use a new theme entirely.
3. Some other solution.

Thank you all once again.

Login

Username:
Password:

Lost Password? Register now!

Who's Online

60 user(s) are online (31 user(s) are browsing Support Forums)


Members: 0


Guests: 60


more...

Donat-O-Meter

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

Latest GitHub Commits