Active topicshttp://our.umbraco.orgumbracoLatests topics from the forum on our.umbraco.orgenBlog module in Umbraco 5http://our.umbraco.org/forum/getting-started/questions-about-runway-and-modules/31804-Blog-module-in-Umbraco-5Thu, 17 May 2012 03:12:14 GMThttp://our.umbraco.org/forum/getting-started/questions-about-runway-and-modules/31804-Blog-module-in-Umbraco-5Hello every1,

Am quite new to using umbraco. I am trying to implement a blog like wordpress using umbraco 5. Can you please guide me in this task?

Thank you very much.

]]>
Unable to view Templatehttp://our.umbraco.org/forum/core/umbraco-5-general-discussion/31781-Unable-to-view-TemplateWed, 16 May 2012 11:56:17 GMThttp://our.umbraco.org/forum/core/umbraco-5-general-discussion/31781-Unable-to-view-TemplateHi All,

While trying to view the markup of templates I'm getting The page cannot be found error. Getting same error in partial views, macro partial views, scripts.

The site is hosted in Windows Server 2003 and IIS 6 I think. Any hepl please?

Thanks in advance

PTamang

 

 

]]>
Inline razor functionhttp://our.umbraco.org/forum/developers/razor/31801-Inline-razor-functionWed, 16 May 2012 20:38:31 GMThttp://our.umbraco.org/forum/developers/razor/31801-Inline-razor-functionHi,

I am creating a table which will display a set of true/false values as green and red dots (images).

What I want to do is have a function which takes the 0 or 1 value and returns a path to the correct image.

I want to do all of this inline inside the template.

I am new to razor and I have no idea where to even start.

Can anyone show me an example or point me at some resource?

 

Thank you!

]]>
Richtext editor property on a Media type - HTML tags are stripped when rendered?http://our.umbraco.org/forum/developers/razor/31803-Richtext-editor-property-on-a-Media-type-HTML-tags-are-stripped-when-renderedThu, 17 May 2012 01:33:10 GMThttp://our.umbraco.org/forum/developers/razor/31803-Richtext-editor-property-on-a-Media-type-HTML-tags-are-stripped-when-renderedThe problem is that when I try to output the property value on a Media Type that is created/entered using the (standard/built-in) Richtext Editor, all of the HTML tags are stripped and paragraphs are converted to double-linebreaks.  I'm not sure how to disable this "feature" because then my precious markup is not displayed as intended. I do not have any problems with this on my Document Types.

What I did: I added a new property onto the built-in "Image" media type called "description"---it is using the standard, built-in Richtext Editor data type. When I edit my media items in the backoffice, everything looks great and I have confirmed my HTML tags are still present after I save the item. (So they are not being stripped there.)

However, in my Razor script, ... no matter how I try to output this description, it is always giving me a stripped-down version with no HTML tags whatsoever and paragraphs are converted to double-linebreaks. Keep in mind, I have no problems with and am doing this the same way as I do with my Document Types; it is only the Media Types that exhibit this behavior.

I have tried a combination of @Html.Raw, x.ToString(), etc., and don't know what's causing this.  Looking into the umbraco source code, it seems that a DynamicMedia object is pretty much the same as a DynamicNode object, so I'm not sure why there is such a diiference.Perhaps in how they are loaded/instantiated: I'm still trying to track this down.

Here's the code I'm working with so far: I have verified that "item" is non-null and of type DynamicMedia. Showing the image tag (the SRC at ALT attributes you see below) works just fine, except for the description!  Viewing the page source in my browser shows a stripped-down version that I do not want...

var item = @Library.MediaById(id);
<div class="photo">
    <img src="@item.umbracoFile" alt="@item.Name" />
</div>
<div class="description">
    <p>None of the following three ways seems to work...</p>
    @item.description
    @Html.Raw(item.description.ToString())
    @item.GetProperty("description").Value
</div>

Thank you for any help/guidance!

]]>
Problem with umbraco.MacroEngines.DynamicNode.ExecuteExtensionMethodhttp://our.umbraco.org/forum/developers/extending-umbraco/30690-Problem-with-umbracoMacroEnginesDynamicNodeExecuteExtensionMethodWed, 11 Apr 2012 14:34:46 GMThttp://our.umbraco.org/forum/developers/extending-umbraco/30690-Problem-with-umbracoMacroEnginesDynamicNodeExecuteExtensionMethodHi,

We are having an issue with a fresh umbraco installation. We have built several apps over Umbraco CMS and it's the first time we are having this issue.

I profiled the app using JetBrains DotTrace and I found that the method:

