Hello, I am new to Quick.Cms 3.1. I like it much. I want to create plugin to show in left menu under Poetry category 2 links - one for today poem and second for tomorrow poem. So I have 365 poems, each one for one day in year. I want to show only two of them at time.
What is the best practice to make plugin. I already studied all documentation + advanced. I need some tips --- how to do it. Thanks.
I think You have to write Your own plugin. You have to get know which day is now fe using this article: http://www.epochconverter.com/epoch/daynumbers.php After that You can load two poems using variable which You get.
You should enter the code putting poems into variables $sPoem1 and $sPoem2 to file templates/themes/default.php Then you will have the variables ready. You can use the variables in the template templates/container.tpl.
ok, let me rephrase, because the above kind of doesn't make sense: First create the code that is putting poems into variables $sPoem1 and $sPoem2. You then should enter the code to file templates/themes/default.php.
Then you will have the variables ready. You can use the variables in the template templates/container.tpl.