| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
A_Tjuh
Joined: 08 Nov 2008 Posts: 5
|
Posted: Fri Nov 14, 2008 10:43 pm Post subject: Installing Style Milky Way (Solution inside) |
|
|
Hello everybody,
I'm trying to install the milky way style but it just won't work. It is a subsilver2 based theme.
This is the front page which is perfect. But when i want to open a sub forum i'm getting the following error / page :
Update...
What i change exactly :
| Code: |
Open : Styles\milky_way\template\overall_header.html
<head>
<!-- INCLUDE _mg_config.html -->
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
Changed for :
<head>
<!-- INCLUDE _mg_config.html -->
{SEO_BASE_HREF}
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF --></title>
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
{META_TAG}
{META}
<!-- BEGIN gym_rsslinks -->
<link rel="alternate" type="application/rss+xml" title="{gym_rsslinks.TITLE}" href="{gym_rsslinks.URL}" />
<!-- END gym_rsslinks -->
Then find :
function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
}
}
Replaced with :
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
function jumpto() {
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
var seo_delim_start = '{SEO_START_DELIM}';
var seo_static_pagination = '{SEO_SATIC_PAGE}';
var seo_ext_pagination = '{SEO_EXT_PAGE}';
if (page !== null && !isNaN(page) && page > 0) {
var seo_page = (page - 1) * perpage;
if ( base_url.indexOf('?') >= 0 ) {
document.location.href = base_url.replace(/&/g, '&') + '&start=' + seo_page;
} else if ( seo_page > 0 ) {
var seo_type1 = base_url.match(/\.[a-z0-9]+$/i);
if (seo_type1 !== null) {
document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1;
}
var seo_type2 = base_url.match(/\/$/);
if (seo_type2 !== null) {
document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination;
}
} else {
document.location.href = base_url;
}
}
}
// www.phpBB-SEO.com SEO TOOLKIT END
Opening : Styles\milky_way\template\overall_footer.html
Can't find : <div id="wrapfooter">
So paste : <!-- IF GYM_LINKS --><span>{GYM_GOOGLE_LINK} {GYM_RSS_LINK} {GYM_RSS_CHAN_LINK}</span><br /><!-- ENDIF --> After : <!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --><br />
Opening : Styles\milky_way\template\forumlist_body.html (found and added)
<!-- IF forumrow.LAST_POST_TIME -->
<!-- IF forumrow.LAST_POST_LINK -->
<p class="topicdetails"><i>{forumrow.LAST_POST_LINK}</i></p>
<!-- ENDIF -->
Opening : Styles\milky_way\template\viewtopic_body.html
change : <a href="#top"> To : <a href="{U_VIEW_TOPIC}#top">
|
So everything that has to be changed according to the topic I have changed, still if i open the styles subforum i get the above error??
Thanks in advanced,
Aaron
Solution :
Delete ./Cache/ File and let it renew itself. |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4551
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |