plugin:yearbox:discussion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:yearbox:discussion [2012-08-26 14:59] – [Preview] 92.226.193.210 | plugin:yearbox:discussion [2021-01-24 13:29] – [Namespace-Creation] ooleanderoo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Discussion ====== | ====== Discussion ====== | ||
- | [[..: | + | [[..: |
MAKE SURE YOU USE | MAKE SURE YOU USE | ||
Line 6: | Line 7: | ||
ON THE PAGE WITH THE CALENDAR | ON THE PAGE WITH THE CALENDAR | ||
+ | |||
+ | ===== Wrapping ===== | ||
+ | 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 " | ||
===== Preview ===== | ===== Preview ===== | ||
Line 29: | Line 34: | ||
I watched an unexpected bahavior: In EditMode the Preview links to local Namespace; after saving it links to the rootnamespace until in the calendar-call is any ns specified. So i have to spcify the ns allways (in my case!) Any suggestion for solving? | I watched an unexpected bahavior: In EditMode the Preview links to local Namespace; after saving it links to the rootnamespace until in the calendar-call is any ns specified. So i have to spcify the ns allways (in my case!) Any suggestion for solving? | ||
btw: My first impression: I like it and will test ist! Thank you a lot, 12.08.25 utaf | btw: My first impression: I like it and will test ist! Thank you a lot, 12.08.25 utaf | ||
+ | |||
+ | It works on Adora Belle, with the same namespace problem described above. It was also not showing the preview tooltip. However, it seems the tooltips appears if I specify the complete path for the namespace (root: | ||
===== Download problems [0.3] ===== | ===== Download problems [0.3] ===== | ||
Download link error. Access denied. // | Download link error. Access denied. // | ||
+ | ===== Change a path to a page ===== | ||
+ | |||
+ | How to change a path to a page from ''< | ||
+ | > Lines [[https:// | ||
+ | > <code php>$id = $opt[' | ||
+ | $year_num . ' | ||
+ | |||
+ | |||
+ | | ||
+ | ===== German ' | ||
+ | |||
+ | Just add this file into a folder called ' | ||
+ | |||
+ | <file php lang.php> | ||
+ | <?php | ||
+ | /** | ||
+ | * German language file | ||
+ | * | ||
+ | * @license | ||
+ | * @author | ||
+ | */ | ||
+ | |||
+ | // custom language strings for the plugin | ||
+ | |||
+ | $lang[' | ||
+ | ' | ||
+ | // week begins on Sunday in PHP... | ||
+ | $lang[' | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Relative ns= parameter ===== | ||
+ | |||
+ | Relative namespace names didn't work for me. Adding | ||
+ | |||
+ | <code php> | ||
+ | resolve_pageid(getNS(getID()), | ||
+ | </ | ||
+ | |||
+ | to the **syntax.php** at line 201 (before //if (page_exists($id))// | ||
+ | // | ||
+ | sieber, 2014/ | ||
+ | |||
+ | ===== Display Monday as first day of the week ===== | ||
+ | |||
+ | in syntax.php I changed : | ||
+ | |||
+ | <code php> | ||
+ | $first_weekday = ($first_weekday > $start) ? $start: $first_weekday; | ||
+ | </ | ||
+ | |||
+ | to | ||
+ | |||
+ | <code php> | ||
+ | $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 ;) | ||
+ | --- [[user> |
plugin/yearbox/discussion.txt · Last modified: 2024-03-09 09:46 by 212.159.116.80