Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug]: User profile page and Search result page not initalisated on new non english portal

Open
#7,255 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
64/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp

Research direction

Start in PortalController.cs at the portal creation code shown in the issue, and trace how it resolves the UserProfile, ActivityFeed, and SearchResults pages for the portal’s culture. Check how the French template names those pages. Done means the user profile and search result page settings are initialized when a new non-English portal is created.

Written by the indexing model from the issue text.

Description

Status: New
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

When a new portal is created the portal UserTabId and SearchTabId is not initalised because it is retrived by english page path.

The path is deferent in the french default portal template for example.

in PortalController.cs
`
var obsoletePortal = this.GetPortal(portalId);
IPortalInfo portal = obsoletePortal;
portal.Description = description;
portal.KeyWords = keyWords;
portal.UserTabId = TabController.GetTabByTabPath(portal.PortalId, "//UserProfile", portal.CultureCode);
if (portal.UserTabId == -1)
{
portal.UserTabId = TabController.GetTabByTabPath(portal.PortalId, "//ActivityFeed", portal.CultureCode);
}

portal.SearchTabId = TabController.GetTabByTabPath(portal.PortalId, "//SearchResults", portal.CultureCode);
`

Related to #3219

Steps to reproduce?
  1. create a new DNN installation (or a new portal in a existing installation) in french language
  2. go to portal setting
  3. You see that Page profil utilisateur and Page de résultats de recherche is empty
Current Behavior

User profile page and Search result page not initalisated

Expected Behavior

User profile page and Search result page is automaticaly initialised on new portal creation.

Relevant log output

Anything else?

No response

Affected Versions

10.3.1 (latest release)

What browsers are you seeing the problem on?

Chrome

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
C#
Stars
1.1k
Forks
791
Avg merge
2d 2h
Merged PRs (30d)
24

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dnnsoftware/Dnn.Platform

All issues in dnnsoftware/Dnn.Platform

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.