ActiveTopics https://our.umbraco.org Wed, 02 Sep 2015 10:20:35 +00:00 umbraco Latests topics from the forum on our.umbraco.org en Finding first descendant with a specific template id ? https://our.umbraco.org/forum/developers/razor/71095-finding-first-descendant-with-a-specific-template-id https://our.umbraco.org/forum/developers/razor/71095-finding-first-descendant-with-a-specific-template-id Hi Folks

How to get the first descendant where templateid = 123 from currentpage ?

]]>
Sebastian Dammark Wed, 02 Sep 2015 10:15:02 +00:00
Change databasetype for datatype https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71094-change-databasetype-for-datatype https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71094-change-databasetype-for-datatype Hi all!

For a datatype I'm experiencing some problems due to it's databasetype which is set to nvarchar instead of Ntext

Is there a way to change the databasetype without using code or changing the database? Also there's already a lot of data in the database, so it would be nice to have some sort of backward compatibility.

Thanks in advance!

]]>
Mark Wemekamp Wed, 02 Sep 2015 10:12:18 +00:00
Hijacking routes https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71093-hijacking-routes https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71093-hijacking-routes Hi,

I want to hijack routes.

I was following this: https://our.umbraco.org/documentation/reference/routing/custom-controllers

But, where are you suppose to add the controller class?

Do you call it HomeController.cs?

Where is it supposed to live? Do you add it to the controller folder in the root of the Visual Studio project? Or does it go in the Umbraco folder somewhere?

Thanks a lot!

]]>
Damon Wed, 02 Sep 2015 10:07:58 +00:00
find where file is in umbraco media section using id https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71092-find-where-file-is-in-umbraco-media-section-using-id https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71092-find-where-file-is-in-umbraco-media-section-using-id I have a file being picked up externally which I've been told has been deleted by the author.

If I go into the Media section on the server I can find the folder with the id 343565 which has the "deleted" file in it.

There is a deep folder tree in our Media section when using the Umbraco backend, is there an easy way to search in the back end using the 343565 id to find it so I can check whether it has been deleted?

It would be useful to know how to do this in v7 too (if it is different) as I will be upgrading to v7 soon.

]]>
Steve Wilkinson Wed, 02 Sep 2015 09:54:59 +00:00
Umbraco 7.2.2 - Content.PostSave() extremely slow https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71090-umbraco-722-contentpostsave-extremely-slow https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71090-umbraco-722-contentpostsave-extremely-slow Hey guys,

I have a pretty big problem with Umbraco at the moment. Whenever I try to save & publish content for a website, the function Content.PostSave() just runs forever without publishing anything. We have so far verified the following:

  1. It only happens on the live server, local and test server are unaffected.
  2. It is not due to any web.config Sitemap tags.
  3. I run version 7.2.2 which is unafected by the umbraco.config bug?
  4. I am not running Windows Server 2012 R2
  5. There are no relevant logs
  6. It is not caused by server performance, other websites and the frontend of this website are unaffected.

Is there anything I can try to resolve this issues? We have a pretty important weekend coming up, so updating will really be a least resolve due to the chance something breaks. enter image description here

]]>
Dave de Moel Wed, 02 Sep 2015 09:23:38 +00:00
Populating custom DropDown propety https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71089-populating-custom-dropdown-propety https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71089-populating-custom-dropdown-propety Hello,

I'm uploading files to umbraco using the ContentService API. It's all currently working fine but i'm having trouble with DropDown

IContent contentNode;

contentNode.SetValue("date", myitem.ExpiryDate); // populates a date
contentNode.SetValue("reference", myitem.Reference); // populates a text box
contentNode.SetValue("status", "Online"); // remains empty

status is a custom property of the datatype "Status" which is a "Dropdown List" with 3 values; "Online, Approval, Offline".

Any helps appreciated, is a dropdown list the right datatype i want? there were 4 to choose from.

Thanks, Fred

edit: version is 7.2.4

]]>
Fred Wed, 02 Sep 2015 09:05:27 +00:00
Loadbalancing issues in 7.3-beta3 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71088-loadbalancing-issues-in-73-beta3 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71088-loadbalancing-issues-in-73-beta3 Hi

Currently we are running a Umbraco 7.3-beta3 in azure.

We have the following setup :

  • 1 VM that is used for content editing
  • 1 Web app at the moment for front end (umbraco backend access is restrictred using IIS rewrites)

When I publish something in the content editing instance (VM) these changes are not always visible on the front end (Web app)

When I look in the umbracoServer table I see both instances as active. Also the last notified date get's updated after changes for both instances.

But when I log in through FTP on the web app I see that the file in /App_Data/TEMP/DistCache/ doesn't have the latest id found in the umbracoCacheInstruction table

When the web app restarts this get's updated all content changes are visible.

Am I missing some config settings or code to make this work?

It seems to work flawless on our dev environments. When one developer publishes something on his machine, all other registered instances are updated.

Dave

]]>
Dave Woestenborghs Wed, 02 Sep 2015 08:20:13 +00:00
Empty Image problem using MeidaService to programaticaly create and Umbraco Media Image https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71087-empty-image-problem-using-meidaservice-to-programaticaly-create-and-umbraco-media-image https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71087-empty-image-problem-using-meidaservice-to-programaticaly-create-and-umbraco-media-image Dear Umbraco folk,

The following code is working to create and "empty" image node in Umbraco BackOffice / Media section

var ms = ApplicationContext.Current.Services.MediaService;
    var newImage = ms.CreateMedia(imageSourcePathPrimaryString, tTImagesFolderID, "Image");
    ms.Save(newImage);

However - Then I am trying to "populate" that "empty" image node with an image and properties. To do this I am trying to use the following code:

