sitecore

Can I get all the fields in an item (in Sitecore)?

I'm trying to write a sql query to get all the fields in a given item in Sitecore. To say I am stuck is putting it mildly. I'm guessing I have to do some self joining on the fields table, but I'm getting myself in knots. Anyone have any ideas? ...

Sitecore IndexFolder (override default setting) not working

I've recently had some trouble moving the location of the indexes folder (for the in built Sitecore Lucene indexes). I have updated the setting "IndexFolder" (originally in web.config but moved out into include). The config output in http://{mydomain}/sitecore/admin/showconfig.aspx is correct, the setting has the correct path (now in th...

Getting an exception when site is pushed to production

This is probably a shot in the dark but here goes nothing... I have a Sitecore 6 site that I am developing locallty. When I pushed it to the production server, I now get an exception when trying to access the site. I had done an upgrade of the Sitecore version, and added the Forms module, among some other minor edits. So I moved ever...

Sitecore set/change default language from 'en'

Can anyone recommend the best way to change the default language in Sitecore 6.1. On a fresh install, the typical language for all items is 'en' English, witha nice little USA flag and all. However, we are setting up a system which is targeting en-AU and en-NZ. When I rename the main 'en' language item in any database, every other item ...

How to create a function that resizes text on a page without javascript ?

Does anyone have any ideas how to create a function that resizes text on a page dynamically without the use of JavaScript? I'm using CMS based on C#? Is it possible with CSS only? if it's not possible then i want to do with javascript like this page http://demo.joomla.org/1.5/?template=beez and as a fallback want to user server side sol...

Which version of RAD Editor is Sitecore 6 using?

I want to know which version of RAD Editor is Sitecore 6 using? this page has many version but which is in Sitecore 6 I don't know see about version info here ...

What is keyboard shortcut to delete items in Sitecore ?

What is keyboard shortcut to delete items in Sitecore ? ...

Sitecore xsl localisation

When testing with .. /xsl/sample rendering.xslt ..which is a simple rendering provided out of the box by Sitecore, I notice that, in the loop that outputs the item's children, all children are included, regardless of whether those items have a version in the current language. Is this normal? ... And is there a way to force/check the ...

Test for Descendant Items

I am trying to create a simple inventory of items in a Sitecore website using an xslt. The problem is that I can't find a way to test whether an item has descendant items beneath it. It's easy to get the top level set like this: <xsl:template match="*" mode="main"> <table width="100%" class="alternating"> <xsl:for-each select="./it...

Get Children Recursively in Sitecore CMS .NET

Does anyone know how to recursively get the children of an item in a Sitecore web control? I'd rather not use Sitecore query because some of my paths have dashes in them which really screws things up. The Sitecore.Context.Item.getChildren() and Sitecore.Context.Item.Children property both returned just the top level children. ...

Lucene.Net Search List

I'm using Sitecore and have a multilist field I'd like to use Lucene to search on. The problem I have is that the field is a pipe-delimited list of actual values and there could be between 0 and an infinite (theoretically speaking, actually there's probably only a thousand or two possibilities) number of items in this list. I haven't b...

Moved a Sitecore 6 site to production but got a Media.UploadWatcher Exception?

Has anyone seen an exception relating to the Media.UploadWatcher? I don't have the error handy, but the exception was causing all pages to not load, even the admin section. In order to fix it, I reset the application pool and the site came back up right away. I know that the client was uploading some large files through the content ed...

Should i use transtional doctype over strict for CMS based sites where client will update site in future?

In any CMS based site after my work in future client or any client's staff (non-technical) will update website through WYSIWYG editor and it's surely possible they could use deprecated tag or any non-semantic and non validated code. so in this condition would it be better to use transtional doctype over strict for CMS based site? ...

Sitecore Lucene indexing - save child field values in parent Lucene doc

I have a Sitecore content structure where any single item can have a number of child items that are used to store enumerable content for lists (obviously a fairly standard approach). I am hoping to index these items but store their index data against the parent doc in Lucene. This should hopefully speed up the search bit, by saving time ...

Lucene.net IndexSearcher.search no results

I'm using the Sitecore WCMS and have a piece of C# code that uses Lucene.net to search an index based on some criteria. I'm using the IndexSearcher class as follows: Database webDB = Sitecore.Context.Database; Sitecore.Data.Indexing.Index index = webDB.Indexes["CampusNewsIndex"]; IndexSearcher indexSearcher = index.GetSearcher(webDB); B...

Passing Parameters to a Sitecore Sublayout

I've done this before with a web control, but I can't seem to get it to work with a sublayout. On the Presentation Details for a particular item I'm assigning my Sublayout and then in the additional parameters section specifying the parameter. Here's the code that's in the code-behind for my sublayout. When I run the debugger, RenderP...

Xsl failing in Sitecore install

I have a Sitecore 6.2.0 (rev. 091012) installed and working perfectly, except one thing - every xsl rendering i have is failing to run, and the xsl error i get is "System.Exception: Could not resolve type name: Demo.Samples.XslHelper, MyDemo.....". I have no idead what this is and how to fix this - any suggestions? My user controls are w...

How do I hook the Save event in Sitecore Page Editor?

I'm creating a custom edit control for my content authors to use in the Page Editor. Of course this means I want my control to save data to an Item when the user clicks on the Save button. How is this done? I've looked through many reams of documentation... feel like I'm missing something basic. Surely I can add my own event handle...

Sitecore Workflow Process

WorkflowPipelineArgs.Parameters fields is not getting populated with the Parameters specified in the Action of a Workflow command. Anybody has any idea please help. ...

Stacktraces dangerous on a live website?

We are running multiple Sitecore websites and just got feedback that it might be dangerous to have stacktraces available to users of the website when getting errors. Will the website be alot more vulnarable to hackers now that people get stacktraces? ...