-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathyaletweaks.txt
66 lines (60 loc) · 2.53 KB
/
yaletweaks.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
1) put images public/media/yul_blue_name_small.jpg
public/media/yale_favicon_grayscale.ico
public/media/yul-by-site-wrapper-blue.png
2) copied Stanford to public/css/institutionYale.css
3) changed #logo
width: 600px;
background-image: url(../media/yul_blue_name_small.jpg)
4) made Yale entry in config/environments/ogp.yml
homeInstitution
institutionSpecificCss
googleAPIKey
googleAnalyticsId
5) changed welcome name from Stanford to Yale in:
app/views/index.html.erb
index.html
6) changed footer in public/index.html to yale stuff
7) removed stanford image from footer in @footer-links css/structure.css
8) created media/yul-by-site-wrapper-blue.png in yale blue
added to institutionYale.css .site-wrapper
9) index.html icon:
<link rel="shortcut icon" href="media/yale_favicon_grayscale.ico" />
10) index.html, changed language to reflect Yale and Stanford in index.html
ingest scripts from original ogp:
use /yale_test_files, our fgdc converted to solr doc by Steve McDonald
C:\NetBeansProjects\opengeoportal\solr\ingest ssh-> /home/ermadmix/ogp/solr_data
http://code.google.com/p/opengeoportal/wiki/Installation
./ingest.sh libserver4.yale.edu:8983 yale_test_files
./commit.sh libserver4.yale.edu:8983
Fix Search button:
tracing Search button functionality
layerTable.js
this.searchRequest = function(startIndex)
-->
this.searchRequestJsonp = function(startIndex)
did:
commented out consolelog
solr.js
org.OpenGeoPortal.Solr.prototype.layerWithinMap = function layerWithinMap(mapMinX, mapMaxX, mapMinY, mapMaxY)
layerWithinMap += ",4,4,1,0))";//ERJ 2 instead of 3 parenthesis
org.OpenGeoPortal.Solr.prototype.getServerName = function getServerName()
var select = "/solr/select";//ERJ instead of select
primaryServer = primaryServer + "/solr/select";//instead of select
ogp.yml (changed from localhost)
development:
servicePort: 8983
serviceProxyAddress: http://libserver4.yale.edu:8983/solr/
serviceAddress: http://libserver4.yale.edu:8983
serviceType: solr
preview layer functionality:
layerTable.js
this.previewLayer = function(thisObj){
org.OpenGeoPortal.map.addWMSLayer
did:added console.log of this methods params
mapDiv.js
org.OpenGeoPortal.MapController.prototype.addWMSLayer = function (mapObj) {
new OpenLayers.Layer.WMS
http://dev.openlayers.org/docs/files/OpenLayers/Layer/WMS-js.html#OpenLayers.Layer.WMS.OpenLayers.Layer.WMS
checking out rake routes and catalog controller:
http://libserver4.yale.edu:3000/getMetadata?id=Yale.1001
http://libserver4.yale.edu:3000/getMetadata.xml?id=Yale.1001