11
alivo
Re: Can't create theme files in admin/templates
  • 2014/7/14 21:49

  • alivo

  • Just popping in

  • Posts: 8

  • Since: 2014/7/12


Quote:

Mamba wrote:
@ Alivo: Quote:
I can not make a template

Alivo, do you have the same problem as Hadesteam, i.e. XOOPS doesn't allow you to create one, or you just don't know how to do it?

Tell us a little bit more.


I need Xoops code for make a theme but I Could not find the.

12
Mamba
Re: Can't create theme files in admin/templates
  • 2014/7/14 23:38

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
I need Xoops code for make a theme but I Could not find the.

The best way to reuse existing themes, and make changes there, as it saves time.

You can take a look at the news about themes, as well as our Theme Repository.

There is also a very good book to help you with it: Designing for XOOPS

Resized Image


Otherwise, just start a new topic and tell us what you need help with....


Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

13
Mamba
Re: Can't create theme files in admin/templates
  • 2014/7/16 9:18

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
I'm using version 2.5.7. After you select the template page, selecting my template and a specific module I get the answer:

"You have not created any file"

Do you have an idea how to solve it?

It seems like XOOPS needs to have writing rights to the

/modules

folder in your theme that you want to copy the templates to.

So for example, I tested it on the Suice theme with the News module as you did, and I've got the same error as you did.

But in situations like this, it is always good to turn on the Debug, so you can see what PHP is telling you

After I did that, I've got these errors:
Ostrzeżeniemkdir() [function.mkdir]: Permission denied w pliku /modules/system/admin/tplsets/main.php na linii 238
Ostrzeżenie
chmod() [function.chmod]: No such file or directory w pliku /modules/system/admin/tplsets/main.php na linii 239
Ostrzeżenie
copy(/themes/suico/modules/news/index.html) [function.copy]: failed to open streamNo such file or directory w pliku /modules/system/admin/tplsets/main.php na linii 240

So if you report to us these errors, it makes it much easier for us to solve problems.

Basically, the theme folder /modules that you want to copy the templates to:

/public_html/themes/suico/modules

has permission 755, and the template creation failed.

Once I've changed the rights to 777, XOOPS was able to create the new folder:

/public_html/new_site/themes/suico/modules/news

and copy the templates that I've selected.

So whatever theme you want to use, just make sure that the permissions to the folder

/yourtheme/modules

are set to 777
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

14
Hadesteam
Re: Can't create theme files in admin/templates
  • 2014/7/16 19:20

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


Problem solved thanks Mamba

15
Mamba
Re: Can't create theme files in admin/templates
  • 2014/7/16 19:49

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I am glad that things are working now for you.

You'll still need to updates some of the modules you have, and you might consider moving from News to Publisher, but that's up to you.

Now that it seems like the XOOPS 2.5.7 Core is working OK, I'll be going back to updating the Basic Module Pack modules to XOOPS 2.5.7. So much to do, so little time

But as we are always asking everybody, please help us with making XOOPS a butter CMS!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

453 user(s) are online (339 user(s) are browsing Support Forums)


Members: 0


Guests: 453


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