Comments (7)
+1
from umbraco-vorto.
+1
from umbraco-vorto.
+1
On every Umbraco site I have used Vorto I have added a script that does exactly this, it also removes the language selection from each individual property and places it the header of the admin screen & adds a globe icon next to the property to indicate it is multilingual. Personally I try to keep the forms as compact as possible so am not a fan of having a language selection dropdown on very property.
from umbraco-vorto.
@anth12 care to share your code?
from umbraco-vorto.
@mattbrailsford sure I will dig it out, but I'm warning in advance its not pretty ;).
from umbraco-vorto.
@anth12 a starting point is better than nothing :)
from umbraco-vorto.
Ok so I normally use Umbraco's manifest to inject the following:
$(window).on('vorto-ready', function() {
//Ensure its not already been setup by another property firing duplicate events
if ($('.umb-panel-header .vorto-tabs').length == 0) {
setTimeout(function() {
//Move the tabs
$('.vorto-tabs').first().insertAfter($('.btn-toolbar.pull-right.umb-btn-toolbar'));
}, 10);
}
});
.vorto-tabs {
display: none;
}
.umb-panel-header .vorto-tabs {
display: inline!important;
float: right;
margin-top: 15px;
}
.umb-panel-header .vorto-tabs .vorto-tabs__item {
height: 29px;
border-bottom-color: #ddd;
}
.umb-panel-header .vorto-tabs .vorto-menu {
left: auto;
right: -1px;
}
And finally I modify the vorto.js file to fire the 'Vorto-Ready' ($(window).trigger('vorto-ready');
) event- obviously this is not an idea solution as upgrades overwrite the change.
I do much prefer having one central language selector but using the standard customisation in Umbraco I'm not sure it would be possible.
from umbraco-vorto.
Related Issues (20)
- Suggestion: Split Vorto into two projects HOT 1
- Make the package more strongly typed (generic typed) HOT 1
- Recursive GetVortoValue -> NullReferenceException HOT 8
- Examine search failure for keywords after carriage return when textarea editor with vorto
- Feature request - ModelsBuilder in Vorto HOT 2
- Optimisation: Cache language files for Vorto properties HOT 3
- Our.Umbraco.Vorto.Web.PropertyEditors.VortoPropertyEditor+VortoPropertyValueEditor - Error converting DB value to String HOT 6
- umbraco deploy & vorto-ising existing properties HOT 4
- Votro TextString - fallback to show TextString value on website & backoffice HOT 3
- Vorto API cause blocking when many Vorto properties exist on a document type HOT 1
- Vorto with many rich text fields loses content
- Issue in nested content template HOT 2
- Vorto in SurfaceController HOT 6
- Support for Umbraco v8
- GetVortoValue returns null in 1.7.0 version HOT 11
- Dropdowns and checkboxes HOT 4
- GetVortoValue Doesn't Recurse (v1.7.1) HOT 3
- using Vorto in my custom Sections HOT 1
- VortoValueConverter throws NullReferenceException with trashed content/media item HOT 4
- Porting / reimagining for v8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umbraco-vorto.