This is a migrated thread and some comments may be shown as answers.

Thanks guys!

4 Answers 149 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 17 Apr 2012, 07:35 PM
Love the new customizations options :)

If I could request one thing though...could you apply a syntax highlighting script to the css\js boxes?  It'd help when we have large customizations.

4 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 17 Apr 2012, 07:37 PM
Oh yeah, and it'd be nice if I could specify external css\js to get loaded into the header on that page too.  Like we have a jQuery plugin we made which we want to decorate the searchbox with, but in order to do that we'd need to paste in the code for that to the JS textarea, and that gets ugly fast.

...actually what would work well is another box to allow us to put in freeform stuff that will appear in the header...I can link in whatever I want, googlefonts, scripts, etc etc

(and of course the ability to export\import a theme would be nice)
0
Georgi
Telerik team
answered on 18 Apr 2012, 01:31 PM
Hello,

To include an external css file you can use the @import rule:

@import url("file.css");

And for the JS files there is way (which is a bit of a hack but still). Because the code from the "Custom JavaScript code" is inserted between an opening and closing <script> tags, you can close the script tag in the code like this:

</script>
<script src="javascript.js"></script>
<script>

It will be inserted before the closing body tag (which is a good practice, because script tags block rendering of the page until their contents are parsed). If it is required to include the javascript file at the end of the head section then we'll think about a solution (if it is even possible without implementing a new feature inside TeamPulse).


As for the code hinting - I've logged a feature request in our feedback portal and voted for it. You can vote for it too here:

http://feedback.telerik.com/Project/8/Feedback/Details/627 

 
Greetings,
Georgi
the Telerik team
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 18 Apr 2012, 01:34 PM
Indeed that is hacky, but it works! :)  Thanks for the tips though...I've customized the crap out of it already :D

0
Lora Borisova
Telerik team
answered on 19 Apr 2012, 09:32 AM
Hi Steve,

    I am glad that we helped!
    
    Enjoy using TeamPulse and if you have some other questions or ideas for improvement, please feel free to share them with us at any time!

Greetings,
Lora Borisova
the Telerik team
Tags
General Discussions
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Georgi
Telerik team
Lora Borisova
Telerik team
Share this question
or