I think it will be better if this module has more properties to config New Page.
Such as
- parent - set page who is it parent page
- block - set this page block or not?
I think it will be better if this module has more properties to config New Page.
Such as
I agree with xenogew. This is what I'd like to see:
When user click in "new page" button, he should be able to
Very good that you thought at giving the user a choice of templates. But :
It seems to me that categories & templates often are related arguments : I mean that a categorie often has a template, and a template is often used to prototype a caztegory of pages. So that there may be a list of (category:template) pairs, rather that templates alone.
What about that.
I would also like an attribute for setting default tags for a new page.
An Innovator at heart.
An undocumented feature of the newpage module is that you can set tags to new pages:
[[module NewPage tags="food computers friends internet"]]
Each tag is separated by a space.
I don't know why Wikidot failed to document such a useful feature?
Cheers ~ James Kanjo
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
Because this feature is just 3-hours old? ;-) Thanks!
Michał Frąckowiak @ Wikidot Inc.
Visit my blog at michalf.me
A newpage created under the control of the "autonumbering" feature - setup in the Site manager for the wanted category - is overwritten by the next free number…
I think, this should better be documented here to make clear what can happen.
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
Is there anyway to dynamically set the Parent attribute when using the NewPage Module from within a Live _template?
The Use Case is:
Creating pages for (Music) Track listings that belong to a Band name. There will be many bands.
The process I thought would work hit a problem with not being able to dynamically append a value to the Parent attribute, both with NewPage and ListPage modules.
The work flow so far:
Below is the code for 'band:_template'.
Inline Comments show where I need a dynamic Parent attribute.
Or is there another way to achieve this relationship of Tracks to Brands? I'm hoping there is a trick with the @URL handler. Also, Tags are not suitable for this as they wont allow for spaces within the name of Bands or Tracks.
Thanks in advance.
+ Band Details
[!-- content is created via a page called 'Bands' and collected from band:<bandname> through bands:_template (this.page)--]
%%content%%
----
+ The Tracks by the Band
(Sorted by Rating, Best at the Top.)
[!-- parent is currently hardcoded with "band:rolling-stones" --]
[!-- parent attribute needs to be added dynamically on this page based upon which Band page is being viewed (band:<bandname>) --]
[[module ListPages parent="band:rolling-stones" category="track" order="ratingDesc"]]
Title: %%title%%
Rating: %%rating%%
[[/module]]
----
+ Add a new Track for this Band.
Enter the name of the Track and complete the details on the next page.
[!-- parent is currently hardcoded with "band:rolling-stones" --]
[!-- parent attribute needs to be added dynamically on this page based upon which Band page is being viewed (band:<bandname>) --]
[[module NewPage size="15" category="track" parent="band:rolling-stones" button="Add new song"]]
----
@zeroinfluencer : Have a look at http://community.wikidot.com/howto:autoparenting !