Pagina 1 din 1
Editare title
Scris: 06-Ian-2012, 18:00:43
de costyn33l
Salut,
In primul rand imi cer scuze daca am postat gresit si rog sa se mute topicul acolo unde trebuie, multumesc !
Cer ajutorul la o mica modificare.
Doresc sa modific titlul de afisare.
exemplu :
Forum.ro • Vezi subiect - Bine V-am Gasit
forum.ro • Vizualizare forum - Comunitate
Sa devina in :
Bine v-am gasit • Forum.ro
Comunitate • Forum.ro
Am incercat sa modific prin overall_header din thema dar nimic.
Re: Editare title
Scris: 06-Ian-2012, 18:20:04
de Ivan Petre Paul
1. Pentru o temă bazată pe prosilver
Deschide
overall_header.html
din
styles/tema_ta/template/
, caută
Cod: Selectaţi tot
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
şi înlocuieşte cu
Cod: Selectaţi tot
<title>{PAGE_TITLE} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{SITENAME}</title>
2. Pentru o temă bazată pe subsilver2
Deschide
overall_header.html
din
styles/tema_ta/template/
, caută
Cod: Selectaţi tot
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
şi înlocuieşte cu
Cod: Selectaţi tot
<title>{PAGE_TITLE} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{SITENAME}</title>
Nu uita să cureţi cache-ul.
Re: Editare title
Scris: 06-Ian-2012, 18:31:10
de costyn33l
Am modificat asa.
Acum imi apare
Vezi subiect - Bine V-am Gasit • Forum.ro
Vizualizare forum - Comunitate • Forum.ro
Vreau ca ce este scris cu italic adica
si
sa nu imi mai apara in titlu. Sa ramana doar
Re: Editare title
Scris: 06-Ian-2012, 19:51:53
de EduardPantazi
Încearcă asta, l-am testat şi functionează.
Cod: Selectaţi tot
##############################################################
## MOD Title: phpbb3 title seo
## MOD Author: angelside < n/a > (Sevdin Filiz) http://www.phpbbturkiye.net
## MOD Author: yakusha < n/a > (Sevdin Filiz) http://www.phpbbturkiye.net
## MOD Description: this mod change board title's more seo friendy
## MOD Version: Beta: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: index.php
## viewforum.php
## viewtopic.php
## styles/subSilver/template/overall_header.html
## Included Files:
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## if you want, use page_header($config['site_desc']); to index.php replacement
##
##############################################################
## MOD History:
##
## 2007-02-21 - Version 1.0.0
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
page_header($user->lang['INDEX']);
#
#-----[ REPLACE WITH ]------------------------------------------
#
page_header($config['sitename']);
#
#-----[ OPEN ]------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name']);
#
#-----[ REPLACE WITH ]------------------------------------------
#
page_header($forum_data['forum_name']);
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title']);
#
#-----[ REPLACE WITH ]------------------------------------------
#
page_header($topic_data['topic_title']);
#
#-----[ OPEN ]------------------------------------------
#
styles/subSilver/template/overall_header.html
#
#-----[ FIND ]------------------------------------------
#
<title>{SITENAME} • {PAGE_TITLE}</title>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<title>{PAGE_TITLE}</title>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Sursa:
phpbb3 SEO Title
Re: Editare title
Scris: 06-Ian-2012, 20:57:53
de costyn33l
Oarecum am reusit dar pe prima pagina apare forum.ro • forum.ro .
As vrea sa apara doar forum.ro .
asta e codul care e acum in title dupa ce am folosit acel mod