| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Hammer
Joined: 14 Jun 2008 Posts: 1
|
Posted: Sat Jun 14, 2008 8:34 pm Post subject: replace in another style |
|
|
I have AeroBlueFull style on my forum
I change almost all files.
I have problem with that:
there is write
| Quote: | #
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/template/forum_fn.js |
I have another style(AeroBlueFull)and I dont have that file forum_fn.js. I have only editor.js, but there is another code and i cant change it
| Quote: | #
#-----[ FIND ]------------------------------------------
#
function jumpto()
{
var page = prompt(jump_page, on_page);
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
}
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
function jumpto() {
var page = prompt(jump_page, on_page);
if (page !== null && !isNaN(page) && page > 0) {
var seo_page = (page - 1) * per_page;
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 |
another...
i need change code in overall_header.htm, but i dont have that line
| Quote: | #
#-----[ FIND ]------------------------------------------
#
var onload_functions = new Array();
var onunload_functions = new Array();
#
#-----[ AFTER, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
var seo_delim_start = '{SEO_START_DELIM}';
var seo_static_pagination = '{SEO_SATIC_PAGE}';
var seo_ext_pagination = '{SEO_EXT_PAGE}';
// www.phpBB-SEO.com SEO TOOLKIT END |
the same problem is in viewtopic_body.html
| Quote: | #
#-----[ FIND ]------------------------------------------
#
<a href="#p{postrow.POST_ID}">
#
#-----[ REPLACE WITH ]------------------------------------------
#
<a href="{U_VIEW_TOPIC}#p{postrow.POST_ID}">
#
#-----[ FIND ]------------------------------------------
#
<a href="#wrap" class="top" title="{L_BACK_TO_TOP}">
#
#-----[ REPLACE WITH ]------------------------------------------
#
<a href="{U_VIEW_TOPIC}#wrap" class="top" title="{L_BACK_TO_TOP}">
|
so how I can change code in files in my style??? and in forum_fn.js ( I dont have that file) |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3482
|
Posted: Sun Jun 15, 2008 12:31 pm Post subject: Re: replace in another style |
|
|
About styles/prosilver/template/forum_fn.js, only prosilver uses it, so it may means that your custom style is closer to subsilver2, have you tried to see if subsilver2 code change where not matching your code better ?
If you experience further problems, could you post a link to where your custom style is released ? |
_________________ phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible ! |
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |