Modifying the sort order of module in oscommerce - oscommerce

How can I modify the sort order of modules in oscommerce.
I cannot find where MODULE_ADMIN_DASHBOARD_XXXXX_SORT_ORDER is defined.

In the Administration Panel under "Modules" -> "Dashboard". You can set the sort order of each item individually.

Related

Configuring Global Toolbar on Siebel CRM

I have a requirement to remove some Global Tool Bar Item such as Apply Target List and Save Target List on Siebel CRM. Other Toolbar such as sitemap and query should stay.
But I cant figure the configuration. I have tried the following Object Definitions
1. Menu
2. Toolbar
3. Class.
I can't find Apply target list and Save Target List.
Although I did find apply target list and save target list under
Menu> Generic Web> Menu Items object definition.
I inactivated and compiled.
But the two Icons still appear on the Global tool bar.
Under Toolbar->HIMain-> ApplyTargetList & SaveTargetList are items. Did you try disabling them ?
Also , please look under Class [CSSSWEFrameList]
If you still cannot remove the Items and are using OpenUI, it could be possible to add a simple CSS rule to hide the entry in the menu list.

How to arrange items in descending way in sitecore using sitecore news-mover model?

I am working on sitecore project,where I have to access items in descending form.
How can I access Sitecore news mover model in descending order?
I am using Sitecore news mover model in my sitecore structure. Where I am accessing news mover model to accessing sitecore items in ascending way, but according to my project requirement how can I arrange the items in descending form?
I have tried to do with removing some item templates, but descending order is not appearing. Should I make any changes into other file?
We really need to see some code otherwise it is a total stab in the dark. Assuming that all you have to do is reverse the current order of the displayed item then you simple need to Reverse() the list, e.g.
var newsArticles = Sitecore.Context.Database.SelectSingleItem("/sitecore/content/home/news/2013").Axes.GetDescendants().Reverse();
You obviously need to handle the client "sort by asc/desc" functionality.
You might want to look at:
c# Trying to reverse a list
Of course, it would be much better to index and search using Lucene.
i solved this problem by simply add a config file in
App.config>>Include>>NewsMover.config
Then after specify your Template's path in NewsMover.config as following
<template id="user Defined/Home/Pages/Article Page" sort="Descending">
(Here Article Page is my Page Template which Created in user define Template section)

Search tags/facets in Sitecore Item Buckets

I'm looking to use the Sitecore Item Buckets package from Shared Source since I needed faceted search functionality and it makes sense to use the built in functionality rather than writing by own Lucene.Net search.
Sitecore Item Buckets
I'm having trouble with the search, or maybe I am reading the documentation wrong.
According to the documentation in section 2.2.3 & 3.1.3 I just need to mark a field as "Is Facet" and my filter will show in the search results.
I've also defined a tag field on the template and changed the Tag Parent field in "/sitecore/system/Modules/Item Buckets/Item Buckets Settings" to point to correct folder. This is working correctly, I can apply a set of tags to an item and search from the Bucket UI using "tag:CSharp" and it brings back the correct results, but again there is no filter shown in the list. I've rebuilt the bucket indexes in all cases.
Am I missing something? Should these show up in the list automatically, do I need to change some settings or provide my own implementation?
Screenshot
This is all within the Buckets Client UI, I haven't started writing any code yet, and on a clean install of Sitecore 6.5 (update-5/rev. 120706).
I'm not sure the documentation wording around this is entirely clear at the points I've mentioned. If you read further down the document though, section 4.3:
Item Buckets ships with 5 different types of faceting.
Templates
Fields
Dates
Locations
Authors
If you would like to introduce your own faceting categories then you only need to implement the IFacet interface.
There is an example of IFacet implementation in the documentation, or use dotPeek to look at the implementations of the existing Facets.
You also need to add an item to Sitecore: /sitecore/system/Modules/Item Buckets/Facets

How to set Tree View item as visible/invisible using Win32 api

I am working on a project implemented using WIN32 APIs, where I need some of the tree-view items at run time to be visible/invisible, based on some data entered by user. I have done some work, where I found that I can add/delete item in a tree-view control but can't find anywhere how to set item visible or invisible(I found some examples where it can be done through MFC).
I am looking for the way to set them as visible/invisible is simply because when I add an item, it requires significant back-end calculations, that repeated addition or removal will result in performance issues. I only want to do that calculation only once per tree view item.
One of the solution, I have thought, if setting tree-view item is not possible, is to simply have a linked list of tree-view items present, and add/delete only those items that are required to be visible/invisible.
Please, tell me if it is possible to set tree-view item's state as visible/invisible, If yes, then how? And if no, what can be other alternate solutions?
The standard TreeView control does not have any concept of node visibility. Adding/deleting nodes is the only option. You will have to maintain a separate linked list cache of data that the nodes display (which you should do anyway so you separate your UI logic from your business logic). Otherwise, you need to write your own TreeView control, or find a third-party implementation, that suites your needs.

SharePoint - List of Folders

I'm trying to implement a list where the only item type is a folder. If someone click "New" they are brought to a form that allows them to enter a folder name, description, and select either "Active" or "Inactive" from a drop-down menu. Inside the folder I want a simple list with only 2 columns.
I tried making a custom Folder content type with the columns I needed and making it the default content type. This seems to work to make the list of folders. Once I go inside the folder and try to change the internal view/list setting (I don't want to use the custom folder content type inside the folder...i just need 2 simple columns) it changes the settings for the list of folders as well. Is there any way for the internal list to have different settings than its parent?
I don't know if this issue is still relevant, but maybe someone else will find my answer useful.
I used to implement a list that contains only folders in the root, which in order can contain few item based content types.
There was two event receivers for FeatureActivated and ItemAdded events, which changes UniqueContentTypeOrder property (the list of content types available for user to create) of the lists root folder and a folder being created respectively. Like this:
List<SPContentType> ctl = new List<SPContentType>();
foreach (SPContentType ct in lst.ContentTypes) if (ct.Id.IsChildOf(SPBuiltInContentTypeId.Folder)) ctl.Add(ct);
lst.RootFolder.UniqueContentTypeOrder = ctl;
lst.RootFolder.Update();
Also, I designated different available list views for root folder and the folders it contains, by specifying ContentTypeID attribute for a View definition.
Unfortunately, no. Since SharePoint is Lists are not relational data, the only options to you are allowing several Content Types. If a content type is available to the list, it's available to the entire list (root, and sub-folders).
One possibility to model what you are trying to accomplish relies on SharePoint 2010 Enterprise. Infopath allows you to customize the New Item Form for a List. It might be possible to edit the form such that it only allows Folders on the Top Level, and List Items within a folder, but I don't know for sure - it's been a while since I customized a List Form with Infopath.