[ckan-dev] How does CKAN get the image name in the hgroup for the masthead header

Alex (Maxious) Sadleir maxious at gmail.com
Thu Apr 4 09:05:55 UTC 2019


Hi Judy,

This is something you can customise without changing code; when you are
logged in as a sysadmin, you can go to
http://opendata.nt.gov.au/ckan-admin/config <http://opendata.nt.gov.au/> (or
whatever domain name, you can also click the Gavel icon in the header) to
change the header "Site logo" image:
[image: Screen Shot 2019-04-04 at 8.01.50 pm.png]

On Thu, Apr 4, 2019 at 6:48 PM Judith Moran <Judith.Moran at nt.gov.au> wrote:

> Hi,
>
>
>
> I am required to change the NT.GOV.AU to Data.NT
>
>
>
>
>
>
>
> I have located the HTML in and worked out that script in index.html is
> also involved.
>
>
>
> <script>
>
> if ( window.location.pathname == '/' ){
>
>   document.body.className += ' ' + 'home';
>
> }
>
> </script>
>
>
>
>
>
>
>
> <body class=" home" data-locale-root="http://opendata.nt.gov.au/"
> data-site-root="http://opendata.nt.gov.au/"><header class="navbar
> navbar-static-top masthead"><div class="container"><hgroup
> class="header-image navbar-left">
>
>
>
>       <a class="logo" href="/"><img title="NTG Open Data Portal" alt="NTG
> Open Data Portal" src="
> https://beta.nt.gov.au/__data/assets/file/0004/517225/ntg-desert-rose-reverse.svg
> "></a>
>
>
>
>     </hgroup></div></header></body>
>
> </html>
>
>
>
>
>
>
>
> Can Someone assist in advising how I change this without a major rewrite
> of the HTML Code.
>
>
>
>
>
> Regards,
>
>
>
>
>
> *Judy Moran*
> *Manager Data Strategy*
> Department of *Corporate and Information Services*
> Northern Territory Government of Australia
>
> *T:*  892 96550
> *E:*  DataStrategy.NTG at nt.gov.au
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190404/9f4fbb09/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-04-04 at 8.01.50 pm.png
Type: image/png
Size: 414147 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190404/9f4fbb09/attachment-0002.png>


More information about the ckan-dev mailing list