Order of pages (multilingual) nightmare!!

Posted by Community Admin on 03-Aug-2018 13:25

Order of pages (multilingual) nightmare!!

All Replies

Posted by Community Admin on 28-Mar-2012 00:00

I know Sitefinity is a great product!!

But If the project is stopped at the stupidity like Page order in multilingual site then I wander how far we came from the times where we had perfectly working CMS named Sitefinity 3.7.

Please help anybody… with any suggestion!!

Posted by Community Admin on 28-Mar-2012 00:00

Sorting is broken pretty bad everywhere, not just multilingual

It's a MAJOR thing to be broken as it prevents the "Managing of Content" :)  So I'd expect it to be fixed for the service pack...I think there'll be a SP for 5, but this is just based on some forum posts I've been reading, no actual info on 5.0 SP1 vs 5.1.

Posted by Community Admin on 02-Apr-2012 00:00

Hi guys,

After further investigation we came to the conclusion that this unacceptable behavior is related to the hierarchy of Pages, Lists and Taxonomies. Our developers team is working on the problem already. The issue has been escalated to the highest priority. The fix will be deployed with Service Pack 1. Excuse us for the inconvenience.

Greetings,

Stefani Tacheva
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 02-Apr-2012 00:00

Hi All,

After an in-depht analysis of the problem we determined that fixing the issue will require more development time than the initially planned one. As we want to ensure that checking in this fix will not impose any regression potential on other related functionality, the changeset will undergo extensive testing. I apologize for misleading you with the initial promise of delivering the fix for the upcoming Service Pack, we'll do our best to integrate this fix for the upcoming major release (Sitefinity 5.1) and ensure that it has passed all the internal testing and verification procedures to ensure that issues like the current one do not reoccur.

Thank you in advance for your kind understanding, and please excuse us for the inconvenience this problem has caused.

Kind regards,
Stefani Tacheva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 30-Aug-2012 00:00

Hi

We're using Sitefinity 5.1 an are still experiencing this issue within a mutlilignual site. Could you confirm whether or not the fix was included in the 5.1 release?

Is there a workaround for this?

Brin

Posted by Community Admin on 30-Aug-2012 00:00

Hello,

It seems that this bug is really serious and fixing the issue will require more time. We want to make sure that checking in this fix will not impose any regression potential on other related functionality. We will need to make a lot of tests and we will do our best to integrate this fix soon. At the moment I can suggest you to fix the ordinals of existing pages and items. Please review the following KB article.

All the best,
Stefani Tacheva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 30-Aug-2012 00:00

Dear Stefani

I do understand that this is might be a complex and serious thing. But adding the new stuff in 5.2 won't make it any better. The bug has been know for at least 5 month!!!!. Stop adding new stuff and fix what's out there.

April 2nd - escelated to the highest priority???? 

Whenever I show the CMS to clients I am careful not to do to much drag and drop - so I wont have to fish for an excuse.

Look at the screenshot and tell me how easy it is for a client to find the right library.

While you at it. Can you fix the bug that the backend languages changes according to frontend langauge when editing :-)

Markus

Posted by Community Admin on 02-Sep-2012 00:00

Hi Markus,

To solve the ordering of libraries when uploading a new image/document/etc. just go to

Administration -> Advanced -> Controls -> ViewMap -> Create new

and add a new mapping for this:

HostType - Telerik.Sitefinity.Modules.Libraries.Web.UI.UploadDialog
LayoutTemplatePath - ~/Templates/UploadDialog.ascx

Then simple create the UploadDialog.acsx with the following contents:

<%@ Control Language="C#" %>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sitefinity" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI.Fields" TagPrefix="sfFields" %>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI.ContentUI.Views.Backend.Detail" TagPrefix="sfDetail" %>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI.Validation.Definitions" TagPrefix="sfvalidation" %>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Workflow.UI" TagPrefix="sitefinity" %>
 
<sitefinity:ResourceLinks id="resourcesLinks" runat="server">
  <sitefinity:ResourceFile Name="Styles/Ajax.css" />
</sitefinity:ResourceLinks>
 
<sitefinity:ClientLabelManager id="clientLabelManager" runat="server">
    <Labels>
        <sitefinity:ClientLabel ClassId="LibrariesResources" Key="OneItemHasBeenSuccessfullyUploaded" runat="server" />
        <sitefinity:ClientLabel ClassId="LibrariesResources" Key="MultipleItemsHaveBeenSuccessfullyUploaded" runat="server" />
        <sitefinity:ClientLabel ClassId="LibrariesResources" Key="YouMustSelectLibraryNameInWhichToUploadItemName" runat="server" />
        <sitefinity:ClientLabel ClassId="LibrariesResources" Key="WhichItemNameToUpload" runat="server" />
        <sitefinity:ClientLabel ClassId="LibrariesResources" Key="Uploading" runat="server" />
        <sitefinity:ClientLabel ClassId="LibrariesResources" Key="UploadDone" runat="server" />
        <sitefinity:ClientLabel ClassId="LibrariesResources" Key="YouHaveUnsavedChangesWantToLeavePage" runat="server" />
        <sitefinity:ClientLabel ClassId="LibrariesResources" Key="YouHaveUnuploadedItemsWantToInterruptUploading" runat="server" />
        <sitefinity:ClientLabel ClassId="Labels" Key="YouWantToLeavePage" runat="server" />
    </Labels>
</sitefinity:ClientLabelManager>
 
<fieldset class="sfNewContentForm">
  <asp:LinkButton ID="backButton" runat="server" CssClass="sfBack" OnClientClick="return false;" />
  <h1 id="dialogTitle" runat="server"></h1>
  <sfFields:FormManager id="formManager" runat="server"/>
   
    <div id="mainForm" runat="server">  
        <div class="sfForm sfFirstForm">
            <sfFields:FileField id="fileUpload" runat="server" DisplayMode="Write" CssClass="sfFormIn" />
        </div>
     
        <sitefinity:PromptDialog ID="createLibPrompt" runat="server" Mode="Input" ShowOnLoad="false"
            Title="<%$Resources:Labels, CreateAParameter %>" TextFieldTitle="<%$Resources:LibrariesResources, LibraryNameText %>"
            TextFieldExample="<%$Resources:LibrariesResources, LibraryNameExample %>">
            <CustomTemplate>
                <sitefinity:TextField ID="libraryTitle" runat="server" DisplayMode="Write"></sitefinity:TextField>
            </CustomTemplate>
            <Commands>
                <sitefinity:CommandToolboxItem Text="<%$ Resources:LibrariesResources, CreateThisLibrary %>" CommandName="createLibrary" CommandType="CreateButton" WrapperTagName="LI"></sitefinity:CommandToolboxItem>
                <sitefinity:CommandToolboxItem Text="<%$ Resources:Labels, Cancel %>" CommandName="cancel" CommandType="CancelButton" WrapperTagName="LI"></sitefinity:CommandToolboxItem>
            </Commands>
        </sitefinity:PromptDialog>
        <sitefinity:Message ID="messageControl" runat="server" RemoveAfter="-1" CssClass="sfUploadedImgMsg" />
     
    <div id="librarySelector" runat="server" class="sfForm">
        <div class="sfFormIn">
            <asp:Label ID="librarySelectorTitle" runat="server" CssClass="sfTxtLbl" AssociatedControlID="librariesDropDown" />
                 
                    <asp:DropDownList ID="librariesDropDown" runat="server">
                    </asp:DropDownList>
                    <sitefinity:GenericCollectionBinder id="librariesBinder" runat="server"
                                                        TargetId="librariesDropDown"
                                                        DefaultSortExpression="Title ASC"
                                                        ServiceUrl="~/Sitefinity/Services/Content/ContentService.svc/"
                                                        BindOnLoad="false">
                        <Containers>
                            <sitefinity:BinderContainer runat="server" RenderContainer="false" ContainerTag="OPTION" TemplateHolderTag="SELECT">
                                <option sys:value="Id">Title</option>
                            </sitefinity:BinderContainer>
                        </Containers>
                    </sitefinity:GenericCollectionBinder>
                    <span id="libraryCreationPanel" runat="server">
                        <asp:Literal ID="orLiteral" runat="server" Text="<%$Resources:Labels, or %>"></asp:Literal>
                        <asp:HyperLink ID="lnkCreateLibrary" NavigateUrl="javascript:void(0);" runat="server" Text="<%$Resources:LibrariesResources, CreateNewLibrary %>"></asp:HyperLink>
                    </span>
            </div>
        </div>
     
        <sfDetail:SectionControl id="taxonomiesSelector" runat="server"
                                    WrapperTag="FIELDSET"
                                    CssClass="sfForm sfExpandableForm"
                                    Expanded="false">
        </sfDetail:SectionControl>  
    </div>
    <sitefinity:WorkflowMenu id="workflowMenu" runat="server" CssClass="sfButtonArea sfMainFormBtns" />
    
    <sitefinity:CommandBar id="successCommandBar" runat="server"
            WrapperTag="div"
            WrapperCssClass="sfButtonArea sfMainFormBtns"
            Displayed="false">
        <Commands>
            <sitefinity:CommandToolboxItem runat="server"
                                            CommandName="viewAll"
                                            CommandType="NormalButton"
                                            CssClass="sfPrimary" />
            <%--<sitefinity:CommandToolboxItem runat="server"
                                            CommandName="batchEdit"
                                            CommandType="NormalButton" />--%>
            <sitefinity:LiteralToolboxItem runat="server">
            <ItemTemplate>
                <asp:Literal ID="Literal12" runat="server" Text="<%$Resources:Labels, or %>"></asp:Literal>
            </ItemTemplate>
            </sitefinity:LiteralToolboxItem>
            <sitefinity:CommandToolboxItem runat="server"
                                            CommandName="uploadOther"
                                            CommandType="CancelButton"
                                            CssClass="sfAddOther" />
        </Commands>
    </sitefinity:CommandBar>
 
