ckeditor content is not showing properly in front end in laravel - database

I stored CKEditor content in a database. My content is consist of text image and table. The data is stored in the database perfectly as I used long text data type with the column. When I fetch and display the content on the front end, the textual content is displayed properly but the image is not showing and table borders are also not showing. I searched a lot but couldn't found the solution. I need the solution as soon as possible.

Related

Partially re-render PDF in React

I'm trying to achieve the following:
Overlay some text on top of a PDF
Edit that text using an input field (outside the PDF)
Update the PDF in real-time, without re-loading the entire PDF, i.e. a partial re-render
I've built a demo showing what I'm trying to achieve - this reloads the entire PDF when you type in the input.
https://react-pdf-demo.vercel.app
My question is: is this feasible? If so, how can I achieve it?

How can I load a chart table with a default value in Google Data Studio?

I'm working on a Google Data Studio page which pulls data from a Google Sheet.
The use case of this page is to display the data from a row (from the Google Sheet) based on a selection made from a filter (single select dropdown).
When the Google Data Studio page loads, by default, it loads all the data from the source and displays it on the chart tables, however I would like to display a blank page and the data should load only after a selection is made from the filter dropdown.
There is a simple way to solve this problem. In the drop-down filter settings, in the "default selection" field, you can enter text by default that does not match any of the possibilities of the list items will be displayed in the drop-down list. It might be something like "-".
Thus, defining a default selection that does not exist in the list, it will start by default selected and will not correspond with any existing field, causing no information to be displayed in the table.

Issue in automating table data filling in firefox using webdriver

Objective:
This is data driven approach. I am trying to get data from sheet to be entered in table in a web application. Now in the table there are fields as below:
Textfield (To enter name), Datatype drop-down (To select data type), Length field(to enter the length), Status field (Isactive or not)
Now here there is a dynamic logic as for only “String” datatype the “Length” field would appear else in default table “Length” field/column is not shown because for other data types there is static length value provided.
Now when automating I am getting data in sequence from sheet and setting that in table. Switching over the fields is done by using “Tab” mechanism.
Issue:
The only issue in this whole process is that while selecting “String” data-type from drop-down and after that tab is applied. At this point the “Length” field is supposed to appear for which data can be entered from the sheet but here at only tabbing/loosing focus from one field to another is not revealing the hidden “Length” field.
And at this point automation gets stuck up. Manually selecting the drop-down shows the “Length” field but when same is done manually using tab, the “Length” field does not show up.
It would be of really great help if anyone can please suggest on above issue.
Hoping to hear soon from someone. Thanks for your efforts in advance.
Manually selecting the drop-down shows the “Length” field but when
same is done manually using tab, the “Length” field does not show up.
Seems selenium isn't setting focus to the same object/element that you are. How are you using selenium to tab between fields? Do you have to tab to this element, or can you have selenium select it directly? Also, it would help us if you shared the selenium code and html.

How to edit EXIF populated content type fields in Drupal 7

I am using Drupal 7. I have created a content type IMAGE with keywords, caption, headline, category populated by EXIF and I also autogenerate the label. All I have to do is select a local image and hit save and everything I need is populated from the image metadata - all good so far.
The only problem is that I cannot edit the EXIF populated fields. If I want to move an image from one category (taxonomy) to another or notice a typo in the caption the only way I can make corrections is to delete the image, correct the text locally and reupload the image - when I select EDIT having found the content the default edit page does not show the field populated by EXIF. If I change them on the content type to a text or taxonomy field I can edit them, but I can't do that each time I want to edit a field.
I have searched but found nothing to help. Alternatively I have considered duplicating the EXIF populated fields on the IMAGE content type amd populating them using tokens from the EXIF populated fields and using those to drive my display views etc. I should then be able to edit them but it is not a very elegant solutions. I am not sure that will work after initially trying it.
I also have an issue that I need a multi-valued field other than keywords that I can use for the category/gallery (and there isn't one in the standard it seems). That will probably be a separate question when I have solved the editing problem.
I also tried using EditableViews modules which looked promising but it would still not let me edit the fields although it did display them.

Why images not displayed in Drupal7?

I am using drupal7.12 cms. I have created menu. Menu have sub categories and i have inserted some stories. Issue is that, Images are displayed only on front page of site not on inner pages for that all stories.
If i set any of article to front page image will display for that article on front page. But when i want to read whole story it not showing image. Also when i click on any category then also it only shows text and alternative text for images.
I have stored all images in following folder "/sites/all/images/" Please help.... Thanks.
I am using JD Events template from http://www.joomlart.com/
It may be that you need adjust the display for your content type. Assuming you are using the article content type go to http://yoursite.com/admin/structure/types/manage/article/display and check the settings for your image field.

Resources