Sign in Register
Our Umbraco
  • Forum
  • Packages
  • Documentation
  • Community
  • Discord
  • Download
  • Sign in
  • Our Umbraco
  • Search
  • test
  • test
    Created: February 28, 2018 - Last update: February 28, 2018
    test
  • Test
    Created: June 24, 2009 - Last update: June 24, 2009
    Test
  • Test
    Created: November 15, 2010 - Last update: November 15, 2010
    TestWill he keep the Karma if you delete the post though? :)@Tim Yea, go for it. MattCool if I delete this post?I hope there is a karma calculator running in the background that doesn't give karma to pure test-posts :-PToo far dude, too far. ;-)testTest... yep, I'm me too!test
  • This is a test
    Forum / This is a test
    Created: February 08, 2013 - Last update: February 08, 2013
      This is just a test, don't panic! Edit Make it a list ddd    I can think of two things that causes this: The first And of course the second /Chriztian@Matthias Thanks, I just noticed that too, fixed! :-) @Niels Very good, you get my vote! :PReplying. Something very clever. Possi…
  • test
    Forum / test
    Created: March 02, 2018 - Last update: March 22, 2018
    don't mind me ;)Ow in this thread its normal...Test Seems that the problem is returned HestSeems to work :-)Hmmm, is it broken again?Yay, all good again! Used IISCrypto to update cipher suites used on Our, forgot that the last time I ran it was in 2015 and we are living in an evolving TLS world. ;-…
  • Test Creations?
    Forum / Test Creations?
    Created: May 01, 2012 - Last update: May 01, 2012
    Does Umbraco have the ability to create test for people to take and then grade and rate them? Not sure if I'm asking this in the right place or not.
  • Test Methods
    Created: October 16, 2015 - Last update: October 16, 2015
    I'm looking at the merchello code and not quite understanding how the database mocking works in the test framework. When I run the tests in debug mode I see it's running the various architecture like migrations etc and building the sample data. As if running live but nothing is written to the databa…
  • Test Thread
    Forum / Test Thread
    Created: April 17, 2011 - Last update: April 19, 2011
    This is a test thread to check some issues.Thanks Sebastiaan, Just seen the message.Yay it's sending mails again, thanks Warren now go enjoy your day off! :-)Reply to you Jan :)That's sweet!Should be back to normal...Hiccup?Still testing this...A new test...Hmm I am still trying to pinpoint the prob…
  • test on localhost
    Forum / test on localhost
    Created: June 21, 2011 - Last update: November 11, 2011
    Is it possible to test courier on localhost in trail mode? I have 2 fresh umbraco installations one 4.5.2 (site1.localhost) and one 4.7 (site2.locahost) - Courier tells me that they are external locations?   The sites are set up in IIS and then i've added 127.0.0.1  -- site1.localhost…
  • test topic - please ignore
    Created: January 17, 2012 - Last update: January 17, 2012
    test - testing if it's just what I am trying to post that isn't working or if posting in gneral isn't working!It works ;)
  • Test Connection details
    Created: October 12, 2018 - Last update: October 12, 2018
    Hey, For the test connection button - Could you provide a config operation for this or for it to use the default sender e-mail. The email it tries to use is newsletter@enkelmedia.se but if you are using a service such as Amazon emails need to be authenticated first and thus the email in the test is…
  • How to test if value is null
    Created: July 30, 2015 - Last update: July 31, 2015
    When I do this: foreach (var item in Model.Items) { var test = item.GetValue("url"); } I got en null exception: exception of type 'System.NullReferenceException' occurred in Lecoati.LeBlender.Extension.dll but was not handled in user code How I can test if URL setting is…
  • Sending test emails
    Created: December 04, 2009 - Last update: March 04, 2010
    You always want to be 110% sure that the Newsletter your client is about to send to X thousand recipients does in fact look great and has no dead links etc. e.g.: Click the big fat "TEST" button to send the Newsletter to a specific (list of) email-address(es). /ChriztianCurrently we only send to one…
  • Cannot login on test server
    Forum / Cannot login on test server
    Created: October 26, 2015 - Last update: November 03, 2015
    Hello, I have a roblem with logging in on test server. While debugging in Visual Studio I can login as member (to my custom application) and as administrator (to the backoffice), but when I publish application on test server, I cannot login to any type of account. Both databases are same (test data…
  • Use UmbracoContext in Integration Test
    Forum / Use UmbracoContext in Integration Test
    Created: January 31, 2018 - Last update: January 31, 2018
    Hey guys, I'm trying to create an Integration Test project but the UmbracoContext is always null. How can i have the UmbracoContext using the database like if is was created by a normal umbraco request? Any ideas? Thanks in advance, Best Regards
  • Post Install Stress Test
    Forum / Post Install Stress Test
    Created: May 22, 2014 - Last update: May 22, 2014
    Our umbraco environment is being provided to us by a 3rd party. We have done the base install and they will provide a pre-built site. Has anyone here used a stress test tool on their umbraco site? If so, could you provide details of the software used?   Thanks, Alex.
  • Install contour on test domain
    Forum / Install contour on test domain
    Created: November 26, 2009 - Last update: November 26, 2009
    Hi, I'm developing a site for a client which will use Contour.  However, we're currently using a test domain as a preview area for the new website.  Once this has been finished and signed-off, the site will be installed on their live domain in place of their old site. Is there a way to des…
  • Create Test Server
    Forum / Create Test Server
    Created: April 12, 2016 - Last update: April 12, 2016
    Hello guys, I'm almost finished with my first Umbraco website, and now want to move it to a test server so other people can check it and look for bugs for me to correct. Can you tell me how to approach this? Which web host would you recommend? Is there any free web host to use as a test server for…
  • How to test content cache
    Forum / How to test content cache
    Created: October 06, 2021 - Last update: October 08, 2021
    I have a solution for https://github.com/umbraco/Umbraco-CMS/issues/11074, but I would like to write a test for it. The issue I am having is figuring out how to test the Url based on the content cache. I am looking at `Umbraco.Tests/Published/PropertyCacheLevelTests.cs` as an example, but I'm not su…
  • A/B test repository content
    Created: December 01, 2020 - Last update: December 01, 2020
    Hey, We have a usecase where we want to A/B test content that you can't navigate to via a url. For example: we want to A/B test Call To Actions that we manage in a 'Shared content' folder. We then choose these CTA's on pages using a Multi Node Tree Picker. We found a boolean in the database that d…
  • Publish on a test folder first
    Forum / Publish on a test folder first
    Created: February 19, 2009 - Last update: February 19, 2009
    Hi I was just wondering how to publish the umbraco website that I made to a test folder first instead of the actual root directory? How do I do this? The reason is obvious I want it to be published on a test folder for testing purposes and then if all went well thats the time that I'll publish it…
  • AB test capabilities
    Created: August 05, 2020 - Last update: August 05, 2020
    On AB testing, what are the limitations of the tests - content and colours? OR can html variants be implemented for bigger styling tests? Hi Justine, In my opinion the sky is the limit. And if we find any other limit we need to come up with a better solution. At this moment you can add in css & ja…
  • Stress Test Response
    Forum / Stress Test Response
    Created: March 08, 2016 - Last update: March 08, 2016
    Hello, I've tried stress testing our website (hosted on Azure), but I've noticed that there is a point where the Umbraco site stops responding and just returns a white page. Does anyone know why this happens - it's a fairly high spec server, which is set to spawn a duplicate server when the server…
  • Creating a test/dev instance
    Forum / Creating a test/dev instance
    Created: June 01, 2014 - Last update: June 03, 2014
    What's the easiest way to create a test/dev instance of an existing site please? I thought I'd be able to copy it and rename it, but I'm getting Exception Details: System.Configuration.ConfigurationErrorsException: Invalid key value. So it's obviously a bit more complicated than that. Hi Phil What…
  • Umbraco prformance test results
    Forum / Umbraco prformance test results
    Created: September 23, 2009 - Last update: September 24, 2009
    Just FYI We recently tested an umbraco instalation that called thrid part webservices and reformatted responces USING browsermob. 50 concurent users hitting 9000 times in 30 minuites (non cashed pages). Whilst responce time dropped it only went doen to 20 seconds wich for the machine was quite nice…
  • Simple XSLT Test
    Forum / Simple XSLT Test
    Created: July 01, 2009 - Last update: July 01, 2009
    Hi all This is making me feel like ive learnt nothing in the last year. Basically I'm wanting to test the nodetype against the string "Gallery", so i can filter out any gallery node types. Currently im using the line   <xsl:when test="@nodeTypeAlias = 'Gallery'">   But its not workin…
  • Site map test Help.
    Forum / Site map test Help.
    Created: April 03, 2009 - Last update: April 03, 2009
    Hi I have a working site map using code found at Umbraco Wikibook. However I only want to show the pages where umbracoNaviHide = false (using a boolean). My first attempt caused a system failure. The code was: [quote] version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmln…
  • Theme test data/content
    Forum / Theme test data/content
    Created: March 16, 2024 - Last update: March 17, 2024
    I am new and getting started with Umbraco on a local install. Within the development community has anybody produced "dummy" pages/posts that can imported into Umbraco to test themes/designs? Hi Clint Umbraco provide an example starter site here... https://marketplace.umbraco.com/ Or there is a p…
  • Unit test in ExamineManager
    Forum / Unit test in ExamineManager
    Created: October 09, 2019 - Last update: October 14, 2019
    Hi all, I'm using Umbraco v7 and trying to develop unit tests for search using ExamineManager. But I get following error. Message: System.Configuration.ConfigurationErrorsException : Exception has been thrown by the target of an invocation. (C:\Users\inoshika.fernando\source\trn-umbraco\NZME…
  • Test parent node
    Forum / Test parent node
    Created: December 29, 2011 - Last update: December 31, 2011
    Hi. I'm working on a site for a car dealer, and the cars will be put in one folder when they are for sale, but when they are sold, they are moved into a doctype called "ProduktgruppeSolgt". When browsing a car on such page, I need to substitute the price with a text saying it has been sold. It is th…
  • Courier test hangs
    Forum / Courier test hangs
    Created: December 15, 2009 - Last update: December 16, 2009
    I trying to test out courier and how it works.  I installed it on my localhost and am trying to transfer to another test site on my localhost. I set it up, changed courier.config: <   server addToContextMenu="true" alias="development">localhost</server> restarted Umbraco, cli…
  • Test if Macro exists
    Forum / Test if Macro exists
    Created: May 16, 2017 - Last update: May 22, 2017
    Is there a method I'm not seeing that I can use to test if a macro exists...besides testing the string result of @Umbraco.RenderMacro? Before I create an issue on issue tracker... Perhaps a discussion is in order. There is a good chance I'm not seeing a pitfall in the solution I'm designing: In a…
  • Test up the category tree
    Created: July 27, 2011 - Last update: August 12, 2011
    Is there an easy way to test whether a category is a descendent of a specific one without looping through the parent IDs?I asked a similar question a while back, and Søren suggested the following. I never got around to using it actually (used a horrible parent test mashup thing because I was…
  • Live Site &amp; Test Site
    Forum / Live Site & Test Site
    Created: May 24, 2011 - Last update: May 24, 2011
    Hi all,  First post on the forum and a newbie in regards to developing with Umbraco. (im more of a designer) I'm starting my first project with Umbraco from scratch and would like some advice on how other people set up their project with regards to test sites and the live site. Is there a gener…
  • Trying to set up a test
    Forum / Trying to set up a test
    Created: December 16, 2009 - Last update: December 29, 2009
    I have an umbraco site set up on my test server, and have a line in my hosts file to resolve that (because it isn't a live domain anyway) -  umbracotest.mysite.com (where mysite.com = my pro license domain) That works just fine when I open it in my browser (get the umbraco page that is running…
  • Unit Test issue
    Forum / Unit Test issue
    Created: December 20, 2016 - Last update: July 26, 2017
    Hi folks, I'm trying to set up Unit Tests in umbraco, following a guide here: http://bomboca.co.uk/umbraco-cms/unit-testing-umbraco/stub-umbraco-dependencies/ I've set everything up, but when I run my unit test I get the following error: Result StackTrace: at Umbraco.Tests.TestHelpers.B…
  • Problems sending a test newsletter
    Created: April 09, 2013 - Last update: April 11, 2013
    Hi,When I try a test senout I always get thoe following error message:[NullReferenceException: Object reference not set to an instance of an object.]   NewsletterStudio.Pages.NewsletterSendout.btnConfirm_Click(Object sender, EventArgs e) +1635   System.Web.UI.WebControls.Button.R…
  • Local test of the package
    Created: September 20, 2011 - Last update: September 20, 2011
      Hi, I'm using an unlicensed package on a local installation to test if the package supports our needs. Didn't I read somewhere (can't find it now) that I could install the package on a local installation for testing? I get the "XSL PDF for Umbraco is in trial mode you need to purchase a lice…
  • Setup test website on server
    Forum / Setup test website on server
    Created: July 08, 2016 - Last update: July 08, 2016
    Hi guys, I just uploaded my umbraco website to my server in a subfolder. Because I want to test it first before making it live. The website is showing the contents but its not able to locate all the files related to the layout, which means no css or media files. How can I change the path in webconf…
  • Datatypegrid null test
    Forum / Datatypegrid null test
    Created: September 12, 2013 - Last update: September 12, 2013
    Guys, I am using the awesome datatype grid in ucomponents. I have some text fields and media picker fields. The media picker fields are not mandatory and therefore will not always have a value in my code i have the following: var answers=new List(); var lib = new umbraco.MacroEngi…
  • Integration Test in Umbraco 7
    Forum / Integration Test in Umbraco 7
    Created: April 07, 2014 - Last update: April 07, 2014
    I am trying to create an integrated test in Umbraco here and, for that, I am using the the BaseRoutingTest class defined in the Umbraco.Tests.dll. [SetUp] public void SetUp() { this.umbracoContext = GetUmbracoContext("/", 0); this.contentService = this.umbraco…
  • Got a great test case
    Created: April 22, 2017 - Last update: April 22, 2017
    James, you're my hero! This package looks perfectly positioned to resolve issues I have in a large load balanced site that imports ~1000 nodes at a time from SalesForce and experiences no end of problems with deadlocks. My only problem right now is that I can't test it against 7.5.13 so will need to…
  • test/stage/live archtecture
    Forum / test/stage/live archtecture
    Created: October 22, 2012 - Last update: October 22, 2012
    Hi All, Does anyone have any insight into the architecture for having a 3 tier environment. Is there any documentation on this? All i can find is umbraco.com that has vids that I have to pay for to see anything!! Ideally i need to be able to publish to Live and then have that content reflected in St…
  • Output in test, none in live?
    Forum / Output in test, none in live?
    Created: March 11, 2014 - Last update: March 13, 2014
    Hey guys, I am creating a xslt to generate bootstrap modals form youtube videos, the weird thing was that it works properally in test but my frontend just generates <div class="container"></div> with no modal generation here is my xslt. Any ideas? <div class="container"> <xsl:i…
  • Umbraco version and a test site
    Forum / Umbraco version and a test site
    Created: December 23, 2010 - Last update: December 29, 2010
    Hi My second post having done nothing on Umbraco since the first one 4 months ago! I have taken over a number of Umbraco websites (I have no significant Umbraco knowledge!!!) from someone who has left, and left little documentation. I have to create a test site for one of these and am at a loss as…
  • Quick variable test
    Forum / Quick variable test
    Created: June 04, 2015 - Last update: June 05, 2015
    Hey, I know I'm missing something blindingly obvious but my brain just isn't playing ball today.I want to do a simple if statement with an AND operator. I'm doing a test to see if the page has an image. If it does, I want to display a smaller banner. If it doesn't have an image selected, I want to m…
  • Import not working on test invironment
    Created: December 17, 2020 - Last update: December 26, 2023
    Hello, I'm trying to set up a test Umbraco installation on our IIS web server. When importing in uSync this error appears in the console: ![enter image description here][1] The report button works fine and show my changes. Also noticed several warnings in the Umbraco log: ![enter image descript…
  • Struggling to test a boolean value
    Forum / Struggling to test a boolean value
    Created: December 13, 2019 - Last update: December 13, 2019
    I have spun up a new site and decided to use Umbraco 8. Previously I've used 7 and had a few partial views to do menus, breadcrumbs etc. I've been trying various things over the past couple of days and can't seem to get anywhere with this one. In a previous Umbraco 7 I had a partial view that worke…
  • Media Items Test For No Image
    Forum / Media Items Test For No Image
    Created: November 24, 2010 - Last update: November 24, 2010
    Hi, I have searched these forums but can't find what I am looking for. Using umbraco v 4.5.2 (Assembly version: 1.0.3891.20719): I am trying to test for an image field being empty. <%if(umbraco.library.GetItem("bannerImage") != "") {%>        &…
  • Test &#39;field&#39; is empty or null
    Forum / Test 'field' is empty or null
    Created: May 27, 2010 - Last update: May 27, 2010
    Hi all, I'm outputting an image to a page: <img src='<umbraco:Item field="newsImage" runat="server"></umbraco:Item>' /> If there is no image for the news story, Firefox hides it nicely, Chrome however displays the broken image. What's the best way to test if there is an image to di…
  • test
    Forum / test
    Created: February 23, 2017 - Last update: February 23, 2017
    etset
  • test
    Forum / test
    Created: April 27, 2009 - Last update: April 27, 2009
  • Umbraco performance test showing 100% CPU three hours into test
    Forum / Umbraco performance test showing 100% CPU three hours into test
    Created: January 27, 2014 - Last update: February 03, 2014
    We have run soak tests (using WebLoad) against a site we are developing and found consistently that three hours into the test, CPU on all web servers, SQL servers and search servers goes to 100% for several minutes, during which time, many 500 server errors are logged. This does not coincide with ap…
  • How to test if a field is left empty?
    Forum / How to test if a field is left empty?
    Created: July 25, 2012 - Last update: July 25, 2012
    I have a document type with a textstring field that is left empty. Testing if the field is equal to an empty string doesn't work in an XSLT macro. I need to test if the field is false. xsl:if test="$node/field != ''" doesn't work. xsl:if test="$node/field" works. Strange thing is that in the live en…
  • Succesfull Test connection, Error sending &#39;real&#39; test mail
    Created: October 06, 2014 - Last update: March 30, 2015
    Hi, we're having a problem with the sendout of a newsletter. We're using the datatype Sendout to send newsletter via the Content Section. When testing the connection in general settings, everything is fine, because the testmail is send and received. When I send a test newsletter via the data type…
  • Testing Membership Creation with unit test
    Forum / Testing Membership Creation with unit test
    Created: January 20, 2023 - Last update: January 20, 2023
    Hi everyone, I'm looking at creating a unit test which checks that a Member exists in the backoffice - this is the first step of my tests because then I test to see if a password reset email is sent but intially I'm focussing on testing that the user either exists or not. I was reading the docum…
  • Using Umbraco.Tests in NUnit test project.
    Forum / Using Umbraco.Tests in NUnit test project.
    Created: October 21, 2019 - Last update: October 21, 2019
    Hi, I am trying to set up unit tests for an Umbraco website for which I need the UmbracoContext. I included the Umbraco.Tests.dll using this package: https://github.com/kedde/Our.Umbraco.Community.Tests And I installed Nunit with NuGet. When I create a Normal test-case everything works as expected…
  • http://www.shaperich.com/test-reload-reviews/
    Forum / http://www.shaperich.com/test-reload-reviews/
    Created: January 11, 2017 - Last update: January 11, 2017
    , increment bulk, better sex drive and enhanced quality. The majority of that has us intrigued, however just a legitimate take a gander at the recipe will have us persuaded. A truly point by point take a gander at Test Reload troublesome as it uses an exclusive mix. This means we're not given indivi…
  • Test page I am using
    Created: March 26, 2014 - Last update: March 26, 2014
    To test things out I use the following test template.  This is what is associated with a Document type called "Test Page" that has a single RTE property on it with an alias of "content": @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @using Examine @using Examine.SearchCriteria @{ Layout = n…
  • Send test before content is published
    Created: August 16, 2017 - Last update: August 16, 2017
    Is it possible to send a test newsletter email before the content is published - i.e. just in the "Saved" state? We will be listing the newsletters on the website as well as emailing them, so publishing to test is not ideal. I can work around it by having a "do not list" option on the newsletter n…
  • Datatype grid null cell test
    Created: August 10, 2015 - Last update: August 10, 2015
    How do i test if cell exists in datatype grid? I have if (row.GetCell("clickEventJs")!= null) Where row is GridRow However this gives key not found exception. I have also tried row["clickEventJs"]!=null Same error. Any ideas? Regards IsmailIsmail I believe the row object has a list…
  • How to test if an Umbraco property is used
    Forum / How to test if an Umbraco property is used
    Created: July 08, 2013 - Last update: July 08, 2013
    Hi All, I've been working on an issue, and it basically comes down to the behavior of pulling umbraco.library. In C# and in XSLT I'm doing simple checks to see if the user has entered a value into a property field. In XSLT, my code appears as such: <xsl:variable name="media" select="umbraco.libra…
  • 4.5.2 Boolean Node ID Test
    Forum / 4.5.2 Boolean Node ID Test
    Created: October 28, 2010 - Last update: October 28, 2010
    I am having trouble getting the following snippet converted to the new schema.  It worked great in 4.0, but I just noticed that it does not work on 4.5.2 (I thought I was done converting when i noticed this..) :  <xsl:if test="boolean(.//node[@id = $target])">{selected:<xsl:v…
  • Server error implemented Test Category
    Forum / Server error implemented Test Category
    Created: November 28, 2014 - Last update: January 08, 2015
    Installed v1.7 on Umbraco 6.2. Have also followed the installation video to create a Test Category page. The structure of my site looks like this On previewing the Forum page I get the following server error: If I remove the Test Category page then the Forum page loads ok. Can someone help please a…
  • Unit test for Dynamic Node extensions?
    Forum / Unit test for Dynamic Node extensions?
    Created: January 17, 2012 - Last update: January 17, 2012
    Has anybody tried to unit test Dynamic Node extensions?  I have spent a lot of time on this. I read the post regarding unit testing umbraco from here and tried to use it but I always get the error: The type initializer for 'umbraco.UmbracoSettings' threw an exception. Does anybody know how to m…
  • Unit/integration test project for uCommerce
    Created: October 24, 2014 - Last update: October 27, 2014
    Hi, Can anyone tell me, what I need to include in a Visual Studio test project in order to be able to use the uCommerce (stateless) API from my test. I've tried taking a look at the "Use API in apps" http://docs.ucommerce.net/ucommerce/v6/system-integration/enable-api-outside-web-context.html p…
  • Test projects in Umbraco V9 (RC1)
    Forum / Test projects in Umbraco V9 (RC1)
    Created: August 06, 2021 - Last update: August 10, 2021
    Hi all o/ We have added a few test projects to our Umbraco solution which have a reference to the main Umbraco project. This is causing the 'base' front end folders and files to be generated on the tests running. - Is this intended? - Even if so is there anything we can do to stop this from happ…
  • Issue with setup and the initial test email
    Created: January 17, 2017 - Last update: January 23, 2017
    Hello PerplexMail, I’ve been struggling to determine how I can customize Umbraco Forms emails so I can have a workflow that goes to a customer, one to marketing, and one to our sales team. Fortunately, I’ve found your PerplexMail package for Umbraco and it should be able to do the trick once I get…
  • Sitemap choose &quot;when&quot; test failure
    Forum / Sitemap choose "when" test failure
    Created: October 19, 2011 - Last update: October 20, 2011
    Hi, I need to modify the XSLT Sitemap map macro so it doesn't link a particular node type.  I've added a choose section. The "When" test always fails and outputs the "otherwise" section. I'm new to XSLT and so I'm having great dificulty getting this right. Any help would be greatly appreciated.…
  • Test for Doctype property equals &quot;true&quot;
    Forum / Test for Doctype property equals "true"
    Created: October 03, 2013 - Last update: October 03, 2013
    I have a NewsArticle node that I am trying to loop through and only list the NewsArticles with the property "selectedArticle" when selectedArticle is true. Here is my code: <xsl:if test="count($articleNode/NewsArticle[string(data[@alias='selectedArticle']) = '1'])"> <div class="blo…
  • How to test Controllers with CurrentPage in V8
    Forum / How to test Controllers with CurrentPage in V8
    Created: April 03, 2020 - Last update: August 10, 2024
    Hi, I'm trying to set up a unit test for a renderMVCController and a SurfaceController. When I try to access the CurrentPage property on the surfacecontroller, I get an error saying that there is no routecontext. I have then tried to set my UmbracoContextAccessor like so: public abstract c…
  • Test if the $currentPage is the descendant of a given page
    Forum / Test if the $currentPage is the descendant of a given page
    Created: March 28, 2011 - Last update: April 14, 2011
    With xslt, how would I test if the $currentPage is the descendent of a given page? I need to set a selected class on a top level page when a descendant of that page is the $currentPage for a navigation menu. I am using 4.5.2 with the legacy style xslt. Thanks DallasHi Dallas You are welcome. I'm no…
  • Shorten test on multiple doc types
    Forum / Shorten test on multiple doc types
    Created: November 11, 2011 - Last update: November 11, 2011
    Hi.. I have a simple set of multiple doctypes in the test condition in a choose element: <xsl:if test="$currentPage/umbHeadline != ''">    <xsl:choose>      <xsl:when test="$currentPage/self::Page or $currentPage/self::CartStep or $currentP…
  • Examine Search Provider in Test Environment
    Forum / Examine Search Provider in Test Environment
    Created: March 02, 2016 - Last update: October 07, 2019
    Hey @all, i am trying to set up a test project for my site, especially for my search request on examine index. The index in working well in the umbraco site but not in my test project. This is my code which is causing the exception: var index = ExamineManager.Instance.SearchProviderCollection…
  • Good way to test for Unpublished Content
    Forum / Good way to test for Unpublished Content
    Created: March 03, 2016 - Last update: March 03, 2016
    Hi, I'm looking for a coding tip. Quite a few of the errors we're getting with Umbraco (be it via the Rich Text Editor with macros or the preview page) seem to have the underlying issue that we are referring to unpublished content. This is often via a macro referring to the content in a content pic…
  • test and inset images if is not empty menuThumbnail
    Forum / test and inset images if is not empty menuThumbnail
    Created: December 10, 2012 - Last update: December 10, 2012
    umbraco v 4.7.1.1 I can not find out how I make a test on whether my field is empty and if not then insert an image at <!--- menuThumbnail --> field menuThumbnail      <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&…
  • is there a way to do if test=&quot;first page&quot; ??
    Forum / is there a way to do if test="first page" ??
    Created: June 22, 2011 - Last update: June 23, 2011
    Im working on a page that that will show two different things on the first page it will show a table full of people and it will start a much longer list that will run on multiple pages. Basically I want it to place the table of people and  30 rows of plays on the first page and just 55 rows of…
  • Test cases for v.1.7 beta testers
    Created: June 29, 2011 - Last update: July 05, 2011
    Hi All, This post is intended for beta testers of the analytics package version 1.7, which supports Umbraco 4.7. Below I have added some test cases, which I would like you to help me test in order to get an updated release ready. 1. Installation - first and foremost I need you to try and install the…
  • Choose test skips directly to Otherwise
    Forum / Choose test skips directly to Otherwise
    Created: August 29, 2011 - Last update: August 29, 2011
    Ok, this problem might be bigger but here goes: Ive described what this is about in greater detail here:http://our.umbraco.org/forum/developers/xslt/23187-Help-tidying-up-and-fixing-errors-with-a-List-Rotator Anyway, its evolved since then at works as intened, albeit with even uglier code. The headi…
  • How to unit test Property Value Converters
    Forum / How to unit test Property Value Converters
    Created: August 29, 2023 - Last update: August 29, 2023
    Are there any guides on how to unit test a property value converter?
  • Unit Test - GetUrl - IUrlProvider &amp; TryFindContent - IContentFinder
    Forum / Unit Test - GetUrl - IUrlProvider & TryFindContent - IContentFinder
    Created: November 25, 2016 - Last update: November 25, 2016
    Hi, How can I unit test these methods. Any pointers??
  • Doctype Property Empty or Null Test in XSLT
    Forum / Doctype Property Empty or Null Test in XSLT
    Created: May 31, 2016 - Last update: May 31, 2016
    I've got a XSLT template that checks for 2 available properties on a collection of nodes. I would like to test whether or not the first property field is empty or null, and if it is use the second property, but the test for empty or null is causing an macro load error on the page. Here is my code: …
  • Possible to test imageGen Professional features on SubDomain
    Created: February 11, 2020 - Last update: February 11, 2020
    Hi, We have purchased and are running ImagGen Professional on production websites. We are able to test with local instances of websites using the .local domain, but I was wondering if it was possible to test the features on test instances using a sub domain without having to rely on .local or loca…
  • Live and Test instances of Umbraco Intranet showing differently
    Forum / Live and Test instances of Umbraco Intranet showing differently
    Created: January 11, 2021 - Last update: January 11, 2021
    Hi, We have a live and test instance of Umbraco however when you look at live - Site Settings it shows less than the test umbraco, so just wondered if anyone knows why this might be and how we can update live to reflect test please. ![enter image description here][1] [1]: /media/upload/1b10d66…
  • Test &quot;vew page&quot; url to outside users
    Forum / Test "vew page" url to outside users
    Created: September 27, 2013 - Last update: October 17, 2013
    I am very new to umbraco and need to be able to test pages I have yet to make live to my team prior to publishing. Please advise as ot how this is done. TY
  • Is there any way to test/develop XSLTs outside Umbraco?
    Forum / Is there any way to test/develop XSLTs outside Umbraco?
    Created: August 02, 2011 - Last update: August 02, 2011
    Hi, I have rich set of xslt development and debugging tools. Is there any way to test xslts outside Umbraco? I am hoping to get the test XML data somehow so I can use them as test data to develop my xslts. Thank you, Hi Allan49, There are several ways to get to the XML: - First of all, it's stored…
  • URLs to test for Security Advisory 10th December 2019?
    Forum / URLs to test for Security Advisory 10th December 2019?
    Created: December 19, 2019 - Last update: December 19, 2019
    I am trying to test the success of the patch deployment for [Security Advisory 10th December 2019][1]. I am unclear which URLs should be tested. Can someone help clarify? [1]: https://umbraco.com/blog/security-advisory-10th-december-2019/
  • How do we test whether Umbraco is working?
    Forum / How do we test whether Umbraco is working?
    Created: August 27, 2013 - Last update: August 27, 2013
    1     How do we test whether Umbraco is working? Is there a login page or something that we can monitor?  2.     should we just check whether or not the webpages load from server – is there something more we should be monitoring?
  • How Use XSLT to Test For Multiple Values?
    Forum / How Use XSLT to Test For Multiple Values?
    Created: August 19, 2010 - Last update: August 20, 2010
    Hello, I want to test multiple values in XSLT. Why is this not possible? <xsl:if test="$currentPage/data [@alias='bodyImage1'] != '' AND $currentPage/data [@alias='bodyImage2'] != ''"> //KalleI did not know that XSLT was case sensitive, especially important in your XPATH statements. Absolutely…
  • it is possible to unit test a controller inheriting from UmbracoAuthorizedApiController?
    Forum / it is possible to unit test a controller inheriting from UmbracoAuthorizedApiController?
    Created: November 27, 2016 - Last update: August 07, 2018
    chaps, it is possible to unit test a back office controller inheriting from UmbracoAuthorizedApiController? at the moment, when i'm trying to mock my controller out i get: System.ArgumentNullException : Value cannot be null. Parameter name: umbracoContext at Umbraco.Web.WebApi.UmbracoApiCo…
  • Forms Razor email template - test somehow?
    Forum / Forms Razor email template - test somehow?
    Created: March 05, 2021 - Last update: March 05, 2021
    Hi everyone, I'm working on an razor email template at the moment. Is there a way to test the code without having to send an email all the time? I only know: If the email comes, the code worked. If not, it didn't work. But I don't know, what didn't work. All the best, SimeonCool, have a nice week…
  • User Control to Automate Test Content Create/Delete?
    Forum / User Control to Automate Test Content Create/Delete?
    Created: October 12, 2010 - Last update: October 13, 2010
    Has anyone already written a generic user control that would aid in auto-creation and deletion of test content? We need to auto-generate multiple content items under a given node, to test paging and load performance.  I was thinking of a user control that maybe prompted for parent node id and n…
  • Examine search working on dev but not test (Azure)
    Forum / Examine search working on dev but not test (Azure)
    Created: September 04, 2019 - Last update: September 05, 2019
    We have a v8 app which uses Examine for it's search function. On the dev machines it's fine, returns what I expect it to, but when deployed to test on Azure it returns nothing (there is definitely content there) and throws no error. As it's only happening on test and nothing appears in the back-en…
  • How to test if node belongs to parents node
    ImageMap - Plugin / Backoffice extensions / Packages / Our
    Created: January 15, 2010 - Last update: January 15, 2010
    Hi all i'm building a site where i need to test if a node belongs to a parent node, so for example say i have a News List with Monthly folders, i need to see if a news item belongs to a certain monthly folder, so something like does news item 1 sit under the january folder. I know you can get the pa…
  • How to test against Default values of empty properties
    Forum / How to test against Default values of empty properties
    Created: July 05, 2013 - Last update: July 05, 2013
    Hi All, I've hit a strange bug I honestly have no idea how it began. On many of my doc types are non-mandatory properties which I do some checks in the template before posting. Simple does value section-logo != null, etc. Prior to 2 hours ago this worked, but now I get "Input string was not in…
  • Remove old test order before release
    Created: September 23, 2021 - Last update: September 23, 2021
    Is it possible to simply truncate the vendrOrder* tables to remove the old test oders? Are there any other tables we would need to alter as well? Thank youHi Warren, I think this should probably cover everything, but yea, it's basically all `vendrOrder*` tables TRUNCATE TABLE vendrOrderAmoun…
  • Bulk deleting customer data (old test customers)
    Created: March 26, 2019 - Last update: March 26, 2019
    We have inherited a site where the original developer hasn't deleted their test data from what seems to be testing a bulk import of customers. There are 500 pages of nonsense testxxx@test.com customers which while not doing any harm is making creating marketing email lists more difficult than they…
  • How can I test Contour on my website?
    Forum / How can I test Contour on my website?
    Created: February 08, 2011 - Last update: February 09, 2011
    How can I test Contour on my website? In order to use Contour, I need to register a domain name. However, when I build sites they typically have a test URL which is where I need to see if Contour works. Ah yes Tim, that's a good solution, you just always use the mysite.com domain to develop. One mo…
  • Test if current page has no sub pages.
    Forum / Test if current page has no sub pages.
    Created: February 24, 2011 - Last update: February 26, 2011
    Hi All, I have the following xslt for the 4.5 schema: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#x00A0;">]><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmln…
  • 2.1.9.2 bug - Send test email doesn&#39;t work
    Created: March 02, 2018 - Last update: March 06, 2018
    Not sure whether it relates to the SSL issues but we've found since upgrading to 2.1.9.1 we've not been able to send test emails, it seem to save the email instead and then reload the nodes. Upgrading to 2.1.9.2 hasn't resolved the issue ![enter image description here][1] [1]: /media/upload/eac…

Code Of Conduct - Privacy Policy

 

Our.umbraco.com is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community.