mscorfield
@mscorfield
10 years ago
40 posts
where is the data for meta.tpl held ?
updated by @mscorfield: 01/13/15 10:05:44AM
brian
@brian
10 years ago
10,148 posts
mscorfield:
where is the data for meta.tpl held ?

What data specifically? The elements in the meta.tpl file (Javascript, meta tags, CSS) are added in my module event listeners, so it's going to depend on what you're looking for.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
mscorfield
@mscorfield
10 years ago
40 posts
to clarify ive downloaded jrblank 1.04 and am trying to understand it for a new site design - my last experience of skins and themes was JR3 . i was just wondering where to put the default header stuff. ill check out your listeners module.
brian
@brian
10 years ago
10,148 posts
mscorfield:
to clarify ive downloaded jrblank 1.04 and am trying to understand it for a new site design - my last experience of skins and themes was JR3 . i was just wondering where to put the default header stuff. ill check out your listeners module.

Ahh - well there is no "listeners" module - listeners are functions that are run when specific "events" are fired.

Are you try to ADD something to the meta.tpl or are you trying to change something that already is there?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
mscorfield
@mscorfield
10 years ago
40 posts
Im in the early stages of planning a design so im not sure whats going to go into the header yet but i might want to do stuff like meta to load js for a different lightbox and css links obviously - im just a bit confused by the new layout. do i just add these to the individual template pages then they get drawn into the meta.tpl ?
paul
@paul
10 years ago
4,326 posts
Just put any custom js into the skin's /js/yourSkin.js file and meta.tpl will automatically pull it into head tags.
Same with any css in the /css folder.


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 12/14/14 06:20:05AM
mscorfield
@mscorfield
10 years ago
40 posts
thanks that helps do the css files have to follow the same naming convention as blank.tpl. where do the site description and keywords go ? or is there a documentation on this ?
paul
@paul
10 years ago
4,326 posts
I think you can call the css files whatever you want.
Put description and keyword meta tags directly into your meta.tpl template.
We tend not to use them in our skins as I don't think that these days, search engines take much notice of them.


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
10 years ago
10,148 posts
If you want more control over your meta tags, I'd recommend the free meta tag manager module:

https://www.jamroom.net/the-jamroom-network/networkmarket/129/meta-tag-manager

You can install that from your Jamroom Marketplace.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags