History log of /plugin/include/helper.php (Results 26 – 50 of 162)
Revision Date Author Comments
# 7100e4a0 21-Feb-2013 Michael Hamann <michael@content-space.de>

Construct local link title like internal link title

This fixes the problem that the title of the links that were converted
from internal to local links was constructed using the new (generated)
anch

Construct local link title like internal link title

This fixes the problem that the title of the links that were converted
from internal to local links was constructed using the new (generated)
anchor instead of the original page name.

show more ...


# b0c45c90 20-Feb-2013 Michael Hamann <michael@content-space.de>

Adjust internal links to be local if the target page is included

This changes internal links in included pages whose target page is
included into links to the target page. This only works for xhtml

Adjust internal links to be local if the target page is included

This changes internal links in included pages whose target page is
included into links to the target page. This only works for xhtml output
with additional support for the dw2pdf plugin, other output formats are
not affected by this change.

show more ...


# 1b488282 20-Feb-2013 Michael Hamann <michael@content-space.de>

Add the id to the p_cached_instructions-call

This makes the page id available in the cache handler event.


# c5e9feba 14-Dec-2012 Michael Hamann <michael@content-space.de>

Add 'beforeeach' and 'aftereach' flags

These two flags allow to specify an entity or text that will be
displayed before or after each included page. The text will be displayed
outside the current se

Add 'beforeeach' and 'aftereach' flags

These two flags allow to specify an entity or text that will be
displayed before or after each included page. The text will be displayed
outside the current section and paragraph so this is really mainly a
possibility to specify an entity that will expanded into some HTML code.
This can also be used to wrap each included page in a certain HTML
element.

Example:

In conf/entities.local.conf add the following:
~~PAGEBREAK~~ <div style="page-break-before:always;">&nbsp;</div>
Then you can use
{{namespace>ns&beforeeach=~~PAGEBREAK~~}}
and you will get a page break before each included page. This uses
inline styles as otherwise the dw2pdf plugin doesn't consider the page
breaks for the toc generation.

show more ...


# 946fc5b0 14-Dec-2012 Michael Hamann <michael@content-space.de>

Clean the depth flag value


# d346e483 13-Dec-2012 Michael Hamann <michael@content-space.de>

Add missing flag options for parlink, title and pageexists


# 5ba48273 02-Dec-2012 Michael Hamann <michael@content-space.de>

Add "noheader" configuration option for "noheader" flag, closes #101

This also adds "showheader" and "header" flags which both disable the
"noheader" option.


# 3fca97c9 30-Nov-2012 boukeversteegh <info@boukeversteegh.nl>

Added option for showing the modified time of a page


# c69c4423 28-Nov-2012 Michael Hamann <michael@content-space.de>

Use natural string ordering for sorting pages in namespace includes


# df062bd2 28-Nov-2012 Michael Hamann <michael@content-space.de>

Add (r)sort and order flags for namespace includes #96 #61

This adds the following ordering criterias:
- page ID (current behavior, default)
- title
- date created
- date modified
- indexmenu sort t

Add (r)sort and order flags for namespace includes #96 #61

This adds the following ordering criterias:
- page ID (current behavior, default)
- title
- date created
- date modified
- indexmenu sort tag metadata
- include plugin sort tag metadata (new syntax: {{include_n>[number]}})

When the rsort flag is set, the ordering will be reversed. Both flags
are available as configuration option, too.

show more ...


# 20d126dc 28-Nov-2012 Michael Hamann <michael@content-space.de>

Exclude hidden pages from namespace includes


# ff4c1966 28-Nov-2012 Michael Hamann <michael@content-space.de>

Add 'depth' flag and option for the maximum depth of namespace includes

The default is 1, i.e. the former behavior, 0 allows unlimited depth.


# 6d657b49 23-Nov-2012 Michael Hamann <michael@content-space.de>

Set the end position of the last section edit button of section includes

When not the whole page but just a section was included the last section
edit button inside the included page was for the who

Set the end position of the last section edit button of section includes

When not the whole page but just a section was included the last section
edit button inside the included page was for the whole rest of the page
instead of the rest of the included section. Now the position after the
included content is stored and used in the section edit button.

show more ...


# 45c6515c 23-Nov-2012 Michael Hamann <michael@content-space.de>

Fix section edits when the first header is a link #97


