Author Topic: New Template gone  (Read 529 times)

Offline misterdj

  • Posts: 13
New Template gone
« on: January 11, 2022, 03:51:17 PM »
Hello, something strange is going on. I work with WB 2.13.0 r63 and it works fine, only if I install a new template then I see it in overview, I can delete it, I see it when I log in with FTP but I don't see it as I want to create a page and then choose the new template. Can choose old template but not the newly installed one, it does not appear in pages, but if I want to delete it.... what could this be? Thank you in advance for your cooperation

Offline hgs

  • Betatester
  • **
  • Posts: 1539
    • EFG MG
Re: New Template gone
« Reply #1 on: January 11, 2022, 05:15:23 PM »
Give us some more omformation.
Where is the new template from (source)
How was the new template installed.
via FTP or via Admin--> Add template
Were there any error messages?
If yes, which ones?
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline misterdj

  • Posts: 13
Re: New Template gone
« Reply #2 on: January 11, 2022, 07:38:23 PM »
i have download it from http://WebsiteBaker-template.de/pages/free-templates/business/seite-4.php
template name is Pixelgreen.
Install via Admin, and than install template, installation was good, no errors and i see the template when i click for Template Details and i can Uninstall the template as wel.
Also when i go to the systeem settings, i can select Pixelgreen as default template, but i can't select Pixelgreen when i make 1 page and selecter after that de pixelgreen template.




Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8420
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: New Template gone
« Reply #3 on: January 11, 2022, 09:08:02 PM »
Hello,

Please have a look to info.php of this template. Ther you can read:
Code: [Select]
$template_platform = '2.7.x';So this template is designed for an very old WB-Version. To make it work under WB 2.13 you need to adapt a lot of things.
To make it show in the backend please add the following line to info.php:
Code: [Select]
$template_function = 'template';Also the used menu call is outdatet and must be changed:
Search for:
Code: [Select]
<?php show_menuand replace it with:
Code: [Select]
<?php show_menu2As the Parameters of show_menu and show_menu2 are different you also have to adapt this parameters
Code: [Select]
(1,0,1,true,'<li [class]>[a][menu_title][/a]</li>','','','','','id="current"')and as the id's and classes of show_menu2 are also different you need to adapt the .css file.

I'm pretty shure that much more must be adapted to get this template work under WB 2.13

Matthias

Offline hgs

  • Betatester
  • **
  • Posts: 1539
    • EFG MG
Re: New Template gone
« Reply #4 on: January 12, 2022, 07:57:13 AM »
Here you can find templates that work with WB 2.13
https://template.WebsiteBaker.org/
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline misterdj

  • Posts: 13
Re: New Template gone
« Reply #5 on: January 12, 2022, 09:25:27 AM »
Thank you, this was indeed the problem. I looked beyond what was necessary, was surprised that template was visible everywhere except on the page itself. stupid of me, anyway thanks a lot for the fast support!