imageSourcePathPrimaryString = "/images/microsoft/catalog/Box_Microsoft.jpg";
    string physicalImagePath = System.Web.HttpContext.Current.Server.MapPath(imageSourcePathPrimaryString);
    System.IO.FileStream imageFileStream = new System.IO.FileStream (physicalImagePath, FileMode.Open);
    string imageFileName = imageFileStream.Name;
    newImage.SetValue("umbracoFile", imageFileName, imageFileStream);

But the image remains "empty" with no image to be seen and not Width, Height, Size or Type properties set.

Am I approaching this the right way ? Can anyone see what I might be doing wrong ?

Thanks all.

Terry Clancy ClanceZ

]]>
Terry Clancy Wed, 02 Sep 2015 08:07:45 +00:00
Courier 2 Express grid content https://our.umbraco.org/forum/umbraco-pro/courier/71086-courier-2-express-grid-content https://our.umbraco.org/forum/umbraco-pro/courier/71086-courier-2-express-grid-content Hi, we're looking at getting a license for Courier 2 and want to check that the Express version will be able to transfer content entered through custom grid editors.

Thanks

]]>
Nik Bennett Wed, 02 Sep 2015 07:58:04 +00:00
Umbraco Forms DateTimePicker https://our.umbraco.org/forum/umbraco-pro/contour/71085-umbraco-forms-datetimepicker https://our.umbraco.org/forum/umbraco-pro/contour/71085-umbraco-forms-datetimepicker I've tried to create a second DatePicker, but one that also allows for Time to be selected.

My FieldType.DateTimePicker is

@model Umbraco.Forms.Mvc.Models.FieldViewModel
@{
    string val = string.Empty;
    if (Model.ValueAsObject != null && Model.ValueAsObject != "")
    {
        DateTime d;
        d = (DateTime)Model.ValueAsObject;
        val = d.ToShortDateString();
    }
}
<input type="text" name="@Model.Name" id="@Model.Id" class="datepickerfield" value="@val"
       @{if (Model.Mandatory)
       {
           <text> data-val="true" data-val-required="@Model.RequiredErrorMessage" </text>
       }}
/>

The file is placed under Partials/Forms/Fieldtypes.

I also have a DateTimePicker.cs class

namespace FALCO_CLIENT.App_Plugins.UmbracoForms
{
    public class DateTimePicker : Umbraco.Forms.Core.FieldType
    {
        [Umbraco.Forms.Core.Attributes.Setting("ValueAsObject", description = "DateTimePicker", view = "DateTimePicker")]
        public DateTime ValueAsObject { get; set; }

        public DateTimePicker() {
            //Provider
            this.Id = new Guid("D6A2C406-CF89-11DE-B075-66B155D89593 ");
            this.Name = "DateTimePicker";
            this.Description = "Renders a html input";
            this.Icon = "icon-autofill";
            this.DataType = FieldDataType.DateTime;
            this.SortOrder = 10;
        }


    }
}

and I have a small View (DateTimePicker.html) for the class:

<input tabindex="-1" type="text" /> <button class="btn"><i class="icon icon-calendar"></i></button>

In Umbraco Forms I do get the option to "pick" DateTimePicker, but it only generates a Text-field which I can write in.

What am I doing wrong?

As a follow up question: Where do I set the DatePicker to allow Time, and not just Date? I was thinking that I would do it in the umbraco.forms.js, but I can't find the correct place.

]]>
Robert Stigsson Wed, 02 Sep 2015 06:13:47 +00:00
Not Publishing to all Load Balancing Site https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71084-not-publishing-to-all-load-balancing-site https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71084-not-publishing-to-all-load-balancing-site I have a umbraco site setup in Azure for load balancing. It has been working fine

But we have encountered a issue where it hasn't published updates out to all the site instances. So depending on what instance, you are on you might see the updated content.

I don't know if it is related or not, but we also recently upgraded to 7.2.8 (was 7.2.1) and getting the following 2 errors come through

System.Web.HttpException: A public action method 'Index' was not found on controller 'Umbraco.Web.WebServices.ScheduledPublishController'. Generated: Wed, 02 Sep 2015 05:27:16 GMT

And this one

System.Web.HttpException: The file '/umbraco/ping.aspx' does not exist.

]]>
Nadia Wed, 02 Sep 2015 05:37:10 +00:00
Adding Content to Umbraco with javascript https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71083-adding-content-to-umbraco-with-javascript https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71083-adding-content-to-umbraco-with-javascript I have been trying to add a content with a script element and with onclick event. Every time i try saving it, it removes the onclick tag and script element. I already tried adding script tag in the tinymce config. Can anyone please shed some light on this issue?

]]>
Darren Wed, 02 Sep 2015 03:30:17 +00:00
Database model and Umbraco implementation https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71082-database-model-and-umbraco-implementation https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71082-database-model-and-umbraco-implementation Hi there, I have designed a database model, and I want to develop my application using Umbraco, my question is when I start to create my database tables, when I should use a document type and when create directly a SQL Server table. Is there any guideline for this kind of development? and after creating database how should write my stored procedures when some tables are document type and others SQL tables? Thanks

]]>
Mehrdad Wed, 02 Sep 2015 02:59:12 +00:00
Nested Partial is not using css from Master Layout? https://our.umbraco.org/forum/using/ui-questions/71081-nested-partial-is-not-using-css-from-master-layout https://our.umbraco.org/forum/using/ui-questions/71081-nested-partial-is-not-using-css-from-master-layout I have a Products.cshtml that was created in the backoffice. I created a partial called ProductsFilter.cshtml in Visual Studio and it is in Products.cshtml like so:

@{
    Html.RenderPartial("ProductFilter",new ProductFilterModel());
 }

I noticed most of Products.cshtml gets css styles applied to it correctly from the Master Layout, but the Partial does not. When I html source of the rendered page, I can see the stylesheet link at the top, so it is really confusing as to why it is not getting the styes.

]]>
Saied Wed, 02 Sep 2015 02:58:48 +00:00
Why does Umbraco return the current view if I am returning a different view? https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71080-why-does-umbraco-return-the-current-view-if-i-am-returning-a-different-view https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71080-why-does-umbraco-return-the-current-view-if-i-am-returning-a-different-view I created a Products.cshtml document type and template in the backoffice. On the Products.cshtml, I have a partial view that I created in Visual Studio called ProductsFilter.cshtml. I have a controller called ProductsFilterController that has one method on it:

public class ProductFilterController : SurfaceController
{
    [HttpPost]
    public ActionResult SearchResults(ProductFilterModel productFilterModel)
    {

        return View(productFilterModel);
    }
}

My SearchResults.cshtml which was also created in Visual Studio holds is the View that I pass the ProductFilterModel to, but when I look at the Url in the browser, it points to http://localhost/products with the SearchResults view. I was expecting it to be http://localhost/productsfilter/searchresults

Can someone explain why this is happening?

]]>
Saied Wed, 02 Sep 2015 02:53:10 +00:00
Umbraco 7+ https://our.umbraco.org/projects/backoffice-extensions/backoffice-power-scripts/backoffice-power-scripts-feedback/71079-umbraco-7plus https://our.umbraco.org/projects/backoffice-extensions/backoffice-power-scripts/backoffice-power-scripts-feedback/71079-umbraco-7plus Any thoughts on how to achieve something similar in umbraco 7? for now I just want to hide the preview button if there is no template.

https://our.umbraco.org/forum/developers/extending-umbraco/24663-How-to-hide-Preview-button-on-documents-with-no-templates#comment-228504

Cheers. Murray.

]]>
Murray Roke Tue, 01 Sep 2015 22:35:04 +00:00
RenderModel expected error? https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71078-rendermodel-expected-error https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71078-rendermodel-expected-error I have a partial view called ProductFilter.cshtml. It is in a view Products.cshtml and defined like so:

@{
    Html.RenderPartial("ProductFilter",new ProductFilterModel());
}

The ProductFilterModel looks like this:

public class ProductFilterModel
{
    public string Make { get; set; }
    public string Model { get; set; }
    public string Year { get; set; }
    public string Engine { get; set; }
}

I have a controller ProductFilterController that looks like this:

public class ProductFilterController : SurfaceController
{
    [HttpPost]
    public ActionResult SearchResults(
                   ProductFilterModel productFilterModel)
    {
        return View(productFilterModel);
    }
}

When I go to the Products page and click on search, I get the error that it excepts a RenderModel, but I am passing it a ProductFilterModel

My SearchResults.cshtml looks like this:

@model ProductFilterModel

@{
    Layout = "../Master.cshtml";
}

@Model.Engine

If I remove the Master, everything works, but I lose all styling.

]]>
Saied Tue, 01 Sep 2015 20:09:12 +00:00
Bazaar Integration https://our.umbraco.org/projects/collaboration/merchello/merchello/71077-bazaar-integration https://our.umbraco.org/projects/collaboration/merchello/merchello/71077-bazaar-integration I like the work you done with the Bazaar Sample. All options are included and ready to work! But do we have a way to integrate it to an existing site? I need to replace an umbraco "home made" cart that do not work well. I was thinking reusing the Bazard document type, models and controllers. Then changing some part of the Bazaar views or using the partial view in custom page to reflect the color, theme or current site design.

What is my best way to achieve that?

  • I can use the source code in GitHub and recreate some part need from the bazaar sample. But hard to update with new functions added by Merchello.
    • Can i use partial view from my custom page?

Thanks for your help.

]]>
PierreD Savard Tue, 01 Sep 2015 19:58:39 +00:00
TinyMCE Allow ARIA role type https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71076-tineymce-allow-aria-role-type https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71076-tineymce-allow-aria-role-type After save b]]> Hi,

I'm trying to have TinyMCE allow all ARIA attributes in the HTML.

Example:

<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel>

After save becomes:

<div id="myModal" class="modal fade">

I have added the following to tinyMceConfig.config

<validElements><![CDATA[*[*]]]></validElements>

And have added the following to umbracoSettings.config

<TidyEditorContent>False</TidyEditorContent>

And touched the web.config file on each save. Any ideas?

]]>
Dana Halter Tue, 01 Sep 2015 17:06:56 +00:00
MyDomain.com/umbraco gives a blank page https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71074-mydomaincomumbraco-gives-a-blank-page https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71074-mydomaincomumbraco-gives-a-blank-page The front office works fine but when I try to open the back office with MyDomain.com/Umbraco, I get a blank page; its source code is:

<!DOCTYPE html>

<html lang="en">
<head>
    <base href="/umbraco/" />
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="robots" content="noindex, nofollow">

    <title ng-bind="$root.locationTitle">Umbraco</title>



    <link href="/umbraco/assets/css/umbraco.css" type="text/css" rel="stylesheet"/><link href="/umbraco_client/tree/treeicons.css" type="text/css" rel="stylesheet"/>


</head>
<body ng-class="{touch:touchDevice,emptySection:emptySection}" ng-controller="Umbraco.MainController" id="umbracoMainPageBody">
    <div ng-hide="!authenticated" ng-cloak id="mainwrapper"  id="mainwrapper" class="clearfix" ng-click="closeDialogs($event)">

        <umb-navigation></umb-navigation>

        <section id="contentwrapper">
            <div id="contentcolumn" ng-view>
            </div>
        </section>

    </div>

    <umb-notifications></umb-notifications>



    <script type="text/javascript">
        var Umbraco = {};
        Umbraco.Sys = {};
        Umbraco.Sys.ServerVariables = {
            "umbracoUrls": {                
                "authenticationApiBaseUrl": "/umbraco/backoffice/UmbracoApi/Authentication/",
                "serverVarsJs": '/umbraco/ServerVariables?umb__rnd=ffffffffae83792a'
            },
            "application": {
                "applicationPath" : "/"
            }
        };       
    </script>


    <script type="text/javascript" src="lib/rgrove-lazyload/lazyload.js"></script>
    <script type="text/javascript" src="/umbraco/Application?umb__rnd=ffffffffae83792a"></script>



</body>
</html>

I must have messed something up! Any ideas what?

Your help would be much appreciated.

Thanking you in anticipation.

Roger

]]>
Roger Withnell Tue, 01 Sep 2015 16:50:09 +00:00
Courier doesn't copy media with relation https://our.umbraco.org/forum/umbraco-pro/courier/71072-courier-doesnt-copy-media-with-relation https://our.umbraco.org/forum/umbraco-pro/courier/71072-courier-doesnt-copy-media-with-relation We have Courier 2.50.1 installed on two test environments (with only a change in subdomain). We can successfully Courier content items over, however media items are copied but without the corresponding file items. We are using an Amazon S3 file system provider (Umbraco.Storage.S3 package by Elijah Glover). The UmbracoTraceLog shows us nothing with regards to any issues, but the Courier log shows us this repeated over and over:

2015-09-01 15:52:19,409 [9] ERROR Umbraco.Courier.Core.ItemCrudProvider - [Thread 85] An error occurred in RetrieveItem<T>
System.NullReferenceException: Object reference not set to an instance of an object.
   at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.TagRelationsItem.RetrieveItem(ItemIdentifier itemId)
   at Umbraco.Courier.Core.ItemCrud`1.RetrieveItem[T1](ItemIdentifier itemId)
   at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId)
2015-09-01 15:52:19,690 [9] ERROR Umbraco.Courier.Core.Diagnostics.Logging.RevisionLog - [Thread 85] [Error]; Item Id: a5591e0c-70db-4c56-afd4-53f3e5deb9f6; Caller: Umbraco.Courier.Persistence.V6.NHibernate.NHibernateProvider; Process: PersistenceManager; Msg: Could not retrieve item: 

 System.NullReferenceException: Object reference not set to an instance of an object.
   at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.TagRelationsItem.RetrieveItem(ItemIdentifier itemId)
   at Umbraco.Courier.Core.ItemCrud`1.RetrieveItem[T1](ItemIdentifier itemId)
   at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId);
System.Exception: Error logged

The media is related using a parent-child relationship (which is setup on both source and destination).

I can't log an official ticket as the person who has the credentials to log into the account is on sick leave today. Any help from HQ/core would be appreciated.

Thanks,

Benjamin

]]>
Benjamin Howarth Tue, 01 Sep 2015 15:17:52 +00:00
Using grid-layout with razor macro https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71070-using-grid-layout-with-razor-macro https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71070-using-grid-layout-with-razor-macro Hello, I have upgraded a project running on 4.7.2 to 7.2.8 and made it run.

Because it is such an old project it is still using masterpages and razor macros. I was hoping to use the grid-layout, but rendering it doesn't seem to work with this setup. I'm guessing this is because the macros inherit from umbraco.MacroEngines.DynamicNodeContext and not something like UmbracoViewPage.

Is their any way of using the grid-layout with the setup I have or is the answer that it simply isn't supported?

Cheers, HĂ„vard

]]>
Håvard Rustad Olsen Tue, 01 Sep 2015 14:22:46 +00:00
Multi-Geo site with Shared content, and intelligent Grid output based on geo node https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71069-multi-geo-site-with-shared-content-and-intelligent-grid-output-based-on-geo-node https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71069-multi-geo-site-with-shared-content-and-intelligent-grid-output-based-on-geo-node Well, that thread title took some thought.

I wonder if you guys can help? I am a long time Umbraco user and forum lurker, but I haven't had to ask a question before (until now).

So, I am in the process of upgrading our corporate website to use Umbraco 7 (from v4).

Long story short, our site has multiple geographical nodes

  • Global
  • UK
  • EMEA
  • USA
  • Australia

Our old site had a lot of duplicated content, because we have systems which we sell in multiple regions, i.e. the USA product can be sold in the middle east, our UK product can also be sold in Europe, our global node lists all the systems.

In the new site I have implemented shared content, using shared content placeholder document types, and IContentFinder to load in the correct shared content based on the URL. For items like News, reference sites etc I have used a Multi Node Picker to indicate which geo nodes a news story can be listed in.

This all works great.

Now I have the following issue to overcome.

On a given system page we may have a section for "Compatible Systems". The problem here is that I would only want to show the compatible systems which are available within the Geo node. As this "system" content is shared, then the page may be shown in any of the geo nodes.

What I am thinking is giving the content editor the ability to create Rows in the Grid and then indicate which geo nodes NOT to display that row (the default would be to show in all nodes).

So an editor may create a Compatible Systems row for the UK, and tick the other geo nodes so it is excluded from those. And then create a USA compatible nodes row, and tick the other nodes so that row is not displayed in those.

I know I can override the Grid render view, so I could interrogate a property when looping through each row in a section and determine if it should be output based on the current Host name.

How would I go about adding a multinode picker against the Row settings in the back office? I have worked through custom grid editors, and I know how to add settings to a Row, but I am unsure how to add a setting which is a multinode picker.

Or can anyone suggest an alternative method for show/hide sections of content on a page based on the current Host?

Thanks in advance

Paul

]]>
Paul Taylor Tue, 01 Sep 2015 14:06:42 +00:00
Update 'umbracoFile' property on existing Media https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/71068-update-umbracofile-property-on-existing-media https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/71068-update-umbracofile-property-on-existing-media I'm struggling to edit a custom mediaType's property ("umbracoFile"). The property is an image cropper. I've tried this snippet with no luck: mediaItem.SetValue("umbracoFile", "/media/1059/uploader-test.jpg");