# 636931ff 23-Nov-2012 Michael Hamann <michael@content-space.de>

Add missing break for inline mode (might have caused warnings)


# 89c58f89 19-Aug-2011 Michael Hamann <michael@content-space.de>

Added a class to the readmore link and moved it right, implements #78


# d2cd3b4c 19-Aug-2011 Michael Hamann <michael@content-space.de>

Make the edit page button use section edits, fixes #65

This means that now the edit buttons for included pages only appear
where it makes sense (i.e. not in the preview and not in the RSS feed).
Thi

Make the edit page button use section edits, fixes #65

This means that now the edit buttons for included pages only appear
where it makes sense (i.e. not in the preview and not in the RSS feed).
This also means that the cache no longer depends on the edit permissions
as there is nothing in the rendering process anymore that depends on
them because the edit buttons are generated after the rendering.

show more ...


# 4679e920 19-Aug-2011 Michael Hamann <michael@content-space.de>

Fix the plugins not using the new settings


# 1403dce0 19-Aug-2011 Jerry G Geiger <jerrygeiger@web.de>

Add more options for the linkonly mode and date replacements

This adds several new options and flags, it allows to force-enable the
usage of the first heading of the linked to page even if useheadin

Add more options for the linkonly mode and date replacements

This adds several new options and flags, it allows to force-enable the
usage of the first heading of the linked to page even if useheading is
off, it allows to disable the paragraph around the links and it adds
more date replacements so you can easily use the year of the previous or
next month etc. in the id of the included page/namespace.

show more ...


# cc549663 19-Jul-2011 Michael Hamann <michael@content-space.de>

Fix placement of section edit button by fixing a name


# 9ed6c5ea 19-Jul-2011 Michael Hamann <michael@content-space.de>

Fix loading instructions with the wrong global $ID

Previously, instructions have been loaded while $ID has been set to the
current page instead of the page that has been loaded. Now this is the
page

Fix loading instructions with the wrong global $ID

Previously, instructions have been loaded while $ID has been set to the
current page instead of the page that has been loaded. Now this is the
page that is loaded as some plugins like the discussion plugin do save
data for the wrong page otherwise. This should fix some problems in the
discussion plugin where discussion sections appeared on the wrong page.

show more ...


# 7475482b 02-Jan-2011 Michael Hamann <michael@content-space.de>

Use sectionID instead of cleanID for sections. Closes #62

Now the internal section ids that are compared should match the ones
that are displayed in the url so the ids from the url can be used
inste

Use sectionID instead of cleanID for sections. Closes #62

Now the internal section ids that are compared should match the ones
that are displayed in the url so the ids from the url can be used
instead of the original title in all cases and even when the title is
not unique you can select the section by appending a number in the same
way it is done in urls (but note that included headers are not seen in
the include plugin so for nested includes the appended numbers might
differ).

show more ...


# dcec2f1f 01-Jan-2011 Michael Hamann <michael@content-space.de>

Respect the redirect flag and configuration option. Closes #60


# dcba494b 30-Dec-2010 Michael Hamann <michael@content-space.de>

Add inline mode without sections for inclusion in other plugins

This mode might look strange with some templates as it changes e.g. how
headers are displayed. If the included content contains no hea

Add inline mode without sections for inclusion in other plugins

This mode might look strange with some templates as it changes e.g. how
headers are displayed. If the included content contains no headers this
mode shouldn't cause any visual difference. If you have problems with
invalid html or the inclusion of included content in wrap-blocks of the
wrap-plugin or in hidable blocks try the inline mode, it should solve
these problems.

show more ...


# 12092bce 31-Dec-2010 Michael Hamann <michael@content-space.de>

Add linkonly option for displaying a link instead of the content

This commit adds a linkonly option that makes the include plugin behave
like internal links except that each link is wrapped inside a

Add linkonly option for displaying a link instead of the content

This commit adds a linkonly option that makes the include plugin behave
like internal links except that each link is wrapped inside a paragraph.
When the url parameter "include_content" is set, all includes are
displayed as full includes. This makes it possible to have a page with a
list of a lot of pages as table of contents and then to export all these
pages as single large document with setting that url parameter. This is
useful for creating things like books or larger documentations.
This feature has been requested and sponsored by Jörg Ferlein.

show more ...


1234567