Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change page title with module "anyStores Details" #29

Closed
elcreativo opened this issue Mar 22, 2015 · 1 comment
Closed

change page title with module "anyStores Details" #29

elcreativo opened this issue Mar 22, 2015 · 1 comment

Comments

@elcreativo
Copy link

Aktuell liegt das Modul "anyStores Details" in der Seite "Mitglieder Details".
Gibt es eine Möglichkeit über das Modul den Seitentitel aus dem Mitgliederdaten einzufügen und nicht den Namen der Seite in dem das Modul liegt (In diesem Fall heißt die Seite "Mitglieder Details" und nicht "Name des Mitgliedes"?

Bei dem News Reader Funktioniert das bereits so.

@Tastaturberuf
Copy link
Owner

Duplicate #25

Geht aktuell mit diesem Snippet im Template mod_anystores_details:

<?php
$strAlias = Input::get('auto_item') ? Input::get('auto_item') : Input::get('store');
if ( ($objStore = Tastaturberuf\AnyStoresModel::findPublishedByIdOrAlias($strAlias)) !== null )
{
    $GLOBALS['objPage']->title = $objStore->name;
}
?>

// Template

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants