Page Title Styling...

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 13 ans
Evening,
Just wondering if someone can guide me to where i can edit the Page Title format...

currently it SiteName. Category...
I would like to change it so it displays Category | Site Title

Thanks in advance
Il y a 13 ans
1. Open \Libraries\Nop.BusinessLogic\SEO\SEOHelper.cs file
2. Find RenderTitle(Page page, string title, bool includeStoreNameInTitle, bool overwriteExisting) method
3. Replace title = SettingManager.StoreName + ". " + title with title = title + " | " + SettingManager.StoreName
4. Recompile the solution
Il y a 13 ans
Cheers Andrei,
Is there a way to do this in the "no-source" version?
Il y a 13 ans
taggedmedia wrote:
Is there a way to do this in the "no-source" version?

No
Il y a 12 ans
Hello,

I am running nopCommerce version 1.90.  I don't seem to have a Libraries folder to make this separator change in SEOHelper.  Is there another location that where change needs to be made in 1.90?  The store is still putting a period (. ) after the store title/category, etc, and I need to change it.  I'm not receiving any errors either - I just need to know how to change the separator.

Please advise.

Thanks,
Kevin
Il y a 12 ans
Configuration > Global Settings  . .  uncheck : Enable store name prefix
Il y a 12 ans
MikeMCSD wrote:
Configuration > Global Settings  . .  uncheck : Enable store name prefix


Thanks for the post. This removes the store title altogether.  I need to be able to keep the store title and add on to it much like the breadcrumbs do.  If the box is checked, that is the functionality I need - I just need to replace the period (. ) with something else...
Il y a 12 ans
Is there a plan to make this configurable from the admin section?  Most websites use the "page" | "website" format for page titles as the user is able to quickly differentiate between the Google results.
Il y a 12 ans
In Version 1.90: global settings> SEO/Display shows enable or disable "store name prefix" option. But in version 2.30 I unable to found this option and some other options. Please help.
Some other features are also missing from global settings. I also unable to found changing favicon option.
kindly guide me for page title styling in nopcommerce 2.30 store as well as blog and news archive.
Il y a 12 ans
kkurtz wrote:
Configuration > Global Settings  . .  uncheck : Enable store name prefix

Thanks for the post. This removes the store title altogether.  I need to be able to keep the store title and add on to it much like the breadcrumbs do.  If the box is checked, that is the functionality I need - I just need to replace the period (. ) with something else...


You have to change in SEOHElper.cs like this:

          if (includeStoreNameInTitle)
                title = title + "|" + IoC.Resolve<ISettingManager>().StoreName;
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.