</fieldset>
 
<asp:HiddenField ID="dialogInstanceId" runat="server" />
 
<script type="text/javascript">
     
    $("body").addClass("sfFormDialog");
 
    function createDialog(commandName, dataItem, self, dialog, params, key, commandArgument)
        $find('<%= dialogInstanceId.Value %>').prepareDialog(commandName, dataItem, self, dialog, params, key, commandArgument);
    
     
</script>

This the default template from 5.1.3270 and the only difference is the addition of

DefaultSortExpression="Title ASC"

to the <sitefinity:GenericCollectionBinder id="librariesBinder" runat="server"> definition. Recycle the app and the libraries will get sorted by title.

Posted by Community Admin on 03-Sep-2012 00:00

@Liam

 I usualy don't like to extend SF with templates to keep it clean. Also I do not wan't to do this in very single project. Thank's a lot. I shure do hope that Telerik will include this 'fix' in the next release since it does seem to be quite simple.

@Telerik
Well if this is so simple. Can we expect the template to be 'fixed' in the next release. Maybe even in a SP that might be comming?

What about other themplates where the libraries are displayed in a rather random fashion. Any such easy fixed there as well.

Markus

Posted by Community Admin on 03-Sep-2012 00:00

Hi Stefani

We have tried running the script that you suggested in your KB article to fix the menu item ordering, however that hasn't sorted the issue.  Changing the position of a menu item in say English moves the corresponding language version the same number of places in it's respective localised version of the menu...which is what you would want if the pages were in sync...but since they are not...it looks like the order in which the pages are created is somehow being used to determine the ordering of the menu items  :-(     Can you give any idea as to when this might be resolved?  Or are we going to have to write something to do a manual manipulation of the menu at the page level to make sure the menu structure is consistent over each language?

Cheers

Posted by Community Admin on 03-Sep-2012 00:00

Markus,

most of the fixes are actually quite small and easy. I will send you a fix for the frontend/backend languages issue soon.

Posted by Community Admin on 03-Sep-2012 00:00

Dear Lupi

Please send them to Telerik so if its easy they can put it into the next release. I don't want to do have a  to apply a fix/workaround in every project.

If you want you can send it to mb at marktold dot com.

Markus

Posted by Community Admin on 03-Sep-2012 00:00

Hi all,

We will do our best to fix the problem for Sitefinity 5.3 release. Please excuse us for the inconvenience this has caused you and thank you kindly for the understanding.

Kind regards,
Stefani Tacheva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 03-Sep-2012 00:00

Dear Stefani

Any chance to check if Lupi's fix would be possible to be integrated into 5.2?
Also if there are any templates that could be that easy be changed it would be nice to get it 3-4 month earlier.

Markus

Pleaaasse 

Posted by Community Admin on 03-Sep-2012 00:00

Hi Markus,

Let me answer your last question - most probably No. And the reason for this is that we can't just include fixes that affect the whole system. Every fix for a problem like that should be reviewed and considered for future implementations. 

You are welcome to include any fixes in your projects though, but we won't support 3rd party implementations. 

Kind regards,
Georgi
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 03-Sep-2012 00:00

Dear Georgi

Thanks for the quick feedback. Looking forward to 5.3.

Markus

This thread is closed