Plz take notice that I'm NOT creating a new Image - but trying to update an allready existing one... - who kan tell med how to acess this property...? :-|

]]>
Robin Hansen Tue, 01 Sep 2015 14:04:16 +00:00
DLL Reference for Umbraco.Web.UmbracoApplication? https://our.umbraco.org/forum/developers/api-questions/71065-dll-reference-for-umbracowebumbracoapplication https://our.umbraco.org/forum/developers/api-questions/71065-dll-reference-for-umbracowebumbracoapplication Hi all,

I am creating a new Visual Studio class project that sites alongside my Umbraco CMS web project (Umbraco v7). I have added a new Global class (similar to this method, but in my own class project: https://gist.github.com/jkarsrud/5143239):

public class Global: Umbraco.Web.UmbracoApplication

However, it is unable to find Umbraco.Web.UmbracoApplication. I have checked the object explorer in the web project (e.g. umbraco, businesslogic, Umbraco.Core, etc.) however, none of these seem to contain Umbraco.Web.UmbracoApplication. What reference am I missing? I am assuming it would be an overkill to include the whole CMS nuget package for just a class library project.

Many thanks.

Ben

]]>
Ben Weeks Tue, 01 Sep 2015 13:15:51 +00:00
Learning Umbraco as a Sitecore developer, what are the transferable concepts ? https://our.umbraco.org/forum/getting-started/installing-umbraco/71061-learning-umbraco-as-a-sitecore-developer-what-are-the-transferable-concepts https://our.umbraco.org/forum/getting-started/installing-umbraco/71061-learning-umbraco-as-a-sitecore-developer-what-are-the-transferable-concepts I'll be working with Umbraco soon and want to get up to speed as fast as possible. Coming from Sitecore world has it's advantages (or so I've understood). I'm sure lot of people were in my shoes and curious if there is any blog post on the subject?

]]>
luka Tue, 01 Sep 2015 12:15:21 +00:00
Tag support in property editor https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/71055-tag-support-in-property-editor https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/71055-tag-support-in-property-editor Does anyone know how to make this work? There's a coming soon in the docs for defining tags via manifest, so it must be possible.

I'm populating an editor from an external source and want the data available in other tags property editors. Everything persists correctly, but not into the tag table. I'm using Bloodhound as per the Umbraco tags editor but no joy.

On mobile now so no code, but can add it tomorrow if useful.

Cheers N

EDIT Rephrasing my question - how can I save data to the CmsTags table? I've looked through the Umbraco tags editor code and can't see anything in there pushing data. There's a reference here to tagging in property editors, but there's no actual info around how to achieve it.

]]>
Nathan Woulfe Tue, 01 Sep 2015 08:13:46 +00:00
Import Contour data to Umbraco Forms https://our.umbraco.org/forum/umbraco-pro/contour/71048-import-contour-data-to-umbraco-forms https://our.umbraco.org/forum/umbraco-pro/contour/71048-import-contour-data-to-umbraco-forms Does anyone know of a good way to export Contour forms and import them into Umbraco Forms?

We are performing a site upgrade from v6 to v7 by creating a blank v7 site and importing the v6 content into it. Just realized that all of the forms picked in rich text editors are going to have a problem if we recreate the forms. The Guids will be off.

]]>
Mark Bowser Tue, 01 Sep 2015 00:19:52 +00:00
Merchello Reports - date filters https://our.umbraco.org/projects/collaboration/merchello/merchello/71047-merchello-reports-date-filters https://our.umbraco.org/projects/collaboration/merchello/merchello/71047-merchello-reports-date-filters We are using the example Sales Reports and have an issue with date filters.

When the report is initially selected, the dates in the filters are displayed as M/d/yyyy even though settings are configured to use dd-MM-yyyy as the date format e.g. 1st August 2015 is displayed as 8/1/2015 instead of 01-08-2015.

This is causing problems when applying the filters as the date entered does not match the expected format when using DateTime.TryParseExact.

What do we need to change so that the default dates are in the expected format?

]]>
Lesley Mon, 31 Aug 2015 23:03:40 +00:00
How to implement interface for CustomData in SubscriptionProvider? https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/71009-how-to-implement-interface-for-customdate-in-subscriptionprovider https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/71009-how-to-implement-interface-for-customdate-in-subscriptionprovider In the version 2.1 how do we integrate the customData function into the CustomSubscriptionProvider?

Say, if we are fetching the subscription list from external source and wish to collect the customData with it (like salutation, TelNo etc.).

Can you share an example function how this can be done within customsubscriptionprovider?

What I see for the baseprovider are following methods (in 2.1);

 public abstract class SubscriptionProviderBase
{
    protected SubscriptionProviderBase();

    public abstract bool CanEditSubsciber { get; }
    public abstract string DisplayName { get; }
    public abstract string UniqueName { get; }

    public abstract string GetEditUrl(string subscriptionId, string email);
    public abstract IEnumerable<Model.ListItem> GetListItems();
    public abstract List<Receiver> GetSubscribersForSendOut(string listItemValue, SendOutParams parameters);
    public abstract bool Unsubscribe(string email);
    public abstract bool Unsubscribe(string email, string listItemId);
}
]]>
keilo Sun, 30 Aug 2015 14:22:58 +00:00
Upgrading from 2.0 to 2.1 https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/71008-upgrading-from-20-to-21 https://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/71008-upgrading-from-20-to-21 Hi there

I have just upgraded a test/stage environment running Newsletter 2.0 to the new 2.1 version.

Before installing the update package (2.1), I have modified the existing table (from 2.0) ns_EmailTrackingItems and added the column CustomData with nvarchar(max) - noticed this is the new column introduced in 2.1 which collects the member properties name/value pair as json.

After this installed the updated 2.1 package, its completed without errors. Noticed it also retained the customsubscriptionprovider that I installed at 2.0, so i assumed its all ok.

However, when I do a test email which contains [unsubscribe] and/or [readonline] merge-fields, in the email received the unsubscription URL shows like this:

