Dave Forber
  • Member for 8 years, 9 months
  • Last seen more than a month ago
  • Bristol, UK
Level of .NET experience needed to take the SDL courses
10 votes

I think it probably depends on what goals you're wanting to achieve. I managed fine with just front-end stuff (HTML, CSS, Javascript plus some PHP) any .NET knowledge 18 months ago, but I reckon you ...

View answer
Scalability Layer in Tridion Blueprinting
9 votes

If you put content or schemas into the root publication, then all of that is inherited down, whether you need it or want it or not. I always saw "Empty parent" as a fail safe. If you suddenly needed ...

View answer
Can Publish Transaction be updated via core service?
Accepted answer
7 votes

I don't believe this is possible. We had a similar case where we needed to increase the priority of some items in the queue. I tried similar in 2011 but used Save and not Update. It threw a similar ...

View answer
Outputting SVG image assets inline - can it be done?
Accepted answer
6 votes

We have a TBB "Output Multimedia Component as String", which may (or may not!) work for you with a little adaptation: BinaryContent binaryContent = component.BinaryContent; byte[] bytes = ...

View answer
Password protected JSP pages in Tridion based web application
6 votes

I implemented something similar using Tridion and JSP. In my use-case, a user had to verify they'd read some terms and conditions before they could see the content of the page, but that's easily ...

View answer
How to include partial (unbalanced) html in a Razor Mediator if statement?
Accepted answer
5 votes

Many ways to do this, but two that haven't been listed: @{ var colorClass= Fields.subtitle != null ? "subtitleColor" : "no-color"; } <div class="@colorClass"> That has the advantage of ...

View answer
Unable to Integrate the Digital Advertising Tracking Scripts in the DWT
5 votes

It looks like the linkAttributes bit is the problem. You have being rendered out: linkAttributes=" class="frame"" which looks like it should be more linkAttributes="class='frame'" Check quote/...

View answer
Dynamic content changes when you switch between Design and Source in a rich text field
5 votes

I was going to suggest an XSLT transformation, but there's nothing in the generated source that you could use to rebuild the original code. I don't think stripping out the CDATA will help; you'll ...

View answer
while reading metadata multi value field of a component, getting double the count of keywords in tom.net TBB
Accepted answer
4 votes

Without running the code, I think the problem is your initial for loop. If you look at the XML source of a Component with categories in the metadata (one of ours for example) : <Metadata xmlns="...

View answer
Javascript Anguilla API : Is there any meaningful API documentation online? (not auto-docs)
4 votes

As far as I can see, there is no "meaningful API documentation" that I can find either. There are, however, various tutorials online on putting together GUI extensions, for example: Validating ...

View answer
RTF fields converting html tags
3 votes

Tridion stores content as XML, therefore rich text fields must be valid XML in order for the component to save. <video src="something" controls>...</video> is not valid XML, since XML ...

View answer
Trying to create multimedia schema with core service : nullreference error
Accepted answer
3 votes

In the foreach loop you are redefining i each time, so i will always be 0. Consequently I suspect the remaining items in your array will by default be null.

View answer
How i attach Navigation menu on each pages on Sdl Tridion and how i display pages on click of navigation menu tab?
3 votes

What you want to avoid here is having to republish every page each time the navigation changes. It sounds like you are including the navigation as a TBB in each page, which is inefficient. In this ...

View answer
How to escape single quote Where Custom DWT function not allow to write
3 votes

If you need to prevent users from using single quotes, you can add a XSD restriction into the schema to allow only alphanumeric characters. Something like: <xsd:simpletype> <xsd:...

View answer
Unable to unpublish a lot of Components Presentations
2 votes

Unpublishing Components and Component Templates is a dangerous activity. If you unpublish a Component, you will, by default, unpublish every presentation of that Component (including the ones you ...

View answer
Content porting structure group fails
2 votes

Strangely enough we had this today on 2011. In our case, the root SG was inherited from 000 Empty Parent in the web publication and using Default Page Template. However, in the source CME it had ...

View answer
Implementing a Content Model for Tiles
Accepted answer
2 votes

This sounds like a job for jQuery Masonry, which could greatly simplify both your content model and your templating. Example: http://jsbin.com/lajawayu/1/edit?html,css,output (hit "Run with JS", ...

View answer
Why automatically remove the tridion:href="tcm:8-299" property from anchor tag?
2 votes

Assuming you were in the rich text editor and entering HTML ... the RTE will tidy up invalid HTML syntax. tridion:href does not exist in any HTML implementation and is a custom tag so is likely just ...

View answer
Unable to add new user from active directory
1 votes

We had a similar issue in 2011 and never resolved it, having never tried any of the above. Users were created (at cost) through some Middleware process. However we found it was easy enough to work ...

View answer
Multiple template classes in assembly have the same TcmTemplateTitle attribute - TcmUploadAssembly.exe
1 votes

When you upload a .NET Assembly into Tridion (at least in 2011!), you specify a target folder, e.g. TcmUploadAssembly /folder:tcm:14-60-2 MyConfig.xml MyDll.dll If you look in that folder, in our ...

View answer
Get "local" Page using Core Service based on Component
Accepted answer
1 votes

I think you can use the resolver for this, depending on how exactly you need it to work. We have a "Get pages that would be published" Core Service utility. It resolves the Component and then ...

View answer
Why does item not adhere to workflow minimum approval status
1 votes

Unless I'm misinterpreting, this seems to be expected behaviour. This is because the existing version (which is a major version by default, since you are editing it) has the correct approval status. ...

View answer
Increment TemplateBeginIndex in a DWT
Accepted answer
1 votes

In 2011, one of the templates is using <span class="number">@@parseInt(${TemplateRepeatIndex})+1@@</span> I believe DWT to JScript based, so you can use stuff like that to enforce type. ...

View answer
How css and js are loaded on published pages?
1 votes

Whilst you could (and probably should) argue that neither CSS and Javascript is content and therefore shouldn't be in the CMS, realistically many companies' front-end teams look after these files but ...

View answer
Archive Manager - not cleaning up temporary files
Accepted answer
0 votes

It seems the files can be safely deleted. We took the sensible approach and moved the directory to a different location with no obvious ill effects. The moved directory has now been deleted and the ...

View answer
Convert multimedia Component to bytes
0 votes

If all you're trying to do is publish a linked Multimedia Component, then the following should work: Component linkedImage = (Component)engine.GetObject(linkedImageId); if (linkedImage != null) { ...

View answer
How to Get parent component from child embed component recursive Tridion 2011 TBB C#
0 votes

I have MyDoc but I need to get the Page which contains my doc component It seems that you're trying to Resolve items in this TBB, i.e. determine which items would be published if you were to publish ...

View answer
How can I check if field is null or empty in DWT?
0 votes

I think this is just due to missing quotes. StringLength(@@Get("your_field_path")@@) will likely render to: StringLength(This is my field value) This will error since the rendered string isn't in ...

View answer
Publishing updated component links in tridion workflow publishes pre-updated version
0 votes

We use Dreamweaver TBB template types with component presentations set to 'Publish Embedded on a Page'. The only way I can manage to get this to work is by changing the Component Template to "...

View answer