Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question How to enable code highlighting

More
12 years 10 months ago #1 by goodwin
sorry, I bad speaking English. I'll be brief.
How to make the for tag [code] syntax programming languages, such as JavaScript or VisualBasic.
On forum for programmers, it is not convenient to read code. :(

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #2 by goodwin
Replied by goodwin on topic Re: Syntax the for tag code
I'm found an option that include the syntax, but he knows very little commands.
Help me please. Not convenient providing a forum for programmers :(

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #3 by sozzled
Replied by sozzled on topic Re: Syntax the for tag code
I'm sorry, I don't quite understand your question. Are you asking if it's possible to include snippets of Javascript code in your forum, like this:

<script type=text/javascript>
alert ('Hello world');
</script>

Is that your question?
Last edit: 12 years 10 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #4 by goodwin
Replied by goodwin on topic Re: Syntax the for tag code
No :). I want to tag [ code ] with syntax in message. For example:[ code=JavaScript . In the tag [ code ], very few commands.
Code:
var a = { p1: 1, p2: 2 } for(var p in a) { alert(p) a[p] = a[p] + 1 }
Last edit: 12 years 10 months ago by goodwin.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #5 by sozzled
Replied by sozzled on topic Re: Syntax the for tag code
Well, you just demonstrated that you could post code in a Kunena forum. What is the specific problem?

How would you like to see the output of a [code type=javascript] rendered differently?
Last edit: 12 years 10 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #6 by goodwin
Replied by goodwin on topic Re: Syntax the for tag code
Sorry, I didn’t know about the attribute - type :blush:

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #7 by sozzled
Replied by sozzled on topic Re: Syntax the for tag code
Can you post a picture of what you now have and what you would like to see instead, please?

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #8 by goodwin
Last edit: 12 years 10 months ago by goodwin.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #9 by sozzled
Replied by sozzled on topic Re: Syntax the for tag code
OK. So I see a lot of Javascript source code. What is the problem? What is your question? Do you want to display this source code in Kunena? Is that your question?

Something like this?
Code:
var a = { p1: 1, p2: 2 } for(var p in a) { alert(p) a[p] = a[p] + 1 }

I am trying to understand the comment you made at the beginning of this topic:

goodwin wrote:

On forum for programmers, it is not convenient to read code

What would be more convenient to read for your forum?
Last edit: 12 years 10 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #10 by goodwin
Replied by goodwin on topic Re: Syntax the for tag code
Function: Minimize, Maximize(If large code). And for(var p in a) {

"p" and "a", less than other text

I can change the style?
Last edit: 12 years 10 months ago by goodwin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.475 seconds