How can I integrate the design?
Posted
#1675
(In Topic #336)

Standard member

Theme change questions?
hi Composr team,I am new to Composr themeing , want to integrate the attached design to https://on.mynginfo.net, please explain how can integrate "current month holidays" and "Upcoming holidays" section from the design.
thanks
Praveen R

Posted

Standard member

Chris is apparently tangled up in code, so might be a day or so. KingBast pops up when you least expect….

Me and Chip kind of live on the boards.
Posted

Site director

A catalogue would be the normal thing for it.
We somehow need to display things in different areas. We don't want to go into custom code here, so trying to work out what is "future" and "current month" is not going to be directly possible.
We could cheat and have a list field in the catalogue with 3 options:
- Past
- Current month
- Upcoming
We then add 2 main_cc_embed blocks to the front page. One would have a Filtercode value of "When=Current month" and the other would have a Filtercode value of "When=Upcoming".
Obviously this means manually maintaining those fields each month, but that's only a few minutes of work each month compared to a couple of hours of expert programming.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Site director

There also is a bug fix needed (do not upload this if you are using anything newer than v10 RC29, as it will be fixed for you already):
sources/catalogues.php
I have also cleaned up this topic as it was getting too confusing to follow.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guest and 0 members have just viewed this.