We had it already .. the missing icons at the fluidcontent-elements at TYPO3 Backend ... (here f.e.).
Now with TYPO3 7.6.2 LTSand the latest fluidcontent 4.4.0.
Sometimes the icons are there, but only on specific places, like Page -> Columns -> Overview
But not at the new content element - wizardor the page properties(images 2+3)
At the new page content wizard page its the following at inspect tool, Serverpath and my directory ../homepages/5/d11223344??/htdocs/mydir/typo3conf/ext/myext/Resources/Public/img/icons/MyIcon.svg
I also create a few Icons at the following folder: /typo3conf/ext/myext/Resources/Public/Icons/Content/Grid03ThreeCol.png for /typo3conf/ext/myext/Resources/Private/Templates/Content/Grid03ThreeCol.html - . I've tried png & svg ... nothing.
Is it a fluidtypo3- or a typo3 problem?
How do you do this?
After a few updates from fluidcontentor/and flux...
Now it works!
Your Template:
/typo3conf/ext/yourextension/Resources/Private/Templates/Content/Grid02.html
Your Icon:
/typo3conf/ext/yourextension/Resources/Public/Icons/Content/Grid02.svg
... the images ..
and
and
Open your /typo3conf/ext/myext/Resources/Private/Templates/Content/Grid03ThreeCol.html File and in find that icon path.
it will call from below line. Modify your icon path as per below code:
<flux:form id="" options="{group: '', icon: '../typo3conf/ext/myext/Resources/Public/Icons/Content/Grid03ThreeCol.png'}">
Clear cache from install tool and also from backend. And then check, it will work.
Related
after my first steps with FLUID POWERED TYPO3.
The latest versions flux 7.1.2, fluidpages 3.1.2, fluidcontent 4.1.1, fluidcontent_core 1.0.2, vhs 2.1.4
I've got only a small issue ... I don't see my Icons for FLUIDPAGES or FLUX CONTENT ELEMENTS at TYPO3 Backend.
This is the Icon Path for Fluidpages-Images from Screenshot:
typo3conf/ext/mvz_neuhann/Resources/Public/Icons/Page/Standard.gif
I try it with or without baseURL nothing happens. The Icon is visible, when I paste the path into my Browser:
But my JS-Console says:
http://mvz.local/typo3/typo3conf/ext/mvz_neuhann/Resources/Public/Icons/Page/Standard.gif 404 (Not Found)
Because of the 'typo3/' after my URL. But why? I'm on a local Server, no File Permissons or sth., Clear Cache, delete typo3temp.
Nothing. I can't see my Icons from my provider Extension via fluidpages or flux. It's the same with my FLUX Icons, the Standard-Icon is availible but how is the path at my flux form?
I've tried:
<flux:form id="home05" options="{group: 'xy', icon: '{f:uri.resource(path: \'Public/Icons/Content/myicon.gif\')}'}">
// or
<flux:form id="home05" options="{icon: 'typo3conf/ext/my_extension/Resources/Public/Icons/Content/myicon.gif', group: 'xy'}">
//
<flux:form id="home05" options="{icon: 'EXT:my_extension/Resources/Public/Icons/Content/myicon.gif', group: 'xy'}">
While in the backend, Flux creates a relative path to your Icon. To be precise, it creates a relative path to PATH_site constant. This means in your iframe, the path is plain wrong. This is a common issue with backend images. There's a few ways to solve this:
Create a custom, absolute uri with f:uri.resource and f:uri.image (absolute paths)
Example with proper escaping would be
<flux:form id="fluidpage" options="{icon: '{f:uri.resource(path: \'Icons/Content/myImage.gif\')}'}">
prefix your path with a slash if it's a custom Icon so the path will start at your root
There should also be automatic icon discovery which will find an icon Resources/Public/Icons/Standard.(png|gif) for your page Template Standard.html
If you have further issues, please refer to our bugtracker on GitHub.
I'm having an issue with CKEditor regarding image properties. Spent many hours investigating this but ended up without solution.
I'm using Drupal 7 with the latest CKEditor AND IMCE.
When I click on the image icon on CKEditor tool bar, the image properties popup window came up but I was looking at the "advanced" tab is not showing up. No tab show up at all.
Is there any configuration that I have to apply in order to show up the tabs in the image properties?
you can try by reinstalling with ckeditor - 7.x-1.16 and imce - 7.x-1.9,
worked for me
I got this trouble when use cdn version of ckeditor instead of local.
To fix it download latest ckeditor from official site http://ckeditor.com/download. I have downloaded full version. Then copy files to /sites/all/modules/ckeditor/ckeditor. Before you copy here must be only 1 file with name COPY_HERE.txt. After copy folders adapters, lang... etc.
Then go to the global settings of the ckeditor admin/config/content/ckeditor/editg and set path to the local ckeditor library like this: %m/ckeditor. Save settings and check if advanced tabs exist now.
A simple issue but unable to find a solution.
I have some image files that I placed in a subfolder called icons in my working directory in my ASP.NET website. I want to set an image during initialization to the markers on my Google map. But this isn't working. I have tried-
var marker= new google.maps.Marker({icon:'E:\cdeez\Sites\googletest 5\icons\busballon.png', position:pos,map:map});
It gives an error:
Not allowed to load local resource: file:///E:/cdeezSitesgoogletest%205icons%08usballon.png
However there is no problem if I place the image in the working directory. I guess giving the absolute path is not the right way too. So what is the right way in the above case.(Just a reminder- the above code will be in the aspx file).
According to the MarkerOptions docs, the icon should be a URL. However local files (embedded with file:///) tend to be ignored by browsers if the website is served over http - and I think that is what is happening in your case.
I would suggest to try out the following steps:
try using a relative path, e.g icon: "/icons/busballon.png"
try using a http path to your file, e.g. icon: "http://yoursite.com/icons/busballon.png"
I've been playing around with Inno Setup for a couple days now, and have a lot of the kinks worked out except for one I seem to be having an issue with. Its about creating desktop links and icons.
I've tried using the example scripts and putting them into my own script, and I've tried using two separate Setup Wizards (one that came with Inno Setup, and one that I downloaded from InnoIDE). After doing a bit of searching I finally found a code that will get a Desktop item to form (for a while the installer was not creating a desktop icon), but my issue is that the icon remains Adobe instead of my company icon.
In the old installer we used (InstalShield) back before I worked here, the programmer managed to configure the installer so that when the end user Downloaded it a link on the desktop would appear with the company logo, that would launch the main PDF file when clicked. All the files we are using are PDF files. I specified an icon in the installer, but I think thats just for the installer itself (while its running). I couldnt find an option for using a specific icon on the desktop in the Manual, or in the Setup Wizard, and I tried searching Google and couldnt find anyone else with this problem.
Is there a way to make my company logo show up on the desktop instead of Adobe's PDF logo for the main launch file? Or even if there is a way to create a shortcut and have that be the logo and link to the main PDF file, that would be fine too. Any advice really is appreciated. Thanks in advance.
There is a parameter called IconFilename which should solve your problem. Example:
[Icons]
Name: {group}\MyApplication; Filename: {app}\MyApplication.exe; WorkingDir: {app}; IconFilename: {app}\MyApplication.ico; Comment: "MyApplication"; Components: MyApplication;
Name: {commondesktop}\MyApplication; Filename: {app}\MyApplication.exe; WorkingDir: {app}; IconFilename: {app}\MyApplication.ico; Comment: "MyApplication"; Components: MyApplication;
You are free to use an exe, a dll or an ico file to get your company logo icon from using IconFilename property.
For more detailed information, visit the link below:
http://www.jrsoftware.org/ishelp/index.php?topic=iconssection
I've added some html code in my Blocks content and enabled Full HTML filter.
I've used relative paths for my images, such as "sites/all/themes/zen/zen/image.png"
I guess this is not correct because I need to change my paths depending on I'm in the home page or "node/id" page.
I guess I cannot use PHP inside blocks, thus I cannot use $base_url... how can add images path with only html ?
thanks
The previous answers provide a part of the solution, but here's a fuller scoop:
Hand-written HTML
If your site lives at example.com (i.e. it's the "root" site), then adding a front slash to your relative path will solve the issue, as others have suggested:
<img src="/sites/all/themes/zen/zen/image.png">
However, if your site lives at example.com/my-drupal-site, then you'll need to write it like this:
<img src="/my-drupal-site/sites/all/themes/zen/zen/image.png">
It really is better if you can use PHP to determine the appropriate path. If you're calling an image from a theme, you can use the Drupal function drupal_get_path to get the path like this:
$img_path = drupal_get_path('theme', 'zen') . '/zen/image.png';
And then you could be really Drupaly about it and use the theme_image function to generate the HTML for the image:
$img = theme('image', $img_path, 'My Image - Alt Text', 'My Image - Title Text');
Where $img now holds the HTML for the <img> tag and its src, alt, and title attributes. See the API documentation for drupal_get_path and theme_image for more information.
Point-and-click Solution
As jeffreymb points out, your easiest bet is to use a combination of a WYSIWYG editor and a built-in file handling module called IMCE to gloss over all these details for you. If you don't have access to the "PHP code" input format, this is the best solution.
So, steps:
Install the WYSIWYG module, as well as a WYSIWYG editor (I suggest CKEditor).
Install the IMCE module and IMCE WYSIWYG Bridge module, and enable the IMCE button for your WYSIWYG editor in its configuration settings for available Buttons.
See this post for a little more detail on that setup process, and make sure to read the documentation that the WYSIWYG module displays on its configuration page.
Once you have IMCE installed and integrated with your WYSIWYG, when you click the "Image" button in your WYSIWYG toolbar, your normal dialog should appear but with a new little icon to open the IMCE file browser. This file browser allows you to browse your files folder for images or to upload new files. It also supports a modicum of image manipulation, and will automatically generate the necessary HTML once you've selected an image.
I would recommend using the Pathologic module for this case. It is a filter that you can add to your input formats to convert relative URLs like that into proper URLs using your site's base URL. Plus it's useful if you have images in your RSS content as sites that re-publish the content (like feed aggregators, etc.) have the link to the full URL.
I use the CKeditor and IMCE modules to do this on my sites.
It is very user friendly and not that hard to set up.
Instead of the relative path, use the absolute path. So it'd be:
<img src="/sites/all/themes/zen/zen/image.png">
Note the slash at the beginning. The slash should be the only thing you need to do to convert your existing relative paths to absolute ones for use in straight HTML.
If you start your image paths with a slash ("/sites/all/themes/zen/zen/image.png") this will always be relative to your drupal root directory.
You could also simply select "PHP code" as the Input format, and use $base_url as you say.
I does this with cck blocks . The cck blocks is drupal module,it can put drupal fields into blocks