-
AuthorPosts
-
May 19, 2014 at 11:42 am #197937
I want to use a custom HTML module in the Masthead position in the Putity III default layout. The options do not show the Masthead position. Screenshot attached.
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
May 19, 2014 at 12:38 pm #535694Have you just tried typing ‘masthead’ in to the empty field? It is in the header.php block so maybe it is not in your templateDetails.xml but it should still work.
Hope that helps
1 user says Thank You to swissa for this useful post
May 19, 2014 at 1:11 pm #535699I feel so stupid :p
Thank you. It works.I will add it in templateDetails.xml
ellie_t Friendellie_t
- Join date:
- March 2008
- Posts:
- 205
- Downloads:
- 0
- Uploads:
- 11
- Thanked:
- 1 times in 1 posts
November 20, 2015 at 1:21 am #725274I don’t see that when I type that in in the modules area. When I preview the template positions on the Purity III template I see an area labeled “masthead” yet in Thememagic there is not a settings button like some of the other fields. So I see it in the layout preview, but do not see options to work with it. Do I need to do something on the back end?
ellie_t Friendellie_t
- Join date:
- March 2008
- Posts:
- 205
- Downloads:
- 0
- Uploads:
- 11
- Thanked:
- 1 times in 1 posts
November 20, 2015 at 1:21 am #754991I don’t see that when I type that in in the modules area. When I preview the template positions on the Purity III template I see an area labeled “masthead” yet in Thememagic there is not a settings button like some of the other fields. So I see it in the layout preview, but do not see options to work with it. Do I need to do something on the back end?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 20, 2015 at 3:44 am #725284Hi Ellie,
You can open the file: /root/templates/purity_iii/templateDetails.xml
and will see code like:
<positions>
<position>languageswitcherload</position>
<position>head-search</position>
<position>mainnav</position>
<position>masthead</position>
...................
Just add position for masthead as above
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 20, 2015 at 3:44 am #755001Hi Ellie,
You can open the file: /root/templates/purity_iii/templateDetails.xml
and will see code like:
<positions>
<position>languageswitcherload</position>
<position>head-search</position>
<position>mainnav</position>
<position>masthead</position>
...................
Just add position for masthead as above
November 20, 2015 at 11:24 am #725369Ellie, You can just type ‘masthead’ in position even if nothing will match from the dropdown menu. However the modules will be positioned there when you save them.
Unless you insist on having them there then you can do what Saguaros said.November 20, 2015 at 11:24 am #755029Ellie, You can just type ‘masthead’ in position even if nothing will match from the dropdown menu. However the modules will be positioned there when you save them.
Unless you insist on having them there then you can do what Saguaros said.ellie_t Friendellie_t
- Join date:
- March 2008
- Posts:
- 205
- Downloads:
- 0
- Uploads:
- 11
- Thanked:
- 1 times in 1 posts
November 21, 2015 at 5:05 pm #755062Thank you so much. I did that and it did allow me to use that position, though in theme magic there still isnt a settings icon in the top right like there is for other modules. I guess I don’t get why you would be able to see position “masthead” in the layout, but have to add it to put anything there, I was going to use this area for a simple header for the site. Is this the intention for this module? Thank you.
ellie_t Friendellie_t
- Join date:
- March 2008
- Posts:
- 205
- Downloads:
- 0
- Uploads:
- 11
- Thanked:
- 1 times in 1 posts
November 21, 2015 at 5:05 pm #755141Thank you so much. I did that and it did allow me to use that position, though in theme magic there still isnt a settings icon in the top right like there is for other modules. I guess I don’t get why you would be able to see position “masthead” in the layout, but have to add it to put anything there, I was going to use this area for a simple header for the site. Is this the intention for this module? Thank you.
ellie_t Friendellie_t
- Join date:
- March 2008
- Posts:
- 205
- Downloads:
- 0
- Uploads:
- 11
- Thanked:
- 1 times in 1 posts
November 21, 2015 at 5:14 pm #755064Hi. The combo of your post and Saguaros definitely helped understand modules a little better. I was able to type in masthead and save, however when I was taken back to the modules screen, for position, it displayed “none” and could not be seen on my site.
However when I went to the templateDetails.xml and added the masthead as instructed, then went back to the modules I was able to do the same thing (just type it in) but this time it displayed the position “masthead” in the module section and I could see it on the actual site.ellie_t Friendellie_t
- Join date:
- March 2008
- Posts:
- 205
- Downloads:
- 0
- Uploads:
- 11
- Thanked:
- 1 times in 1 posts
November 21, 2015 at 5:14 pm #755143Hi. The combo of your post and Saguaros definitely helped understand modules a little better. I was able to type in masthead and save, however when I was taken back to the modules screen, for position, it displayed “none” and could not be seen on my site.
However when I went to the templateDetails.xml and added the masthead as instructed, then went back to the modules I was able to do the same thing (just type it in) but this time it displayed the position “masthead” in the module section and I could see it on the actual site.AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 12 replies, has 5 voices, and was last updated by ankitmania 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Masthead position no available in default layout
Viewing 13 posts - 1 through 13 (of 13 total)