umbraco.MacroEngines.DynamicNode.ExecuteExtensionMethod takes like 5 seconds to execute.

Each request take about 20 seconds to run and 80% of the timespan is due to this method.

 

As you can see, the method is executed about 200 times.

There is alos a .ToList() that takes about 5 seconds too.

Anyone has an hint about why it takes so long?

Thanks,

Charles

]]>
building an exam online using Umbraco 5http://our.umbraco.org/forum/core/umbraco-5-general-discussion/31802-building-an-exam-online-using-Umbraco-5Thu, 17 May 2012 00:48:54 GMThttp://our.umbraco.org/forum/core/umbraco-5-general-discussion/31802-building-an-exam-online-using-Umbraco-5

Umbraco Team

 

We would like to build an exam online (TOEFL, GRE, ...) using an open source software. I wonder If Umbraco would meet at least 70% of our organizational needs. Here are some of our questions. 

 

01. Does it support Right-to-Left languages?

02. Are there workflow management capabilities?

03. Is version control possible?

04. Does the GUI accept foreign language input or is it necessary to prepare/edit content offline?

05. Import zip files, xml, SCORM files, doc, docx, and txt.

06. Has Dynamic dashboards

07. Has Data dynamic grid views

08. Is the login system Secured

09. Export pdf, excel , docx files

10. Multimedia repository

11. Does it support foreign languages?

12. Does it support hierarchy Level of User Management? what roles and responsibilities

13 Does it support folder and file management

 

Your answers will help us to determine whether to purchase Umbraco services or not. I look forward to hearing from you.

 

Sam

]]>
Umbraco 5 Supporthttp://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/31796-Umbraco-5-SupportWed, 16 May 2012 18:41:43 GMThttp://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/31796-Umbraco-5-SupportHey Marcus I was wondering do you have a roadmap towards Umbraco 5 compatability?

Cheers

]]>
Search two rootshttp://our.umbraco.org/projects/website-utilities/xsltsearch/xsltsearch-how-to/31784-Search-two-rootsWed, 16 May 2012 15:11:06 GMThttp://our.umbraco.org/projects/website-utilities/xsltsearch/xsltsearch-how-to/31784-Search-two-rootsI have a site with some landing pages organised in a folder at the same level as the root i.e.

home
-- page
-- page
landing pages
-- landing page
-- landing page

When searching the site I would like to search these landing pages as well as the home and pages under it.

I think I'd need to modify the param when it calls the search template but I'm not exactly sure how.  Can anyone help.

]]>
General XSLT for displayhttp://our.umbraco.org/projects/backoffice-extensions/embedded-content/general/31798-General-XSLT-for-displayWed, 16 May 2012 19:45:36 GMThttp://our.umbraco.org/projects/backoffice-extensions/embedded-content/general/31798-General-XSLT-for-displayI have been trying to create a general XSLT to display all the content of the datatype by passing in the name of the field it uses in umbraco but so far it isn't displaying anything. 

I don't really know what to do with this, i can pass in the name, i can pass in a field of a different datatype but i can't seem to pass in this data type and have the foreach loop run through all the parts of this field. what is wrong with this?

<umbraco:Macro Field="[#list1]" Alias="CheckLists" runat="server"></umbraco:Macro>
<umbraco:Macro Field="[#list2]" Alias="CheckLists" runat="server"></umbraco:Macro>
<xsl:param name="ListField" select="/macro/Field"/>
<xsl:param name="currentPage"/>

<xsl:template match="/">
  <div id="test">
    <xsl:for-each select="$ListField/data/item">
      <p><xsl:value-of select="listitem" /></p>
    </xsl:for-each>
  </div>
</xsl:template>
]]>
Is it possible to retrieve the destination node when redirected to Login using XSLThttp://our.umbraco.org/forum/developers/xslt/31794-Is-it-possible-to-retrieve-the-destination-node-when-redirected-to-Login-using-XSLTWed, 16 May 2012 18:18:49 GMThttp://our.umbraco.org/forum/developers/xslt/31794-Is-it-possible-to-retrieve-the-destination-node-when-redirected-to-Login-using-XSLTHi guys,

I'm currently creatin a news site that requires membership. I'm using out-of-the-box umbraco membership. What I want to do is: when you navigate to the newsitem, instead of only seeing the login form (standard asp:Login), I want to also include part of the page. Say a picture and som intro text.

The problem is that when you get redirected to the Login page I don't have any information (nodeId and such) on the page that I'm trying to view to get that information.

Can I, using xslt, somehow retrive the nodeId of the page that I was trying to view?

Thanks.

 

]]>