Adding Twitter and YouTube Results
/pom.xml
file at the root of your projectresults-per-page
to taste based on the number of results you want.
Currently both queries are set to search based on the current query (parameters="*"
). Set this to an empty string to return just the latest videos/tweets accordingly./src/main/webapp/search/app/app.js
file after the controller definitions:/src/main/webapp/search/app/app.js
file should look similar to the following:Changing the Color Scheme
styles/includes/theme.less
:@color-primary
, @color-secondary
, and @color-tertiary
variables to the desired color.For more precise control, the color of individual elements can be controlled in the styling partial stylesheets found in styles/includes/
.Changing the Logo
assets
folder.webapp/login.jsp
(if present) for the large version of the logo. You can also adjust the width of the image tag at the same time.<layout:logo>
tag which is usually placed within webapp/views/partials/header.tpl.html
for the small version of the logo.Dynamically Adding Icons to Fields
class
attribute referencing a little bit of CSS, defined in your styles/includes/custom.less.For example, to dynamically add a ‘type’ image before a field:Removing the Security Module
pom.xml
:type: generic
web.xml
application descriptor. For example:SecurityModule
is installed in a custom module, you would remove these references:spring-security.xml
configuration file.Setting Up a Mock Platform Response