Customizing SMF > Portals, Bridges, and Integrations
Problem integrating SMF based on Wiki
jastend:
Yes, the default theme is working perfectly fine.
@error:
Indeed, that has been reported quite often. Unfortunately, as far as I understand, the issue is not specific and the error doesn't state more then "there is something missing that's needed". That's why I tried to report everything I did.
I assume that the issue lies in the index.template.html as I've tried the one attached to the old version of the guide (here) and with this I was able to include content. I can't use this, though, as it's the index of SMF 1.1.x.
K@:
Just had a thought...
We often miss the obvious.
Are all the files in the theme's directory read-enabled?
Another one:
When you uploaded the files, did you use Filezilla, by any chance?
If so, was the "Transfer type" set to "binary", NOT "auto", which is the default?
That can break some files, unfortunately.
jastend:
Yes, I've used Filezilla in Auto-Mode. Now that you've informed me, I changed the settings, downloaded a working index.template.html, customized it and uploaded it into the theme-folder.
I also made sure that the theme folder has the same owner / group and permissions as the working default folder.
Still, I receive the same error message.
jastend:
I have a tiny update regarding my problem:
I went through the whole process with a new theme and the error starts to occur once I do the SQL Replacement:
--- Code: --- REPLACE INTO yourprefix_themes
(ID_THEME, variable, value)
VALUES (that number, 'theme_layers', 'site,main');
--- End code ---
Of course I replaced the placeholders with the actual values.
Solution:
Ok, I have found the mistake. Once I realized that the SQL modification is causing the problem it was pretty easy.
All you have to do to resolve the issue is adding "site,body" into the SQL table. So the SQL should be:
--- Code: --- REPLACE INTO yourprefix_themes
(ID_THEME, variable, value)
VALUES (that number, 'theme_layers', 'site,body');
--- End code ---
I really don't understand why the wiki demands to add "main" instead of "body" but I suppose it's due to some template changes within an update.
Thanks for your support, K@!
Navigation
[0] Message Index
[*] Previous page
Go to full version