Hallo,
Ich versuche das SimplePageHead 0.5 mit dem Portfolio zu verknüpfen. Ziel: die der content der portfolio_detail Seiten soll in den Meta description erscheinen.
Im SimplePageHead include.php heist es:
// Define module vars
// ******************
// To add other modules extend this list by adding new lines, e.g.:
// $module['module_name'] = array('table_name', 'id_name', 'title_field_name', 'description_field_name', 'keywords_field_name');
$module['news'] = array('mod_news_posts', 'post_id', 'title', 'content_short', '');
$module['bakery'] = array('mod_bakery_items', 'item_id', 'title', 'description', '');
$module['gallery'] = array('mod_gallery_images', 'image_id', 'title', 'description', '');
$module['gocart'] = array('mod_gocart_products', 'image_id', 'title', 'description','');
$module['news2'] = array('mod_news2_posts', 'post_id', 'title', 'description', 'keywords');
$module['topics'] = array('mod_topics', 'topic_id', 'title', 'description', 'keywords');
#$module['module_name'] = array('table_name', 'id_name', 'title_field_name', 'description_field_name');
Also habe ich für das portfolio_detail folgende Zeile ergänzt:
$module['portfolio_detail'] = array('mod_portfolio_detail', 'section_id', 'alt', 'content', '');
Leider passiert gar nichts. Hat das schon mal jemand erfolgreich gemacht oder hat mal Zeit nach zu schauen was ich hier falsch mache?
besten Dank
Kirk