I want to add my own text and change the template of the default hudson for authenticated users.
where are the html files located so I can edit them ? or is there another solution ?
Have a look at the war directory, after you started Hudson for the first time. There you should find all the components that are used (css, images, and scripts). Have fun changing them.
However, I would expect that your changes will be gone after you upgrade your Hudson server. You might be able to get around this problem by writing your own plugin.
Let us know, if you get it done and what the solution is.
Related
I'm not much of a server guy so I was wondering if anyone here would know of a basic apache/mysql configuration detail to look for to explain why a cloned wordpress site in one environment would be encoding all ampersands on save when the same site in several other environments doesn't. There's not a whole lot special about the code. It's pretty much raw wordpress and ACF for custom fields.
I'm sure it's not just ampersands too, but that's the character we're using to test with. And really, what is happening is a site we built on our local machines was hosted on media temple, then aws, then wpengine, and now liquid web. All previous hosts have had no issues with this, but now with liquid web we have an encoding problem and they insist this is unrelated to their server configurations, and refuse to help diagnose the issue.
I can run phpinfo() on my local and the liquid web servers, but I am not sure what I would be looking for. Anything that would be auto encoding post values? Not sure. Also not sure if this would be a mysql configuration thing.
Any thoughts?
Naturally, we found the culprit minutes after posting this. Here it is in case anyone else has this issue:
in the wp-config.php file we noticed this:
define('CUSTOM_TAGS', true);
Evidently, this runs the wp_kses function on post input. We didn't add this to the config file, but considering plugins can modify this file, it is plausible that we had tried out plugins for things and decided against them, and upon uninstall, the plugin didn't clean up after itself.
Who knows how this can end up in the wp-config.php file, but it did. So if you experience the & bug, have a look there.
I am learning MeanJS right now, watching a lot of video courses, but EVERYONE uses old version of MeanJS where is tottally different folder and files structure, that I have. It is very uncomfortable for noob like me.
Right now I am stuck at moment how to use custom css files.In every freaking video teachers modify all.js file. BUT I CAN'T FIND IT IN MY MEAN JS VERSION. I guess, they renamed it or something. Help me please. I just don't want to loose my sleep with this.
Instead of all.js, in the latest MEAN.JS version you can configure the assets to be used in the app in different stages (development, production, testing, etc). You just have to go to config/assets/ and edit the right file for your situation, probably default.js might be the one you're looking for. In that file you can add custom css files to be loaded into the app.
I'm working with jenkins for a while now and i'm thinking of building my own layout with jenkins .. I know there is a plugin that allows you to make your own css file.
But i was thinking further than that i'm more looking to change names of html attributes aswell and just use the Jenkins pages. Does anybody know where i can find the HTML pages of Jenkins to change it to my wanted code.
I already searched in the local folders of jenkins but couldn't find anything.
Kind regards
Dimitri
If your Jenkins application is deployed with Tomcat (for example), all css files are in the webapps/ROOT/css folder:
The js files are in the webapps/ROOT/scripts folder:
I hope it helps :)
Jenkins are shipped with a .war package. To change or customize jenkins html or css in order to change its looking, you need to change the source code or jenkins, that means you probably should be a jenkins developer. And a good thing for you is jenkins is a open source software, you can always get its code from Github
And I think this is what you are looking for, it includes the css/html of jenkins. Just a reminder, after you change the css/html of it, you should repackage it to the .war format before you can use it.
I'm making a website, and I like testing everything offline instead of having to upload files with every change I make. The problem is I can't use includes, so when I do upload, I'm going to have to change a lot of the file structure.
I'm not looking to install a local server like WAMP when I just want to use includes. Is there any way?
Not really.
You could process includes statically (e.g., write yourself a Makefile to create the actual HTML files you view locally). There are plenty of template languages out there that could do this. You could, I suppose, even write your templates in JavaScript and let the web browser assemble them.
But really, why wouldn't you want your test environment to match your production environment? This seems silly—if there is something wrong with your includes, you want to find out before you make it live. If you accidentally get a local path to an image (C:\Documents and Settings\…\image.png) in a file, you want to find out. The best way to do this is really to run a webserver locally.
Hey everyone, I'm new to using the Eclipse IDE, JSP/Java, HTML, Tomcat.
I was making HTML files, using notepad, prior to getting Eclipse, and I've finished with making that part of the website. I've gotten the Eclipse IDE now, which I've been using to make JSPs for some dynamic html, and I've completed them as well now.
The problems I'm having now are:
I don't know how to extract the JSPs from the IDE, so I can put it in my folder with the HTML pages
Which would bring me into another problem, I want to put the JSPs in an <iframe>, 2 of them make use of <jsp:forward> tags, I'm unsure if all of the forwarding and form submitting will remain within the iframe, because as far as I know <jsp:forward> doesn't have a target attribute, if this is going to be a problem, could anyone point me in the right direction for how to go about this?
Finally, I've only been taught how to the Tomcat server within the IDE, after I've extracted the JSP files from the IDE, how do I run Tomcat independently?
Thanks very much, I really appreciate your time and effort :)
I don't know how to extract the JSPs from the IDE, so I can put it in my folder with the HTML pages
Select source file(s) in Eclipse or explorer, hit Ctrl+C, open target folder in explorer, hit Ctrl+V.
Which would bring me into another problem, I want to put the JSPs in an <iframe>, 2 of them make use of <jsp:forward> tags, I'm unsure if all of the forwarding and form submitting will remain within the iframe, because as far as I know <jsp:forward> doesn't have a target attribute, if this is going to be a problem, could anyone point me in the right direction for how to go about this?
It's unclear what you have and what you're struggling with, but all with all this doesn't smell good. It look much like that you're approaching things the wrong way. I'd suggest to start learning servlets. I'd also suggest to develop without <iframe> as long as all pages runs at the same webserver. If you need some kind of head/leftmenu/footer includes, then you should be using server-side includes. JSP offers you the <jsp:include> for this.
Finally, I've only been taught how to the Tomcat server within the IDE, after I've extracted the JSP files from the IDE, how do I run Tomcat independently?
Assuming that you've properly created a dynamic web project, just rightclick it, choose Export > WAR file. Then just drop the obtained WAR file in /webapps folder of Tomcat and start it.