+ Reply to Thread
Results 1 to 7 of 7

Thread: Syntaxhighlighter / code for the ckeditor

  1. #1
    Senior Member
    Join Date
    Oct 2011
    Posts
    113

    Syntaxhighlighter / code for the ckeditor

    Hi,


    I did not found any way to display code in a page. The ckeditor has no syntaxhighlighter at admin panel.
    I would like to create a page with my banners and with the associated code, so that everybody could easily copy the banner code to clipboard.
    Like here: http://winfuture.de/werbung.html

    Could you please help me, the code tag also did not work here.


    Best regards
    Andreas

  2. #2
    Senior Member
    Join Date
    Oct 2011
    Posts
    113
    Any news for my question?

    If it would be possible as custom mod, please let me know.

    Thanks a lot.

  3. #3
    Theres a textarea button/option you can use, then place your code inside that, like on my page http://motoradsuk.co.uk/link-to-us.html

    ........that reminds me i need to update all my banners to have the new logo
    Last edited by Chris Brown; February 26, 2013 at 10:41 PM.
    New Site: CameraSpecs https://bit.ly/3G4uYA6

    Old Site: MotorAdsUk

  4. #4
    Hello Andreas,

    I have found 1 solution for you it's easy.

    create new block with Type = Smarty and insert your html code between <textareat>html code should be here</textarea> tags.

    for example:

    <textarea><a href="http://flynax.com"><img alt="Flynax - classified software" border="0" width="177" height="68" src="http://www.flynax.com/templates/flynax_new/img/logo.png" /></a></textarea>
    Viktor,
    Flynax technical department,
    Best wishes.

  5. #5
    Don't forget to set Read-Only! Like this:
    Code:
    Only registered members can view the code.
    Free Advertising at Fyndklippet.se


  6. #6
    Exactly, you are right Morgan. I forgot about it
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    Senior Member
    Join Date
    Oct 2011
    Posts
    113
    Thank you all, I will check it at the weekend.

+ Reply to Thread