Close

Profile: carsten

Avatar

User posts

6 years ago

Hello,

I'm create a plugin that creates a project list, this page is added to the Account pages.
And for some reason it does not have the same look as the other pages.

This is how it look before i enter my page, in the bottom of the navigation i can se my link, with no icon (witch is okay).


when I click the link, I go my page (My Projects). Here I get a page that looks more or less like the original look of nop commerce.


I'm missing something completely obvius. But i cant figure out what.
I have tried looking at the info view from the theme, and this contains:


@{
    Layout = "_ColumnsTwo";

    //title
    Html.AddTitleParts(T("PageTitle.Account").Text);
    //page class
    Html.AppendPageCssClassParts("html-account-page");
    Html.AppendPageCssClassParts("html-customer-info-page");
}


And my page contains:

@{
    Layout = "_ColumnsTwo";

    //title
    Html.AddTitleParts(T("PageTitle.Account").Text);
    //page class
    Html.AppendPageCssClassParts("html-account-page");
    Html.AppendPageCssClassParts("html-projects-page");
}


I actually also tried to add the "html-customer-info-page" class, just to see if this changed anything, but it didn't.

please help ;-)