How can I integrate the design?

Post

Posted
Rating:
#1675 (In Topic #336)
Avatar
Standard member
praveenrdesigner is in the usergroup ‘Fan in training’

Theme change questions?

hi Composr team,

I am new to Composr themeing , want to integrate the attached design to My NG Info, please explain how can integrate "current month  holidays" and "Upcoming holidays" section from the design.
thanks
Praveen R
design-part.png
Online now: No Back to the top

Post

Posted
Rating:
#1720
Avatar
Standard member
lg11 is in the usergroup ‘Well-settled’
I am new to this, but looking at the screen shots, maybe the catalogue system would be able to handle this? KingBast or Chris are probably the best to come up with a solution.

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

Me and Chip kind of live on the boards.
Online now: No Back to the top

Post

Posted
Rating:
#1740
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Ok I thought about this briefly…

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
To do that you'd add the list field into the catalogue called "When" with a default value set to "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 Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • 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.
Online now: No Back to the top

Post

Posted
Rating:
#1741
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I've made a video tutorial showing how to do this:


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):
Attachment

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 Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • 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.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

mytracker, John Connor, Vaiva, babu, deepu_ms, Manu, MVLipwig

Forum statistics:
  • 1,296 topics, 5,829 posts, 7,064 members
  • Our newest member is flour2door
Birthdays:
Back to Top