Hi Martin,

Sorry for the delay in getting back to you...  Here's the answers:

1. There's not really a way to autoindex info vars, as indexes are just
info vars anyway. I could see a need where you would want to extract
specific info vars from lots of pages. You can easily develop a custom
indexing mode. Just model it on one of the other existing functions and
customize how you want, and set mode=whatever in your index rule.

function BOLTindexDoWhatever($page, $args='') {
... create the index value you want from the page
return $value;
}

2. Can you try this patch and let me know if it fixes it?  I'll include it
in the next release if it does. Basically it inserts a single blank space
when no data value is set

change line 773 in library.php to this:
foreach ($legend as $field) $out[] = BOLTinit(' ', $data[":$field"]);

3. I'm pretty sure the page is deleted and then one of your indexing rules
is recreating it. Try temporarily disabling your indexing rules and then
delete one of the indexes. If that doesn't remove the page, I'll look into
it some more.

Cheers,
Dan

On Mon, May 11, 2015 at 7:56 AM mz <[email protected]> wrote:

> 1. We have index modes for text, links, tags and data vars - can I
> autoindex info vars on pages too?
>
> 2. When indexing data vars I run into a problem with nonexistent data
> fields in 4.23.
> I have some pages with 2 data fields (age, name) and some pages with name
> only.
> Legend is age,name.
> action.index returns all names on position 2 (page: | name), even if age
> does not exist on the page. Great!
> Now I open a page with name only and edit this data field.
> Autoindex then moves this name entry from position 2 to first. But it
> needs to stay in pos 2.
>
> 3. When I delete a custom index page, action.delete will only clear the
> content, but does not remove the page from the server. With other pages
> action.delete works as intended.
>
> Greetings, Martin
>
> --
> You received this message because you are subscribed to the Google Groups
> "BoltWire" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/boltwire.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/d/optout.

Reply via email to