Author |
Message |
prekill
Worker
Joined: Oct 22, 2005
Posts: 201
|
Posted:
Thu Jun 17, 2010 10:52 am |
|
When im giving a page a name "hello" the page title dont show only "hello" but "hello - %module% - %slogan% - %sitename%"
how can I fix this?
I dont want those: %module% - %slogan% - %sitename%
thank you |
|
|
|
|
nuken
RavenNuke(tm) Development Team
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Thu Jun 17, 2010 11:52 am |
|
When logged in as admin, click the SEO link in the top nukeNAV menu while you are in the module that you wish to change the keywords for. If you do not have the nukeNAV on your theme, activate the block nukeSEOdh and click the override Meta Tags link when you are on the page you want to change and logged in as admin. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
|
spasticdonkey
RavenNuke(tm) Development Team
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Thu Jun 17, 2010 4:22 pm |
|
prekill may be referring to the suffix that's added automatically to certain titles...
includes/nukeSEO/dh/dh.class.php there are some options you can configure to your liking
Code:
/*
* Configurable options:
*/
var $dt_sDelim = ' - '; // You may change this to whatever you wish to use
// If a title is generated, the suffix will be preceeded by $dt_sDelim
var $dh_sModSuffix = '%module% - %slogan% - %sitename%';
var $dh_sCatSuffix = '%sitename%';
var $dh_sSubCatSuffix = '%sitename%';
var $dh_sContentSuffix = '%sitename%';
var $dh_bLinkCatSubcat = true; // Subcategory is linked to Category, if false subcategory and category are unrelated
var $dt_iTextSize = 90; // This will restrict the total size of the Page Title (yes, it will chop off words)
var $dt_bUseCustNm = true; // true = will use custom module name - default; false = use regular module name
var $dt_bUseBBCensor = true; // true = will use the phpBB word censor pairs for the forum Page Titles
|
|
|
|
|
|
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Fri Jun 18, 2010 4:45 am |
|
There is no need to change the code. Just follow nuken's instructions. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
|
spasticdonkey
|
Posted:
Fri Jun 18, 2010 7:24 am |
|
hmmm, maybe I misunderstand, but for instance for the module level override:
If you give it a custom title you still end up with
Custom Title - Module Name - Slogan - Sitename
not
Custom Title |
|
|
|
|
kguske
|
Posted:
Fri Jun 18, 2010 9:10 am |
|
No, you are correct. I thought the override would address that, but it doesn't. I'll look into that. |
|
|
|
|
mrix
Client
Joined: Dec 04, 2004
Posts: 757
|
Posted:
Sat Jun 19, 2010 4:24 am |
|
Quote: | No, you are correct. I thought the override would address that, but it doesn't. I'll look into that. |
Would be great if this part of the SEO could be fixed
Cheers
mrix |
|
|
|
|
kguske
|
Posted:
Sat Jun 19, 2010 8:45 pm |
|
Do you mean enhanced? |
|
|
|
|
draxx
Involved
Joined: Nov 19, 2003
Posts: 282
|
Posted:
Sat Jun 19, 2010 10:41 pm |
|
<title>Community Reviews </title>
<!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" xml:lang="en" lang="en">
<head>
<title>Community Reviews </title>
Any idea why I'm getting this twice?
And I don't see a nukenav bar ??? Anywhere?? When I click on nuke nav the module it takes me to the home page ? |
|
|
|
|
mrix
|
Posted:
Sun Jun 20, 2010 3:03 am |
|
Quote: | Do you mean enhanced? |
Yes enhanced? I agree
Cheers
mrix |
|
|
|
|
kguske
|
Posted:
Sun Jun 20, 2010 5:16 am |
|
draxx, it might be your theme. Have you tried using a different theme?
Also, your theme determines if you see nukeNAV - or you can activate the nukeNAV block. |
|
|
|
|
spasticdonkey
|
Posted:
Sun Jun 20, 2010 1:07 pm |
|
draxx wrote: | Any idea why I'm getting this twice? |
because you made edits to the core files?
draxx wrote: | I installed Dynamic Titles - I like it better than the other because it lets me define keywords and titles for all the modules individually.
So I couldent figure out how to stop yours. So at the bottom of nukNAVdh.php or something like I just commented out where you echo the tags and included meta.php.
The problem is my metatags come before the document declaration. Don't they need to come after? |
|
|
|
|
|
draxx
|
Posted:
Sun Jun 20, 2010 1:37 pm |
|
Yeah I made edits but I cant imagine what I changed to give me a title twice and nothing else. The old title was handled in meta.php. The new one in this nukeNAV thing that does not seem to be installed/work for me at all.
Ive tried the fisubice theme and the fisubblue (which are the only 2 I use).
When I install the block I get some strange menu that lays over like 3 blocks on the left column.
I don't get anything like whats in the video out of the block. |
|
|
|
|
draxx
|
Posted:
Sun Jun 20, 2010 1:38 pm |
|
I kinda remember a nukenav thing from the old nukecops from ages ago. Doesnt that need to be installed in the header somewhere? |
|
|
|
|
spasticdonkey
|
Posted:
Sun Jun 20, 2010 1:43 pm |
|
it's possible you have a javascript conflict and/or html errors which are keeping the nukeNAV modal window from working properly...?
Quote: | When I install the block I get some strange menu that lays over like 3 blocks on the left column. |
can you post a screenshot of what you are seeing? Either posting or PM'ing me a link would be helpful too. |
|
|
|
|
draxx
|
Posted:
Tue Jun 22, 2010 12:16 pm |
|
Im giving up on this upgrading code crap. I will try a fresh install and rebuild on an upgraded database.
The database upgrade stuff seems to work. So mabie a fresh install using that upgraded database will work. Barring that I will revert back to 2.3
I am doing this apparently all because of NukeNav ??? ... or reclaiming control of my meta tags. It seems to be the only thing I can't get to work and who knows where that duplicate title is comming from.
I can't believe you guys stuck in NukeNav and dident do the blocks by module Don't get me wrong - I enjoy being one of the few nuke sites I see that doesnt have the same set of blocks on EVERY page |
|
|
|
|
kguske
|
Posted:
Tue Jun 22, 2010 4:18 pm |
|
I'm confused. Please explain what you have (version) and what modifications you've made. Based on what spasticdonkey pointed out (possibly from another post), the modifications you made are causing the duplicate title tags.
The nukeNAV menu isn't required to use nukeSEO DH, which has much more power and flexibility than the old META tag include, and includes the dynamic titles functionality in addition to the ability to override the TITLE, META description and keywords on any content page for which a nukeSEO DH class exists. Although the nukeNAV menu isn't required, the nukeNAV module must be active (and should be hidden) because nukeSEO DH uses a popup screen included in the nukeNAV module to maintain the HEAD tags while enabling you to see the page.
If you're using RN 2.4, you should be able to use nukeSEO DH by activating the nukeSEO DH block.
As for supporting blocks by module, that is in the works, I believe (see the forums here for additional information on proposed additions). |
|
|
|
|
|