|
#1
|
|||
|
|||
How to change theme to default
Hi all, i use V3 version and i downloaded some nice theme.. this: http://forum-u-232.servebeer.com/ind...pic,897.0.html
How can i make it default and delete default theme of v3? anyone can help me? Thanks.. |
#2
|
|||
|
|||
from include/config.php
$INSTALLER09['stylesheet'] = X; X - NUMBER OF YOUR STYLESHEET or from mysql itself, users table, stylesheet field, set DEFAULT to the number of the stylesheet you have you can get the stylesheet number from your templates folder;number of folder is number of stylesheet remember to flush memcache
__________________
Need HELP!? I can install:
|
The Following User Says Thank You to DND For This Useful Post: | ||
fireknight (30th April 2016)
|
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
Quote:
Really nice to see. Well posted mate. |
#5
|
|||
|
|||
Quote:
This page contains the following errors: error on line 45 at column 115: attributes construct error Below is a rendering of the page up to the first error. LINK: http://sibits.si |
#6
|
|||
|
|||
design error of the template.
__________________
Need HELP!? I can install:
|
#7
|
|||
|
|||
Do you know or someone maybe how to FIX? because i don't know what to do anymore.. :/
|
#8
|
|||
|
|||
Go tools themes and press remove all themes but not the default only keep the one you have only that fix it
|
#9
|
|||
|
|||
The trouble you are having is that the default theme is not the same as the others. It has hidden content to make the site run on it. First off you need to get your code the way you want it then we can help you sort out a theme..
Bro I have made over 100 theme or so for all u-232 code. Second I can fix those errors if need to be BUT you need to get your server sorted and the default theme in place then I can show you how to make the rest work.. // u232 designer. |
#10
|
|||
|
|||
I dont know the theme you using but an round about way is change it from xhtml to html5 atleast for the header.
find Code:
if (isset($INSTALLER09['xhtml_strict'])) { //== Use strict mime type/doctype //== Only if browser/user agent supports xhtml if (isset($_SERVER['HTTP_ACCEPT']) && stristr($_SERVER['HTTP_ACCEPT'],'application/xhtml+xml') && ($INSTALLER09['xhtml_strict'] === 1 || $INSTALLER09['xhtml_strict'] == $CURUSER['username'])) { header('Content-type:application/xhtml+xml; charset='.charset()); $doctype ='<?xml version="1.0" encoding="'.charset().'"?>'.'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">'; } } if (!isset($doctype)) { header('Content-type:text/html; charset='.charset()); $doctype = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'.'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'.'<html xmlns="http://www.w3.org/1999/xhtml">'; } Code:
/* if (isset($INSTALLER09['xhtml_strict'])) { //== Use strict mime type/doctype //== Only if browser/user agent supports xhtml if (isset($_SERVER['HTTP_ACCEPT']) && stristr($_SERVER['HTTP_ACCEPT'],'application/xhtml+xml') && ($INSTALLER09['xhtml_strict'] === 1 || $INSTALLER09['xhtml_strict'] == $CURUSER['username'])) { header('Content-type:application/xhtml+xml; charset='.charset()); $doctype ='<?xml version="1.0" encoding="'.charset().'"?>'.'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">'; } } */ if (!isset($doctype)) { header('Content-type:text/html; charset='.charset()); $doctype = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'.'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'.'<html xmlns="http://www.w3.org/1999/xhtml">'; } |
Tags |
change , default , theme |
|
|