TYPO3 7 has a nice Translation Wizard where you have for each page the choice whether you translate the elements or copy them. Once you choose one mode its locked for this page (as long as there is a translated content element).
My question is: can I force one option (for redactor) that he can only make "real" translations and no copies.
Thanks!
A quick and dirty hack is to hide the unwanted option via CSS in the backend.
See https://forge.typo3.org/issues/76910
Related
I wanted to ask if there is a possibility to force Joomla to use full article image if intro image is empty (everywhere where image should be visible).
Is there a setting for this? Is it a feature of a template or Joomla engine itself? Right now I always have to specify both of this images, cause if I specify one only full article image Joomla does not display miniature in many places. If I specify the other one miniature is there but when I enter article it is missing.
I always end up having to specify the same image twice. Is there any way around this?
Thanks
UPDATE1:
I ended up overwriting the template for article to display $images->intro_image whenever $images->image_fulltext is not available.
This solves my problems yet one joomla user tells me she is sure that they were able to do that before without any modifications in the template. So now I'm just wondering if there is a setting for this in Joomla Admin so that it does not have to be forced in template code
It turned out that each element of my page except full article used intro_image. So what I did was to copy out the part responsible for showing article into the html folder of my template and just added a php code to use intro image instead of fulltext image (if it is present). You basically need to change $image->fulltext to $image->intro_image in the condition. But remember to keep the original condition as an elseif condition if you want to be able to still use full text image
I've put together a block of RTML that i would like to add to a product page. Now that i've got that, I'm trying to figure out how to place that whole block of RTML into the product's template. That may not be the right way to do it.
my desired result is that the html of the product page is rendered PLUS the html that would be rendered by my added block of RTML.'
What I have tried: as far as I can tell, i can only use the editor to add RTML 1 line / update at a time. which means anything complicated would take forever.
Yes Kristian, you're absolutely right. The operators in RTML take a very, very long time to insert because it requires a page refresh for each operator in the store editor. If you have a lot of HTML to update, you can use the RTML template uploader located here http://www.yourstorewizards.com/rtml-transfer-utility.html . While it is free to "download" templates, you are charged for "uploading" templates. This is because you aren't truly uploading or downloading templates. What the program does is move your mouse around the screen very quickly doing all the clicking for you.
At the very least, you can use the MULTI command to group other commands together. That way you can quickly duplicate operators/HTML. You can take a bunch of TEXT operators and quickly duplicate them inside a MULTI, and then duplicate the MULTI. This is probably one of the most efficient ways to do large blocks of HTML.
Another idea... Print out a script tag using a TEXT operator, and insert your HTML with JavaScript. Obviously you won't want to do this all the time, but if you're looking to insert a very large piece of HTML this may be your best bet.
I am stuck working on a gallery, which uses 3 columns and 1 row multiplied alot of times to show a simple and clear gallery.
The problem comes when after publishing, the max-length of articles cut the content, but I can't find the config where I can change it.
This is problem with your template style(or gallery plugin/module gallery style), you have to edit your css file.
Best way is to check gallery with Firebug (mozzila add-in), make necessary changes and then overwrite default style.
Be careful with your updates, that do not overwrite your style.
It was a problem with MySQL.
I just changed "Text" value for "LongText" (on MySQL), so that way I can use a large amount of characters on the same script.
I've created an alternative layout for one of my articles which can be applied successfully, but as has been highlighted in various forums: if you view the article using the Single Article menu type the alternative layout doesn't get applied because of an XML override.
I have a Joomla site that is setup for Sales and Support where the article info such as date, hits etc is useful but on the marketing side none of that is needed, hence an alternative layout would work well.
I want to know how to enable my alternative layout using the Single Article menu type - I've already got the layout how I want it (testing it by having it overwrite default.php) but want to set it up as marketing.php instead and only have it applied to what is needed.
You're probably not going to like this answer because you have already written you're alternate view. If you were rewriting it to begin with, why would you not write in a way that the side bar parameters (date, hits, ect) are within a container that is only loaded conditionally. This way you would only have one view to worry about and a lot less headaches.
I have to convert a static site for a client and it has to retain the exisiting layout.
Fortunately, most of the pages don't have to be editable, so for those I was going to use more or less the existing html.
The challenge I am having is that for many of the pages that do need to be editable, the content is laid out in columns (2, 3 and sometimes mixed)
This ( http://globalstrategies.org/index.php/give/hope-partners ) is an example of a page like that, and you can see others on the site where the layout is relatively complex.
I had thought of creating a jce stylesheet that would at least layout the page in the editor in a reasonable way (a bit like a responsive site, by having the columns stacked one after the other) , but I am concerned that my client may accidentally delete the surrounding classes/divs that create the more detailed structure.
I'm pretty familiar with Joomla and have built quite a few sites, but I've not used an cck tools and was hoping not to have to do that in this case, though maybe now is the time to learn.
Any advice / recommendations would be welcome !
Richard
Maybe ContentBuilder could do in your case, it's fairly easy and creates super-simple code, I've accomplished similar tasks with it. You provide the user with 3 fields (one per column) and create a layout for its display.
Another alternative is possibly even easier: you could override the use of the page functions in a template override of com_content/article, instruct the user to insert at most 2 page breaks, and use the page breaks to build the layout as you require.
If your sites is upgraded to the Joomla 3 you can use the build-in Bootsrap to do the layout.
You can find some more information how you can achieve this in the following page:
http://twitter.github.io/bootstrap/scaffolding.html#gridSystem