plugin:yearbox:discussion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:yearbox:discussion [2017-03-22 01:32] – Added comment regarding wrapping of a calendar in a mobile layout or in a fixed width box 213.60.72.53 | plugin:yearbox:discussion [2024-03-09 09:46] (current) – [Discussion] 212.159.116.80 | ||
---|---|---|---|
Line 7: | Line 7: | ||
ON THE PAGE WITH THE CALENDAR | ON THE PAGE WITH THE CALENDAR | ||
+ | ===== Request for FUTURE ===== | ||
+ | If one wants to use this for predominantly advertising **future events** it would be great if recent would **gracefully** accept a **negative** number or better allow a range, | ||
===== Wrapping ===== | ===== Wrapping ===== | ||
- | Sorry if this is not the right place to ask! And I also don't know much about any of this! | + | Sorry if this is not the right place to ask! And I also don't know much about any of this!\\ |
- | So, the calendar produced looks fine and is, in my opinion, very adequate for desktop viewing, thanks! However, when I checked on mobile it " | + | So, the calendar produced looks fine and is, in my opinion, very adequate for desktop viewing, thanks! However, when I checked on mobile it " |
===== Preview ===== | ===== Preview ===== | ||
- | Useful calendar, but I just got some html-tags showing up in the toolbox and no real preview. --- **Branmabon | + | Useful calendar, but I just got some html-tags showing up in the toolbox and no real preview. --- **2011-04-11** |
> I would like to help but I do not understand exactly what the problem is; can you provide more information? | > I would like to help but I do not understand exactly what the problem is; can you provide more information? | ||
>> I had the same problem. I edited the style.css and renamed all // | >> I had the same problem. I edited the style.css and renamed all // | ||
Line 68: | Line 69: | ||
// week begins on Sunday in PHP... | // week begins on Sunday in PHP... | ||
$lang[' | $lang[' | ||
- | ?> | + | |
</ | </ | ||
Line 87: | Line 88: | ||
in syntax.php I changed : | in syntax.php I changed : | ||
- | < | + | < |
- | | + | $first_weekday = ($first_weekday > $start) ? $start: $first_weekday; |
</ | </ | ||
to | to | ||
- | < | + | < |
- | | + | $first_weekday = ($first_weekday > $start+1) ? $start+1 : $first_weekday; |
</ | </ | ||
+ | > Thanks for that! However it omits a day the end of some months. How could this be fixed? See for example year 2006, the 31st of October isn't displayed even though it existed. | ||
+ | |||
+ | ===== Namespace-Creation ===== | ||
+ | |||
+ | Works fine now that I understood how to use it correctly with: | ||
+ | |||
+ | < | ||
+ | |||
+ | One thing is that I want to combine your plugin with the bureaucracy plugin. In the Bureaucracy-Plugin it seems not easily manageable to create the pages the same structure you are providing. I now changed one of your PageNameStrategies with : | ||
+ | |||
+ | < | ||
+ | |||
+ | and now I can create with the bureaucracy plugin a form wich directly picks a site your yearbox-plugin already is looking at. | ||
+ | Maybe an idea to extend the possibilities of your namespace-strategies so this is possible directly out of the box. Surely there are thousand ways to do so but for me this was the simplest way ;) | ||
+ | |||
+ | A second idea I had is that it maybe usefull if you could define different PageNameStrategies for different YearBoxes. | ||
+ | |||
+ | --- [[user> |
plugin/yearbox/discussion.1490142765.txt.gz · Last modified: 2017-03-22 01:32 by 213.60.72.53