By Danny Malouin on Monday, 25 November 2019
Posted in General Issues
Likes 0
Views 600
Votes 0
Hi,
I am trying to place a calendar module above a specific page
In the desktop version; I can use the sidebar top position fine
In the desktop, there's no such position ? I tried es-pages-before-contents but that posts it in the page listings as well.
There should be a position in pages without being in listings; for example es-page-before-contents (no s in page here)
Also, even though the web/mobile version is meant to be light weight, we should be able to decide to post modules in positions there should be feel we need to ?
Please advise how we can post a calendar module above the stream in a page an not the page listings
Thanks
Danny
Hey there,

After discussing with our developers, we will do something about it.

I will log this into our issue tracker.
·
Wednesday, 27 November 2019 16:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

You can create a hidden (Pages) Single Page Layout menu item for your certain page.

Then, you can go to EasySocial Calendar Module's Menu Assignemnt to choose the that hidden (Pages) Single Page Layout menu item so that it only shows up on the page that you set only. https://take.ms/ooLbM

You can stick with this es-general-before-contents position.

Can you have a try and see how it goes?
·
Monday, 25 November 2019 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

The problem with this is that I would need to setup individual pages each time we create a new page in the community. We're hoping to eventually have thousands of pages in this community.

Also, does this position "es-general-before-contents" render on mobile versions ?

Thanks
Danny
·
Monday, 25 November 2019 20:45
·
0 Likes
·
0 Votes
·
0 Comments
·
The "es-general-before-contents" position isn't where we would want the calendar to appear. It needs to be
1- On top of the stream es-pages-before-contents
2- On mobile only

So, for point one, I think you will need to have versions of these module positions that don't have the S in the "pages" portion of if so it renders on the PAGES only and not the PAGE LISTINGS.

And second, you really should offer these modules on mobile too

Danny
·
Monday, 25 November 2019 21:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Also, does this position "es-general-before-contents" render on mobile versions ?


Yes, it will.


The problem with this is that I would need to setup individual pages each time we create a new page in the community. We're hoping to eventually have thousands of pages in this community.

The "es-general-before-contents" position isn't where we would want the calendar to appear. It needs to be
1- On top of the stream es-pages-before-contents
2- On mobile only


In order to achieve both which are show module on a specific page at the position of es-pages-before-contents and on mobile only, you can download the attached default.php file and paste it template override location which is at JoomlaFolder/templates/yourCurrentTemplate/html/com_easysocial/pages/item/default.php.

After that, you can place this position es-pages-before-contents-"page ID" for the module to show up on a certain page.

For example, page A's ID is 17 and you want the calendar module to show on that page only. You can place this position es-pages-before-contents-17 to the calendar module's position so that it will only show on that page and mobile only.

Can you have a try and see how it goes?
·
Tuesday, 26 November 2019 17:56
·
0 Likes
·
0 Votes
·
0 Comments
·
So, for point one, I think you will need to have versions of these module positions that don't have the S in the "pages" portion of if so it renders on the PAGES only and not the PAGE LISTINGS.


Unfortunately we can't change that module position is because it probably will affects to other users whoever has used this "es-pages-before-contents" module position for their Easysocial site.
·
Tuesday, 26 November 2019 18:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin
Thanks for all your efforts
However
1) By using the proposed solution of appending a pageID to the module, I will still have to create 1000 modules now which is a little less work then creating 1000 pages but still
2) As a norm, I REALLY stray away from overrides. They tend to hold back features advantages or break things even though they're meant for just that purpose ...
In an ideal world; you would add mobile rendable positions in the PAGE layout. You would not have to change the PAGES positon but rather just add the same without the S which would even be logical to admin (the PAGES positions appear in PAGES and LISTINGS whereas the PAGE position don't appear in the LISTINGS (just the pages themselves)
Again, thanks for trying but we want to avoid overrides at all costs.
Thanks
Danny
·
Wednesday, 27 November 2019 00:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks
I am REALLY looking forward to the this position on mobiles.
Thanks
Danny
·
Thursday, 05 December 2019 21:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Friday, 06 December 2019 10:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post