Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
mrixnewaccount
Regular
Regular



Joined: May 06, 2013
Posts: 50

PostPosted: Sun Apr 26, 2015 5:57 pm Reply with quote

Hello all, as the title suggests I have a problem with my sites sub category Overriding of the metal tags more specifically the title.
When I put in a basic title like Black Bream, the title it creates is below...

<title>Black Bream - sea-blackbream - Sea fishing - Sea Fishing</title>

Is it not possible to just allow the Black Bream title and not the module and site name added etc ?

Thanks for any idea`s all


mrix
 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1548

PostPosted: Mon Apr 27, 2015 2:16 am Reply with quote

On which way you are trying to override it? With the SEO button or file-based?

_________________
Github: RavenNuke 
View user's profile Send private message
mrixnewaccount







PostPosted: Mon Apr 27, 2015 6:00 am Reply with quote

Hello neralex, I am trying to override it using the Override META Tags link when using the SEO button.
I thought initially it would simply be a case of just adding the page title and that would be that and override the default showing module, site etc

Thanks
mrix
 
neralex







PostPosted: Mon Apr 27, 2015 10:08 am Reply with quote

Try a look in: includes/nukeSEO/dh/dh.class.php

At the top of the file you will find the Configurable options.

There you have the chance to set a suffix for each aera: ModSuffix, CatSuffix, SubCatSuffix and ContentSuffix. But it will only work page-wide for each module. Play with it, maybe you find a way for you.

You can create also a extended class to the dhclass for each module. Check the other files in the /dh/ folder. Its not easy but also not really hard to follow the logic. The logic is not clear on the first view but if you deal with it a little bit, so that you can implement really great things. I created for my gallery a dh-file that overrides the module-areas and also the module-title with a database entry of the gallery's db-table. KGuske has done a really great work.
 
mrixnewaccount







PostPosted: Mon Apr 27, 2015 10:34 am Reply with quote

Great stuff, thanks for your time, I have already taken a look and a few changes worked a treat Very Happy Cool
Thanks again
mrix
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©