Viewing 30 posts - 1 through 30 (of 31 total)
  • Author
    Posts
  • #682762

    Hello,
    we have problems with displaying source code on our website https://www.sketchengine.co.uk/
    Look at the webpage below (in the brackets, there is the original webpage)

    https://www.sketchengine.co.uk/user-guide/user-manual/corpora/setting-up-parallel-corpora/ (https://old.sketchengine.co.uk/setting-up-parallel-corpora/)

    the used tags are <s> and <align> and results are these ones:
    – missing tags (see e.g. around “I have a nice dog.”)
    or
    – crossed out text (see e.g. codes in the section “1:1 mapping” and subsection “data preparation”)

    We have up-to-date WP, Enfold and all plugins. There are two plugins Raw HTML and Raw HTML Snippets which able to use HTML on a webpage but it is needed to insert it between special tags [raw] and [raw/]. Also, we have tried turning off these plugins but without any change.

    #683467

    Hey mjakubicek,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply. Also point out where we can see the problem in question.

    Thanks,
    Rikard

    #689374

    Hello,

    detected any error?

    #689381

    Hi!

    We need temporary admin logins to look into the issue and i cannot see one posted in this thread. Can you please try again?

    Best regards,
    Yigit

    #689690

    Hi,

    I am sorry, but I have already sent you the credentials on 9th September. In a minute, I am resending you them again.
    …OK, maybe you did not see them because I sent only private content and did not attach it to a post in this forum.

    • This reply was modified 8 years, 1 month ago by mjakubicek.
    #689724

    One more relating problem, unfortunately, it does not replicate again.

    E.g. at https://www.sketchengine.co.uk/documentation/corpus-querying (the whole text from the Searching for structures headline up to the bottom of the page, was crossed out on 19th September) but today it is OK. Also here, we use source codes and there could be some problem with tags as <s> and <s/> and others that are problematic on other pages (see above).

    #691657

    Hi,

    Please wrap your text in span tag instead of s as following

    <span class="span-overline">your text here</span>

    and instead of align, please use a div as following

    
    <div class="custom-align">Your text</div>
    

    and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .span-overline { text-decoration: overline; } 
    .custom-align { text-align: center; }

    You are using deprecated HTML tags.

    If that still does not help, please switch user role to administrator

    Best regards,
    Yigit

    #692207

    Thank you, but I would need to display the source code including the tags, not use them as standard HTML tags. This is what should be displayed.

    <s>
    <align>
    This
    is
    the
    first
    sentence
    .
    </align>
    </s>

    like at https://old.sketchengine.co.uk/setting-up-parallel-corpora/#Example

    However, the HTML tags in Avia layout, despite the fact that they are wrapped in <pre>, <code> or others, they still process texts, e.g. text in <s> and </s> is crossed out instead of displaying following <s> this is a text in tags </s>

    I hope I have explained the problem clearly if not please tell me.

    I have switched your user role to administrator.

    #693834

    Hi,

    You can use a codeblock element and surround your code with

    
    <pre></pre>
    

    tags.

    Best regards,
    Andy

    • This reply was modified 8 years, 1 month ago by Andy.
    #694971

    Hi,

    could please attach these tags I cannot see them. I use structures but the xml/html structures in the code block disappeared after saving page (For example, I have edited this page https://www.sketchengine.co.uk/user-guide/user-manual/corpora/setting-up-parallel-corpora/)
    See the screenshot at https://www.sketchengine.co.uk/wp-content/uploads/code_block.png

    All the best,

    #695558

    Hi,

    sorry, I’ve edited my last post, so now you should be able to see it. Can you confirm please?

    Best regards,
    Andy

    #695699

    Hi,

    thank you, I see your tags. Unfortunately, it does not help me. Just as with tags <code></code> in my previous post, the tags <pre> </pre> have disappeared immediately after saving the page in Avia layout. Look at https://www.sketchengine.co.uk/wp-content/uploads/pre_tag.png (or the screenshot in my previous post).

    • This reply was modified 8 years, 1 month ago by mjakubicek.
    #696383

    Hi,

    does this happen with a default WordPress Theme as well?

    Best regards,
    Andy

    #696575

    Hi,

    when I set Live Preview e.g. of Twenty Sixteen so yes, the problem is remaining. (I’m not sure if I set this theme and then would want to return the Enfold theme that everything would be ok, the websites are available to our users)
    But you can see that on our previous websites this works perfectly with Default theme or another one:
    https://old.sketchengine.co.uk/setting-up-parallel-corpora/

    #697272

    Hi,

    please check this: http://www.wpbeginner.com/wp-tutorials/how-to-easily-display-code-on-your-wordpress-site/

    I hope this helps you!

    Best regards,
    Andy

    #697525

    Hi,

    I have read and tried it, but it does not help me. I am afraid that the problem really causes the Avia Layout Builder.
    1. The source code works in another theme (I have inserted it in HTML according to instructions at your link)
    https://old.sketchengine.co.uk/setting-up-parallel-corpora/

    2. The source code works on our web without Avia Layout, see following page: https://www.sketchengine.co.uk/source-code/
    Firstly, I have inserted the code as HTML, secondly, I have used the plugin Enlighter – Customizable Syntax Highlighter, both of these way work as you can see.

    Please advise me.

    #697731

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Andy

    #697739

    As I have sent it early, I am including.

    #697829

    Hi,

    make sure it looks like this: http://i.imgur.com/SRuMxgw.png
    So activate Escape HTML.

    Best regards,
    Andy

    #697906

    Hi,

    it looks hopeful. Could you please write where I can find these options?

    Thank you.

    Best wishes,

    Michal

    #697918

    Hi!

    Please edit your Code Block element and you can choose to “escape HTML” there :)

    Regards,
    Yigit

    #697958

    Great! It works. For the perfectness, is there a possibility how to remove an extra space in the first line of each Code block?

    Look at: https://www.sketchengine.co.uk/user-guide/user-manual/corpora/setting-up-parallel-corpora/

    Corpus 1:

     <s>
    <align>
    #697961

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    pre {
        padding-top: 0;
        padding-bottom: 0;
    }

    If you would like to keep the bottom padding, please remove “padding-bottom: 0;” line

    Regards,
    Yigit

    #697970

    Perfect! and for removing the extra one-character space in the first line, you can small space before the first character in the first line of each code block. For example, (before align)

    English – 01_dog.txt

     <align>
    I have a nice dog.
    #698014

    Hi,

    Would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)

    Best regards,
    Yigit

    #698555
    #699081

    Hi,

    we have informed our developers about this issue. Thanks for making us aware about it!

    Best regards,
    Andy

    #703877

    Hi,

    I am sorry, but it does not work again. I did not do anything else, but the <align> tags have disappeared.
    Look at https://www.sketchengine.co.uk/user-guide/user-manual/corpora/setting-up-parallel-corpora (below “English – 01_dog.txt)

    The original code looks as at https://old.sketchengine.co.uk/setting-up-parallel-corpora/ (below “English – 01_dog.txt)

    You have credentials to our website and you can see the revisions on this website.

    #706167

    Hi,

    als I already told you we have informed our devs about it. I think Kriesi will implement it for the next update. Thanks for being patient.

    Best regards,
    Andy

    #706391

    OK, I thought that related only to the extra one-character space mentioned in my previous post. I hope that they fix it in the near future. Please let me know when they fix it.

    Best,

Viewing 30 posts - 1 through 30 (of 31 total)
  • The topic ‘Avia layout builder problem with displaying source code’ is closed to new replies.