Embed page
nav_first.pngFirst: package:1
Wikidot per-site help
Edited: 08 Nov 2009 12:06 by: pieterh
Comments: 0
nav_prev.pngPrevious: package:22
Reversed Text on your wiki!
Edited: 28 Jan 2010 07:00 by: tsangk
Comments: 2
Last: package:49
Advanced Search
Edited: 01 May 2012 12:30 by: tsangk
Comments: 68
Next: package:24
Hide Lightbox Viewer Elements
Edited: 16 Feb 2010 05:47 by: Ed Johnson
Comments: 1

Embed page
Package submitted by pieterh
02 Feb 2010 12:00

rating: 0+x

This package provides a simple way to embed a page from another site so that it is visually obvious and offers the user navigation to the page.


To use this package, use the following code: [[include :csi:include:embed site=sitename | page=category:page]]

Example of use:

[[include :csi:include:embed site=projects | page=thread:269]]

Taken from http://projects.wikidot.com/thread:269:

This is a design sketch for the settag command, which automates the task of setting tags on pages. It is analogous to iftag but shows a button or text link that the user can click. The concept was originally suggested by James KanjoJames Kanjo in his design

The tag button automates a very common scenario:

  1. Navigate to a page
  2. Click on the 'tags' action
  3. Remove unwanted old tags
  4. Add wanted new tags
  5. Save resulting tags
  6. Enter comment text
  7. Save comments
  8. Return to parent page

It would become:

  1. Click on tag button
  2. Enter comment text
  3. Save comment


[[settags arguments...]]


  • button="text string" — specifies the text for the button, which is the 'tags' argument by default.
  • class="css-class" — specifies CSS class for the div element containing the button, allowing custom styling
  • iftags="taglist" — only shows if this tag condition is true
  • tags="taglist" — specify new tags to set, by default is empty
  • remove="taglist" — specify tags to remove, where '*' is a wildcard. So "_*" means remove all hidden tags.
  • comment="yes|no" — if 'yes', Wikidot asks for a page comment and only retags if the comment is saved, by default is "no"
  • source="pagename" — if specified, this page will be tagged, otherwise it is the current page
  • target="pagename" — if specified, the user is moved to this page after tagging is completed

The iftags argument works exactly as the [[iftags]] command.


[[settags button="Close" tags="_closed" iftags="-_closed" source="%%fullname%%" target="product:_start" comment="yes" remove="_*"]]

Settags with custom styling:

[settags class="my-settags-class"]]

If you use custom styling, remember to define the class in your custom CSS. The default class for settags is ".settags" and you can style this using custom CSS like this:

.settags {
    background-image: url(yourimage.png)

Include files

embed By pieterh 02 Feb 2010 12:02

Comments: 0

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License