Tagged: avia layout builder, Source Code
-
AuthorPosts
-
September 6, 2016 at 5:54 pm #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.
September 8, 2016 at 5:06 am #683467Hey 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,
RikardSeptember 20, 2016 at 4:08 pm #689374Hello,
detected any error?
September 20, 2016 at 4:10 pm #689381Hi!
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,
YigitSeptember 21, 2016 at 9:46 am #689690Hi,
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, 3 months ago by mjakubicek.
September 21, 2016 at 11:03 am #689724One 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).
September 26, 2016 at 1:59 pm #691657Hi,
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,
YigitSeptember 27, 2016 at 1:04 pm #692207Thank 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>
iscrossed outinstead 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.
September 30, 2016 at 3:39 pm #693834Hi,
You can use a codeblock element and surround your code with
<pre></pre>
tags.
Best regards,
Andy- This reply was modified 8 years, 2 months ago by Andy.
October 4, 2016 at 11:54 am #694971Hi,
could please attach these tags I cannot see them. I use
See the screenshot at https://www.sketchengine.co.uk/wp-content/uploads/code_block.pngAll the best,
October 5, 2016 at 3:52 pm #695558Hi,
sorry, I’ve edited my last post, so now you should be able to see it. Can you confirm please?
Best regards,
AndyOctober 5, 2016 at 6:38 pm #695699Hi,
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, 2 months ago by mjakubicek.
October 7, 2016 at 11:10 am #696383Hi,
does this happen with a default WordPress Theme as well?
Best regards,
AndyOctober 7, 2016 at 4:18 pm #696575Hi,
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/October 10, 2016 at 1:00 pm #697272Hi,
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,
AndyOctober 10, 2016 at 7:38 pm #697525Hi,
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.
October 11, 2016 at 11:11 am #697731Hi,
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,
AndyOctober 11, 2016 at 11:36 am #697739As I have sent it early, I am including.
October 11, 2016 at 1:42 pm #697829Hi,
make sure it looks like this: http://i.imgur.com/SRuMxgw.png
So activate Escape HTML.Best regards,
AndyOctober 11, 2016 at 3:13 pm #697906Hi,
it looks hopeful. Could you please write where I can find these options?
Thank you.
Best wishes,
Michal
October 11, 2016 at 3:30 pm #697918Hi!
Please edit your Code Block element and you can choose to “escape HTML” there :)
Regards,
YigitOctober 11, 2016 at 4:30 pm #697958Great! 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>
October 11, 2016 at 4:32 pm #697961Hey!
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,
YigitOctober 11, 2016 at 4:50 pm #697970Perfect! 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.
October 11, 2016 at 7:17 pm #698014Hi,
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,
YigitOctober 12, 2016 at 10:39 pm #698555October 14, 2016 at 12:40 pm #699081Hi,
we have informed our developers about this issue. Thanks for making us aware about it!
Best regards,
AndyOctober 25, 2016 at 5:13 pm #703877Hi,
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.
October 31, 2016 at 2:32 pm #706167Hi,
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,
AndyOctober 31, 2016 at 6:44 pm #706391OK, 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,
-
AuthorPosts
- The topic ‘Avia layout builder problem with displaying source code’ is closed to new replies.