http://staging.local/app_plugins/newsletterstudio/pages/tracking/unsubscribe.aspx?e=217173132145038194019171099944025069090197238102175012135240199010063231041097128123033166093245

and the error message:

Sequence contains no elements

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Sequence contains no elements

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: Sequence contains no elements] System.Linq.Enumerable.First(IEnumerable`1 source) +514 NewsletterStudio.Infrastucture.Data.PPDatabaseAdaptor.First(String sql, Object[] parameters) +103 NewsletterStudio.Infrastucture.Data.NewsletterRepository.GetById(Int32 id) +114 NewsletterStudio.AppPlugins.NewsletterStudio.Pages.Tracking.Unsubscribe.PageLoad(Object sender, EventArgs e) +159 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34249


I am not sure what might be the issue...

Similarly when I click on the readonline link i get a URL like;

http://staging.local/app_plugins/newsletterstudio/pages/rendernewsletter.aspx?nid=209174247083994125198147101002058075190188156019

with empty contents (i.e. blank page).

[EDIT]: To further clarify, the above case is when i send email to built-in mailing list, where i can see the entry in ns_Newsletters SubscriptionAlias column value as NewsletterStudioSubscriptionProvider_3

So its nothing to do with customsubscription provider, just to be sure disabled that in newsletter.config and tried again with the same result as above.

Would appreciate if you can shed some light on what might be the issue.

Thank you

]]>
keilo Sun, 30 Aug 2015 13:44:34 +00:00
Split giving error in Umbraco razor in multilingual site in umbrac 7 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/70990-split-giving-error-in-umbraco-razor-in-multilingual-site-in-umbrac-7 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/70990-split-giving-error-in-umbraco-razor-in-multilingual-site-in-umbrac-7 I am having following node structure

_Parent Site (Main site)

  • EN (English Site)

    • Node 1
    • Node 2
    • Node 3
  • CY (wales site)

    • Node 1
    • Node 2
    • Node 3
  • ES (spanish site)
    • Node 1
    • Node 2
    • Node 3

I have copy all node of EN to other two site. (So all the contain of all node are same )

I have use "Multinode Treepicker" as CSection for selecting node as shown in following code.

< umbraco:Macro runat="server" Language="razor">
        @{  
            if(@Model.CSection != null)
            {
            string[] nodeIds = @Model.CSection.Split(',');

The above code workings fine when rending EN site. but gives error while rendering CY and ES site. (As all site are having same value)

I found that Following line gives error. for (CY and ES site)

@Model.CSection.Split(',');

Am I missing any thing ? ,I am not able to make it out at all I am using umbraco 7.2.6

]]>
BJ Patel Sat, 29 Aug 2015 04:42:49 +00:00
Umbraco website https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/70978-umbraco-website https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/70978-umbraco-website Hello,

I a newbie to Umbraco, however i an intermediate ASP.NET/MVC developer.

I have started working on a project to host resources library (webpages, pdf, videos, audios etc.) and some parts will have be secured to logged-in users. I have started looking at Umbraco by setting up local instance with Fanoe starter-kit.

I wanted to know whether Umbraco can be used as a web application/website to host resources library and events management system. If yes do i have to build different document/content type etc.

In short - web application I am trying to build is is possible using Umbraco.

Many thanks

]]>
Kieran Fri, 28 Aug 2015 13:05:36 +00:00
Multiple list views https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/70961-multiple-list-views https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/70961-multiple-list-views Hi

I have a document type that has two allowed child node types enabled via the structure tab. I would like both of these child node types to appear on a separate content tab as a list view.

I have been able to create two content tabs showing list views but both of the child node types appear in both lists. I would like only one child node type per list and each list on a different tab. (I hope this is clear!).

Is this possible?

Thanks

Jim

]]>
Jim Fri, 28 Aug 2015 09:07:04 +00:00
Google Maps Coordinates error https://our.umbraco.org/forum/developers/razor/70953-google-maps-coordinates-error https://our.umbraco.org/forum/developers/razor/70953-google-maps-coordinates-error Could someone help me with this error emitted when I want to pass the coordinates to display the map throws this error Compiler Error Message: CS0103: The name 'latLng' does not exist in the current context

enter image description here

If I put the fixed coordinates, goes perfectly. But I can't when it's for each one of the map.

enter image description here

]]>
Ariel Thu, 27 Aug 2015 19:49:35 +00:00
Merchello and Umbraco 7.3-RC compatibility https://our.umbraco.org/projects/collaboration/merchello/merchello/70903-merchello-and-umbraco-73-rc-compatibility https://our.umbraco.org/projects/collaboration/merchello/merchello/70903-merchello-and-umbraco-73-rc-compatibility Hi, we will start a new umbraco project soon. Since the 7.3-RC is about to go release, we try to create a new project with Merchello 1.11.0 to start testing. But the Merchello backend crash when clicking on the button. DO you have a release date for supporter the new 7.3-RC release?

Thanks

]]>
PierreD Savard Wed, 26 Aug 2015 19:26:02 +00:00
How I can finalize order? https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/70805-how-i-can-finalize-order https://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/70805-how-i-can-finalize-order I have payment method that have only form, maybe I need finalize url that will redirect to after order will paid. How I can do this?

<form method="post" action="testurl" id="form" name="form">

                    <input type="hidden" name="PSPID" value="test">
                    <input type="hidden" name="ORDERID" value="@orderCartNumber">
                    <input type="hidden" name="AMOUNT" value="@totalPrice">
                    <input type="hidden" name="CURRENCY" value="SAR">
                    <input type="hidden" name="LANGUAGE" value="en-US">
                    <input type="hidden" name="SHASIGN" value="@resultSHA1String">


                     <input type="submit" value="Accept and pay" id="submit" class="btn btn-success" name="SUBMIT">
]]>
Anton Mon, 24 Aug 2015 21:42:45 +00:00
Using a Parameter from a DocType To Set Paramater for Macro in Template https://our.umbraco.org/forum/developers/razor/70484-using-a-parameter-from-a-doctype-to-set-paramater-for-macro-in-template https://our.umbraco.org/forum/developers/razor/70484-using-a-parameter-from-a-doctype-to-set-paramater-for-macro-in-template I have a template with a lightbox macro inserted within the template #1. It has one parameter that I would like to set from the docType of a piece of content that the template #1 is using. Is this even possible?

Template #1 has a bxslider in which the docType of SlideshowItem exists. I am trying to be able to select on each SlideshowItem the media folder for a lightbox that corisponds to that slide within the bxslider.

Confusing? Any help?

]]>
Steve Thu, 13 Aug 2015 17:30:18 +00:00
Resize pad with max image size https://our.umbraco.org/projects/collaboration/imageprocessor/feedback-for-imageprocessor/70480-resize-pad-with-max-image-size https://our.umbraco.org/projects/collaboration/imageprocessor/feedback-for-imageprocessor/70480-resize-pad-with-max-image-size Hey,

Say I had an image which is 200x200, is it possible to resize it to be 500x500 but not upscale the image only pad it. I have tried a few things but couldn't seem to get it to work it either didn't resize to be 500x500 or it would upscale the image (stretch).

This is an example of two things I've tried:

5069a.jpg?mode=pad&width=500&height=500&anchor=top&bgcolor=fff

?mode=pad&width=500&height=500&anchor=top&bgcolor=fff&upscale=false

Cheers :)

Tom

]]>
Tom Steer Thu, 13 Aug 2015 15:20:05 +00:00
Media folders and files missing https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/64144-Media-folders-and-files-missing https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/64144-Media-folders-and-files-missing I'm brand new to Umbraco and am still experimenting with it to decide whether this is what we want to use. I'm very impressed with its power, but have run into a problem.

Last week, I created a small Umbraco web site on my PC.

On Wednesday, I went to the Media screen, created a folder, and uploaded a couple of images in that folder.

On Friday, I went to the Media screen again, created some more folders, and uploaded several files (a few images and several PDFs).

On Monday (today), I went to the Media screen and found that the folders I created on Friday were missing, as were the files that I uploaded. HOWEVER, the files were still present on the file system and are still displayed properly by my Umbraco web site. Also, the folder that I created Wednesday is NOT missing; it and its files still show up on the Media screen.

I've tried "Reload Nodes", but that doesn't fix the problem.

This might or might not be related, but the default sample site that is installed has numerous files in the media directory on the file system, but NONE of those files show up in the Media page.

Any idea what the cause of the problem might be and how I can get those nodes to show up again?

Umbraco version 7.2.4 assembly: 1.0.5557.19139
.Net Framework 4.5.1
Windows 7 Enterprise SP1
Visual Studio 2013

]]>
Wally Hartshorn Mon, 20 Apr 2015 22:45:39 +00:00
Examine Raw Query - Can I stop ISearchCriteria.RawQuery from changing it? https://our.umbraco.org/forum/developers/api-questions/61537-Examine-Raw-Query-Can-I-stop-ISearchCriteriaRawQuery-from-changing-it https://our.umbraco.org/forum/developers/api-questions/61537-Examine-Raw-Query-Can-I-stop-ISearchCriteriaRawQuery-from-changing-it Umbraco 7.2.1

Indexer:

<add name="MySearchIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine" />

Searcher:

<add name="MySearchSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine" />

Umbraco Examine Fluent API is not performing the search I need when running it against the new index I've created.

So as a workaround I've worked out that the raw query I need to run is:

+(region:2323 region:2324) AND +lowerPricePadded:[0000000000 TO 1000000000] AND +upperPricePadded:[0000000000 TO 1000000000] AND +bedroomsPadded:[0001 TO 1000]

I've tested this query using the searcher via the Examine Managament dashboard. It returns the results I expect.

So, I am trying to run the above raw query using the code found here

The problem is, the query that the RawQuery function returns is:

(+(region:2323 region:2324) +lowerPricePadded:[0000000000 TO 1000000000] +upperPricePadded:[0000000000 TO 1000000000] +bedroomsPadded:[0001 TO 1000])

This is obviously different from the query I need to run. Is it possible to submit the query that I want to submit, and not the one examine is regurgitating?

]]>
Mark Fri, 20 Feb 2015 01:32:10 +00:00
Doh! Migration not happening. https://our.umbraco.org/projects/developer-tools/umbraco-forms-migration/computer-says-no/61017-Doh!-Migration-not-happening https://our.umbraco.org/projects/developer-tools/umbraco-forms-migration/computer-says-no/61017-Doh!-Migration-not-happening Receiving this Error when trying to migrate.

OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT. at Umbraco.Forms.Migration.MigrationService.Migrate(String connString) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\MigrationService.cs:line 89 at Umbraco.Forms.Migration.ContourToForms.Button1_Click(Object sender, EventArgs e) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\ContourToForms.ascx.cs:line 23

Appreciate any help.

No TraceLog data, so checked all places i can.

/Keith

]]>
Keith Bamberger Tue, 03 Feb 2015 14:42:05 +00:00
Grid-Settings: PreValueEditors https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/60368-Grid-Settings-PreValueEditors https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/60368-Grid-Settings-PreValueEditors Hey,

I have a question regarding the grid-settings option. In the Fanoe starterkit all grids are using the settings option with the "radiobuttonlist" editor.

I want my grid to have the option to select multiple prevalues so moew than one class can be added at a time.

Anyone can help me with that? Do I need to write a new PreValueEditor?

 

Chris

]]>
Chris Tue, 13 Jan 2015 08:55:32 +00:00
Specifying Crop in Grid https://our.umbraco.org/projects/website-utilities/slimsy/slimsy-feedback/59762-Specifying-Crop-in-Grid https://our.umbraco.org/projects/website-utilities/slimsy/slimsy-feedback/59762-Specifying-Crop-in-Grid Just building the latest site with V7.2 using the new Grid and Slimsy.

Can't work out how to select a crop to display as there's no facility in the image selection in the grid.

Any advice appreciated:)

Craig

]]>
Craig100 Sat, 13 Dec 2014 13:55:29 +00:00
Macro support https://our.umbraco.org/projects/backoffice-extensions/uckeditor/feedback/57294-Macro-support https://our.umbraco.org/projects/backoffice-extensions/uckeditor/feedback/57294-Macro-support I have to say wow. Someone did think of adding real alternative to the default tinymce.

Are there any plans for Macro support?

 

]]>
keilo Mon, 13 Oct 2014 06:21:43 +00:00
6.2.2 InternalIndexer error ArgumentNullException: Parameter name: contentType https://our.umbraco.org/forum/getting-started/installing-umbraco/57118-622-InternalIndexer-error-ArgumentNullException-Parameter-name-contentType https://our.umbraco.org/forum/getting-started/installing-umbraco/57118-622-InternalIndexer-error-ArgumentNullException-Parameter-name-contentType I upgraded from 4.11 to 6.2.2. Everything works on my site but I am unable to run the indexer. The Developer section of the backoffice is really slow because it attempts to index every time I go to that section. Whenever I run the Rebuild tool from the Examine dashboard it fails with the error below. I have checked in my database in tables like cmsContent and cmsContentType but see nowhere where this value could be null.

error: The index could not be rebuilt at this time, most likely there is another thread currently writing to the index. Error: System.ArgumentNullException: Value cannot be null.

Parameter name: contentType
   at Umbraco.Core.Mandate.That[TException](Boolean condition, Func`1 defer)
   at Umbraco.Core.Models.ContentBase..ctor(String name, Int32 parentId, IContentTypeComposition contentType, PropertyCollection properties)
   at Umbraco.Core.Models.Content..ctor(String name, Int32 parentId, IContentType contentType, PropertyCollection properties)
   at Umbraco.Core.Models.Content..ctor(String name, Int32 parentId, IContentType contentType) 
   at Umbraco.Core.Persistence.Factories.ContentFactory.BuildEntity(DocumentDto dto)
   at Umbraco.Core.Persistence.Repositories.ContentRepository.CreateContentFromDto(DocumentDto dto, Guid versionId)
   at Umbraco.Core.Persistence.Repositories.ContentRepository.PerformGet(Int32 id) 
   at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.Get(TId id)
   at Umbraco.Core.Persistence.Repositories.ContentRepository.<PerformGetByQuery>d__22.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()  
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Umbraco.Core.Services.EntityXmlSerializer.Serialize(IContentService contentService, IDataTypeService dataTypeService, IContent content, Boolean deep)
   at UmbracoExamine.DataServices.UmbracoContentService.GetLatestContentByXPath(String xpath)
   at UmbracoExamine.BaseUmbracoIndexer.AddNodesToIndex(String xPath, String type)
   at UmbracoExamine.BaseUmbracoIndexer.PerformIndexAll(String type)
   at UmbracoExamine.BaseUmbracoIndexer.PerformIndexRebuild()
   at Umbraco.Web.WebServices.ExamineManagementApiController.PostRebuildIndex(String indexerName)
]]>
Jim Fri, 03 Oct 2014 16:03:10 +00:00
Examine - rebuilding index speeds https://our.umbraco.org/forum/developers/extending-umbraco/48385-Examine-rebuilding-index-speeds https://our.umbraco.org/forum/developers/extending-umbraco/48385-Examine-rebuilding-index-speeds I'm wondering if anyone can comment on speeds in time with rebuilding an Examine index in Umbraco - how long should it take? I have an index set of approx 15000 nodes, it can take 12 hours to a day to rebuild the index, is this normal ? If not, what should I be looking at to improve speeds, as this is causing huge issues with my site I am developing....

]]>
Bradley Kronson Mon, 17 Feb 2014 09:21:07 +00:00
Embed not working in 7.0.2 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/47837-Embed-not-working-in-702 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/47837-Embed-not-working-in-702 Hi guys,

