Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Card content property #9

@mrclay

Description

@mrclay

Maybe I don't understand the card concept. It seems the view uses the biggest version it finds:

foreach (['excerpt', 'briefdescription', 'description'] as $prop) {
if ($entity->$prop) {
$vars['content'] = elgg_get_excerpt($entity->$prop, elgg_extract('content_limit', $vars, 250));
}
}

Should it break as soon as one of those is non-empty?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions