I want to add a field in Orchard custom form so user can use it to upload a file with certain document type and size.
I've tried the following modules but nothing appears when adding a new field:
File Field - Version: 1.2
Media Picker Field - Version: 1.2
Ajax File Uploader - Version: 1.5.1
CloudConstruct.SecureFileField - Version: 1.4
Please help.
Update:
I've managed to implement IStorageProvider by myself but still the file uploaded with 0 KB size, please find cose snippet link
I've re-implement it and publish it on GitHub
Related
In my JHipster app, I have manually updated the OpenAPI spec file (api.yml), following official instructions for API-first development.
However, the documentation (generated via Springfox) does not update, and still lists the endpoints described in the original (default) content of the api.yml.
As per Springfox's documentation,
All content is served from a webjar convention, relative url taking the following form: webjars/springfox-swagger-ui/2.9.2/swagger-ui.html
But there's no word about how to update that. Any ideas/clues welcome.
Thanks!
I have a page with a thumbnail and I want to remove it and go back to the default image.
I have this values in the config.xml of the content-type
<previewable>true</previewable>
<noThumbnail>false</noThumbnail>
<image-thumbnail>image.jpg</image-thumbnail>
Then I change it to the one I have before
<previewable>true</previewable>
<noThumbnail>true</noThumbnail>
<image-thumbnail></image-thumbnail>
After this, all I got is a broken image link. I don't see the default preview image when I try to create a new content type.
I'm working on 2.5.x on alfresco as my content repository. I did the changes trough Alfresco Share
Am I missing something to pick the change?
Did you try:
admin console -> configuration -> click on “clear cache”.
See attached image.
How to form the webservice url for getting order, products etc.details using webservice calls from Hybris installed in the local system.
Which all files to be checked to form the url?
For Example : http://localhost:9001/../../..
What should be filled in the blanks?
I am using a trail version of Hybris.
You have to generate a webservice extension by the modulegen ant target. This extension provides you a logic how you can make your hybris application reachabel by a webcall.
https://help.hybris.com/6.2.0/hcd/8c83443586691014a4b1ebdb08146283.html - Here is the WIKI Page about webservices
https://help.hybris.com/6.2.0/hcd/8b9e3f1c86691014bd71bdc414663e44.html - Here is an example of a webservice
The list is quite long to be posted here.
Currently you can found v1 WS definition in Calls Reference - v1 (check child pages).
The new v2 WS are described in Calls Reference - v2 and extends v1 WS.
Basically for user, cart and order, you can find below the model of URL to call:
User resources: https://localhost:9002/rest/v2/{baseSiteID}/users/{userID}/...
Cart resources: https://localhost:9002/rest/v2/{baseSiteID}/users/{userID}/carts/{cartID}...
Order resources: https://localhost:9002/rest/v2/{baseSiteID}/users/{userID}/orders/{orderID}
I had created a custom Content type: "UpComingProducts" in Orchard. This content type had an Image Picker field.
While exporting this Custom Content type: "UpComingProducts", i do select the Images as well in addition to the Metadata and the Data for "UpComingProducts" .
Problem is that on importing, the Content Data is imported successfully but the Images are not getting imported. I checked the "Media" link in Admin Menu and also the Media folder on filesystem, there are NO images there after import.
Please help me here. Why Images are not imported but the rest of custom content is importing properly ?
I am trying to create an extension ('XML Uploader') with a backend module and a frontend plugin also.
The backend module will be used for managing xml files (upload, validate against a DTD), and the frontend plugin should be used for displaying the uploaded xmls.
The problem is with the frontend part:
I followed
the basic extension tutorial - added a new page, created a content element of type 'Insert plugin' - but when trying to add a new record, the type 'XML Uploader' does not appear in the list of new record types. Moreover, the changes made to class.tx_xmluploader_pi1.php have no effect.
So how should I work with the frontend plugin? Or would it be better to create a separate extension instead?
Any help would be very much appreciated.. Thank you.
When creating your table with the extension kickstarter you must check the "Allowed on pages:" checkbox to allow records from this table to be created on regular pages.
If your changes have no effect, it could be that the page is cached by typo3. In that case you can clear or disable the cache with the admin panel or in the page configuration menu.
You have to include the static template of your extension (I presume you used the kickstarter or extension_builder):
go to the your template, in the object browser you should see something like:
plugin.tx_xmluploader_pi1 = USER
if you can't find it, edit your template (edit/modify => edit whole template record) and add your extension template in the tab 'Includes'
Additionally, check your ext_localconf.php for the line
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_xmluploader_pi1.php', '_pi1', 'list_type', 0);
This is where your FE plugin is being registered.