Umbraco - How to import Dictionary between Umbraco instance - umbraco

We are working with Umbraco 4.5. We have different culture set in the site. for that we use Dictionary object.
We completed our development locally now we need to deploy our changes on our Production Server. We want our Local Umbraco Dictionary to be imported to Production Server with some automated process. As we have more than 1000 Keys in Umbraco Dictionary.
Thanks

You have two options:
Script the SQL changes in the cmsDictionary and cmsLanguageText tables (they are related)
Create a package (right click on Packages in the Developer section > Create). In there you will be able to choose the dictionary items you want to include. With a 1000 keys, you don't really want to do that though.
Also, the upcoming version of Courier for Umbraco should be able to alleviate trouble with content migration (any type of content).

You can use this Umbraco Package: Dictionary Dashboard
It's easy to install, you can specify in which Section of the Backend it can be seen (by default this "Dictionary" Tab is available under "Content". (Umbraco official "Dictionary" is under "Settings" and I don't like that: if the customer wants access there he will need a user with admin rights, which I don't like (can mess with other things)...).
You export your dictionary as XML, you can easily edit it (if needed), you can import it in another umbraco installation (where you must install this package of course).
It's really one of my favorite packages.
It works from Umbraco 4.7.x till 6.x (with umbraco 7 I don't know, try...)

Related

TYPO3 Localizer Extension - Cart Configuration

So I am trying to learn a bit more about TYPO3 and Localization. So I am using the Extensions:
L10N-Manager
Localizer
I can create the base Localizer-Configuration but whenever I go into the Selector Tab and try to create a new Cart, I can't select any languages - which makes the created Cart "breaking" (a "global cart" is created but all fields are not available for editing and I can't view it in the Cart Tab of the Localizer)
I am wondering what I am doing wrong - I sadly didn't find any records on such problems or a better introduction about the configuration. All Tutorials just show how the Localizer Configuration is created and then they can simply create a cart.
Is this a known problem? Would be great if anybody knows a solution. Or a really good tutorial that shows step by step how to set up the configuration.
Info: I am using TYPO3 on my localhost (XAMPP) with TYPO3 Version: 10.4.13
Thanks ahead
The Localizer manual says for both, source and target language fields:
Important
Make sure each of the language records has been configured with the
necessary locales to distinguish between languages during the
translations process.
So did you configure the language records accordingly?
Most likely the locale values based on static_info_tables records have not been set, which is currently still necessary. So you should check your sys_language records for those values.
In upcoming versions of Localizer this will be replaced with values taken from the site configuration.

Umbraco Custom Package Installation Failed

I'm using umbraco 6.2.6 and try to package some of the umbraco cms content in my PC to the another umbraco cms in different machine. To create the package I following this tutorial http://www.uquickstart.com/umbraco-tips-and-tools/package-up-your-umbraco-website.
After I create the package then installed it to another machine, All works fine for (document type, data type, templates, etc) however my content/page is not installed by this package.
P.S. I'm sure my packages already contain the content/page
One of my colleagues say that eventually sometimes we need to included the content/page from the parent to add the content/page. For example the news is under the home sections (Home -> News), so to add the news to the other machine we need to add the home as their basic parent.. Is this true?
Or are there another way or idea to package this item then installed on another machine.. Any idea would be helpful..
Thanks
In a word, yes. You'll also need to include in your package the Document Type for your home page. Basically, in order for your content to be included in the package and successfully created, you need to also include any parent nodes so that the Content Tree remains valid.
Even if your package includes the specified content nodes, because you haven't included the parent node those nodes won't be created because the resulting content tree would be invalid.
UPDATE:
If a home node exists already and your package adds another, then you will end up with two - the new one will have a unique name and may be unpublished though.
The other problem to consider is if a Document Type already exists with the same name as one included in your package - in this case, your new Document Type won't be created, but the package should still create a node based on the existing Document Type - this is where things get messy. I haven't tried in a long time, but the package install may simply fail to create the related content node as the properties won't necessarily match up.

Pentaho 5.0.1 CE Adding folder to pentaho-solutions directory

How do I get a folder to appear in the browser after adding it to \pentaho-solutions in Pentaho 5.0.1 CE. The documentation I read does not seem to work with this new version.
1. Create a new directory in /pentaho/server/biserver-ee/pentaho-solutions/.
Use underscores instead of spaces in the solution directory name. Ensure that the directory has the appropriate user
and group ownership to be writable from the BI Platform.
2. Using an XML-aware text editor (or Design Studio), create a file named index.xmlin your new solution directory.
3. Copy the following text into the index.xml file, changing the content accordingly:
***<index>
<name>Example Solution</name>
<description>This solution contains examples I created while learning to
work with action sequences.</description>
<icon></icon>
<visible>true</visible>
<display-type>icons</display-type>
</index>***
4. Save the file and close the text editor.
5. Log into the Pentaho User Console as an administrator.
6. Refresh the solution repository cache by going to the Toolsmenu, then selecting the Refreshsubmenu, then
clicking on Repository Cache.
You now have a new solution directory. It will show up in all file dialogues in the Pentaho User Console as well as the
Solution Browser in the left pane.
Every time you add or edit an action sequence to your solution directory, you must refresh the repository cache as
explained above. Each user currently logged into the Pentaho User Console must also refresh their session cache; this
is best done by re-logging into the Pentaho User Console.
I am using Pentaho design studio to develop an xaction sequence script. I followed this procedure:
1. In Design Studio, go to the Filemenu, then select New, and click on Other...in the sub-menu.
The Newwindow will appear.
2. In the Newwindow, click the triangle next to Pentaho, select New Action Sequence Wizard, then click Next.
3. In the File namefield, type hello_world.xaction.
4. Select Hello Worldfrom the Templatedrop-down box, then click Finish.
The wizard will generate the new file and bring you back to the workbench.
5. Click on HelloWorldComponentin the Process Actionssection on the left.
The right side of the screen will change to show the options available for this action: Nameand Message. The
Name field controls the name of the component in the Process Actions list on the left; it doesn't do anything else of
note. The Message field contains the text that will appear on the screen when the action sequence is run. It is prepopulated with %quote, which is a token that represents a quote message in a nonexistent properties file. Pentaho
used to provide properties files for each example, but they have been removed from the standard Pentaho Business
Analytics distribution.
6. Replace the %quotewith a sufficiently inspiring message.
Alternatively, you could create a hello_world.propertiesfile and populate it with the appropriate messages and
tokens, but that has no advantage unless you intend to internationalize this action sequence.
7. Save the file.
You now have a working action sequence that prints a short text message: "Hello, World." plus whatever you typed into
the Message field. The first part of the message is determined by a message bundle packaged with the Pentaho Web
application archive.
To test the action sequence, use the Test tab if you are on Windows or OS X, or log into the Pentaho User Console and
run it from the Solution Browser.
Running the sample xaction fails with
Sorry. We really did try.
Something went wrong. Please try again
or contact your administrator.
I figure this is because pentaho cannot locate the xaction file as specified in the file path when I generate the url from within design studio. The folder I created within the solution directory does not appear in the browser directory list despite refreshing the cache. Any help?
With Version 5 the files and folders are no longer stored in "/pentaho/server/biserver-ee/pentaho-solutions/..."
It is stored now in a jackrabbit repository.
You can create folders and upload files in the user console.
I did mistake after starting biserver 5.2. Unexpectedly i deleted Public folder after configuring to jackrabbit. Now how do i create the folder so that i can see Public and Home Folders.
Sorry for getting back to this question some time later, just in case someone searches something related to Pentaho repositories management with no success, i hope this information can help.
Just to make things more clear, i'm using version 5.2.x and i'm supposing you want to create a new folder on the root directory of Browse Files screen, something that is not allowed on Pentaho5 CE Web Console.
The answers about repository management based on JackRabbit are correct, so the old way we used to configure new "solutions" folders doesn't work anymore. From version 5 on, Pentaho exposes an interesting REST api that allows you doing things not allowed in web console.
For instance, for creating a folder in root directory you should create a http REST PUT request against Pentaho Server (using tools like curl or if you appreciate Google Chrome, something like Advanced Rest Client, etc.) using the following URL:
http://localhost:8080/pentaho/api/repo/dirs/:new_directory_name?userid=admin&password=password
Pentaho repository directory REST api is documented here:
http://javadoc.pentaho.com/bi-platform500/webservice500/resource_DirectoryResource.html
It's worthy to spend some time reading REST API the documentation.

How to implement blogging feature in umbraco 7

Recently I am started exploring Umbraco 7 cms and building a site where I need to implement a blogging feature.I want to do it using MVC razor syntax but I am also open for extension.But primarily I want to do it using coding . Please help me by giving some ideas and resources to accomplish the task.
Thanks
Utpal
You can use uDateFoldersy for this purpose. using it you will be able to do following with out any coding.
Configure multiple nodeTypeAliases for landing (root eg. news, blog) nodes.
Configure multiple nodeTypeAliases for nodes to put in date folders (eg. article, blogpost)
Configurable property alias for date property (you can call it anything!)
Automatic folder creation occurs on the Saved event.
Change of a date in a node results in the node being moved.
Moving a node to another date folder results in the date being changed.
Year, month and day folders can be disabled
Nodes can be created directly on a year or month folder, and will stay at the folder.
Define your own date folders (if you want)
The package includes mvc view and a master page.
This will make your development a lot easier as the basic features needed to implement for a standard blog will be done with this extension.
A complete blog package is UBlogsy, it has tags, categories, authors, data folders and more. Also working in Umbraco 7 (see details on downloadpage)
For a blogwebsite I created my own Razor scripts to run it the way I want it to Run ;)

Tea Commerce + Umbraco

I have an existing Umbraco site. I would like to add the option where users could buy a product and then pay for it etc.
Reading around it seems TeaCommerce (http://www.teacommerce.net/en/products/tea-commerce-starter-kit.aspx) is a module that can be used to achieve this.
So i download it and install it. All seems to install fine but now reading all the documentation that there is nothing states what to do next or how to proceed.
I then download the starter kit. Follow the instructions (http://www.teacommerce.net/media/11341/installation_guide.pdf) and the starter kit doesnt exactly run perfectly so i cant get the idea of how everything runs.
When i say the starter kit isnt running by that i mean i get the below errors
Error loading Razor Script /general/meta-description.cshtml
'string' does not contain a definition for 'mediaItem'
Error loading Razor Script /cart/mini-cart.cshtml
Cannot perform runtime binding on a null reference
I realised there was no Template associated with the site - so adding a template allowed the above page to load but with the errors stated.
From this point on could anyone guide me or point me to a working solution that i can replicate myself or how to integrate it with my existing Umbraco site?
Thanks
Unlike many ecommerce packages teacommerce doesn't have a built in product catalogue - so you have to build a catalogue in the Umbraco node structure - or use the "product information extractor" to use a catalogue in an XML file or accessed through an API.
I would assume that you're setting up with the node structure for the catalogue - so either you haven't built any 'Product' nodes yet or one of the fields (mediaitem) in the 'Product' node can't be accessed via /general/meta-description.cshtml which is a razor script file. So debug the /general/meta-description.cshtml file where you see references to the mediaitem field and you should pick out the issue.
ucommerce is an alternative and is much more fully featured but its pricing model of annual charges for features like the marketing section (which allows you to build in discounting) should be considered and could cost thousands of euros per year - teacommerce costs hundreds of euros but is a one-off charge.
I haven't used teacommerce but can recommend uCommerce http://our.umbraco.org/projects/website-utilities/ucommerce its free and you even get a razor shop fully built that you can just tweek to your need.So far this is the easiest commerce product on umbraco in my option.

Resources