I'm trying out my first v7 install today, 7.0.2. I love it! Everyone that has worked on it, you've done a great job :)

I'm having a problem with the embed function in the RTE though. I'm pasting in a URL to a YouTube video, and I'm getting a computer says no error.

Request error: The URL returned a 404 (not found): /umbraco/UmbracoApi/RteEmbed/GetEmbed

Any ideas?

Thanks.

]]>
Sarah Sun, 26 Jan 2014 02:42:51 +00:00
String or binary data would be truncated SQL Error https://our.umbraco.org/projects/developer-tools/301-url-tracker/version-2/45162-String-or-binary-data-would-be-truncated-SQL-Error https://our.umbraco.org/projects/developer-tools/301-url-tracker/version-2/45162-String-or-binary-data-would-be-truncated-SQL-Error I have a situation on a current project where we are generating urls > 400 chars and this breaks url tracker.

I increased the size of the OldUrl, OldUrlQueryString, RedirectUrl to varchar(MAX) and this fixed issue.

Just wondering why the arbitary limit and whether you could increase in the next release?

thanks

Matt

]]>
Matt Thu, 03 Oct 2013 01:35:05 +00:00
How to hide Preview button on documents with no templates https://our.umbraco.org/forum/developers/extending-umbraco/24663-How-to-hide-Preview-button-on-documents-with-no-templates https://our.umbraco.org/forum/developers/extending-umbraco/24663-How-to-hide-Preview-button-on-documents-with-no-templates If a document has no template, clicking preview will show the "intentionally ugly" error page.

I do have a lot of items with no template (eg. News item, Downloadable file, etc).

How do I hide the preview button on these documents?

Thanks in advance!

]]>
Hardi Thu, 06 Oct 2011 04:24:09 +00:00