Code Monkey home page Code Monkey logo

Comments (14)

ilyasavitski avatar ilyasavitski commented on July 18, 2024 2

Now it's fixed. Thank you guys!

from sulu-standard.

wachterjohannes avatar wachterjohannes commented on July 18, 2024

@ilyasavitski we need here some more information. Are there any JS or Symfony Logs? Have you overwritten the excerpt.xml template? can you add a screenshot of your excerpt tab?

from sulu-standard.

ilyasavitski avatar ilyasavitski commented on July 18, 2024

screenshot from 2017-08-02 16-53-36

I haven't overwritten excerpt.xml template.

from sulu-standard.

alexander-schranz avatar alexander-schranz commented on July 18, 2024

@ilyasavitski can you run bin/console doctrine:phpcr:node:dump uuid --props (uuid is in your case e244.......28 copy it from the url) and tell what is the value of i18n:en-excerpt-description?

from sulu-standard.

ilyasavitski avatar ilyasavitski commented on July 18, 2024

i18n:en-excerpt-description = Devit 50,000 (cholecalciferol) is a drug for treatment and prevention of of vitamin D deficiency.

from sulu-standard.

alexander-schranz avatar alexander-schranz commented on July 18, 2024

ok seems not be a valid the ckeditor needs a tag (seems to be the text was paste into the source mode and not into the word by paste overlay). at the current state you need to set the property over the phpcr shell:

bin/adminconsole doctrine:phpcr:shell
cd uuid # your uuid
ls # will show you all props
node:property:set i18n:de-excerpt-description "<p>Devit 50,000 (cholecalciferol) is a drug for treatment and prevention of of vitamin D deficiency.</p>" # will set the new prop
save # save the changes
refresh # load changes

from sulu-standard.

ilyasavitski avatar ilyasavitski commented on July 18, 2024

Seem's like it didn't help...

Any more ideas?

from sulu-standard.

alexander-schranz avatar alexander-schranz commented on July 18, 2024

@ilyasavitski what is the response of the REST API for this description?

from sulu-standard.

ilyasavitski avatar ilyasavitski commented on July 18, 2024

@ilyasavitskiย what is the response of the REST API for this description?
--

How to get t?

from sulu-standard.

alexander-schranz avatar alexander-schranz commented on July 18, 2024

have a look at your browser dev tools. Network Tab there should be a request with the page uuid click on it and there should be a json as response.

from sulu-standard.

ilyasavitski avatar ilyasavitski commented on July 18, 2024

{"url":"\/products\/devit-50000","created":"2017-04-25T12:42:51+0300","changed":"2017-07-25T17:30:03+0300","creator":1,"changer":1,"title":"Devit 50000 (Multizan D3 50000)","navContexts":[],"nodeType":1,"nodeState":2,"published":"2017-05-03T04:01:16+0300","shadowOn":false,"shadowBaseLanguage":null,"id":"e2444274-0980-4b85-bed6-a34400048b28","ext":{"seo":{"title":"","description":"","keywords":"","canonicalUrl":"","noIndex":false,"noFollow":false,"hideInSitemap":false},"excerpt":{"title":"","more":"","description":"Devit 50,000 (cholecalciferol) is a drug for treatment and prevention of of vitamin D deficiency.","categories":[17,21,35,32],"tags":[],"icon":{"displayOption":"top","ids":[]},"images":{"displayOption":"top","ids":[]}}},"order":80,"authored":"2017-04-25","author":1,"_links":{"self":{"href":"\/admin\/api\/nodes\/e2444274-0980-4b85-bed6-a34400048b28?language=en"},"children":{"href":"\/admin\/api\/nodes?parent=e2444274-0980-4b85-bed6-a34400048b28&depth=1&webspace=lamyra_org&language=en"}},"_permissions":{"view":true,"add":true,"edit":true,"delete":true,"archive":true,"live":true,"security":true},"template":"product","originTemplate":"product","internal":false,"localizedTemplate":"Product","images":{"displayOption":"top","ids":[]},"description":"","documents":{"displayOption":"top","ids":[]},"website":"","publications":[],"breadcrumb":[{"uuid":"ae025729-2542-4f66-bf36-54aa07c1b98e","title":"Homepage","depth":0},{"uuid":"ce5f9a1b-cd27-495c-9a76-d56cdfb4c9c6","title":"Products","depth":1}],"path":"\/products\/devit-50000-multizan-d3-50000","parentUuid":"ce5f9a1b-cd27-495c-9a76-d56cdfb4c9c6","concreteLanguages":["en","ru","de"],"enabledShadowLanguages":[],"linked":null,"publishedState":true,"hasSub":false,"_hash":"232e87bcec48dd2097d688c7e9616865"}

from sulu-standard.

alexander-schranz avatar alexander-schranz commented on July 18, 2024

@ilyasavitski seems there is still the old value can you clear the cache

does bin/adminconsole doctrine:phpcr:node:dump uuid --props return the description with the <p> tag? else you did miss to save.

If yes its a caching se so clear the cache with: bin/adminconsole cache:clear -e <your_environment>

@ilyasavitski I did see I did write i18n:de-... in your case its i18n:en-...

from sulu-standard.

ilyasavitski avatar ilyasavitski commented on July 18, 2024

screenshot from 2017-08-02 18-54-12
Am i doing something wrong?

from sulu-standard.

ilyasavitski avatar ilyasavitski commented on July 18, 2024

Oh...

There should be i18n:en-excerpt-description.

from sulu-standard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.