Joomla! Template Override:

Mitarbeiterliste


Mit diesem Template Override haben wir eine Mitarbeiterliste als Bloglayout realisiert. Somit können die Kunden etc. einfach neue Mitarbeiter hinzufügen, bearbeiten, löschen oder sortieren.

Da man ja doch hin und wieder das Bloglayout in seinem Template schon nutzt, haben wir uns hierfür ein Alternatives Layout angelegt und zusätzlich eine XML-Datei erstellt. Wenn Ihr die Dateien hochgeladen habt, erscheint in Eurem Menüpunkt unter Menüeintragstyp nun "Beiträge -> Mitarbeiter". In unserer Vorschau haben wir die Titelverlinkung deaktiviert, genau so wie die Metadaten. Zusätzlich haben wir die Kategoriebeschreibung aktiviert und einen Seitennamen verpasst. So könnt Ihr nur für diesen Menüpunkt dieses Layout auswählen und habt keine Kollisionen mit anderen Bloglayouts. Zusätzlich mussten wir für dieses Override ein Alternatives Layout von "/ html / layouts / content / intro_image.php" anlegen.

So sollte Eure Templatestruktur nun aussehen:

  1. / euerTemplate / html / com_content / category / mitarbeiter.xml
  2. / euerTemplate / html / com_content / category / mitarbeiter.php
  3. / euerTemplate / html / com_content / category / mitarbeiter_item.php
  4. / euerTemplate / html / com_content / category / mitarbeiter_children.php
  5. / euerTemplate / html / com_content / category / mitarbeiter_links.php
  6. / euerTemplate / html / layouts / jover / intro_image.php

Die CSS-Datei könnt Ihr Euch in Eure bereits bestehende CSS-Datei kopieren. 

Demnächst folgt noch eine Alternative über die Kontaktkomponente von Joomla. 

Benötigte Override-Dateien


  • <?xml version="1.0" encoding="utf-8"?>
    <metadata>
    	<layout title="Mitarbeiter" option="Mitarbeiter">
    		<help key = "JHELP_MENUS_MENU_ITEM_ARTICLE_CATEGORY_BLOG" />
    		<message>
    			<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
    		</message>
    	</layout>
    
    	<!-- Add fields to the request variables for the layout. -->
    	<fields name="request">
    		<fieldset name="request">
    			<field
    				name="id"
    				type="category"
    				description="JGLOBAL_CHOOSE_CATEGORY_DESC"
    				extension="com_content"
    				label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
    				required="true"
    			/>
    		</fieldset>
    	</fields>
    
    	<!-- Add fields to the parameters object for the layout. -->
    	<fields name="params">
    		<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
    				<field
    					name="layout_type"
    					type="hidden"
    					default="blog"
    				/>
    
    				<field
    					name="show_category_heading_title_text"
    					type="list"
    	 				label="JGLOBAL_SHOW_CATEGORY_HEADING_TITLE_TEXT_LABEL"
    					description="JGLOBAL_SHOW_CATEGORY_HEADING_TITLE_TEXT_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="show_category_title"
    					type="list"
    					label="JGLOBAL_SHOW_CATEGORY_TITLE"
    					description="JGLOBAL_SHOW_CATEGORY_TITLE_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="show_description"
    					type="list"
    					description="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_DESC"
    					label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="show_description_image"
    					type="list"
    					description="JGLOBAL_SHOW_CATEGORY_IMAGE_DESC"
    					label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="maxLevel"
    					type="list"
    					description="JGLOBAL_MAXLEVEL_DESC"
    					label="JGLOBAL_MAXLEVEL_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="-1">JALL</option>
    					<option value="0">JNONE</option>
    					<option value="1">J1</option>
    					<option value="2">J2</option>
    					<option value="3">J3</option>
    					<option value="4">J4</option>
    					<option value="5">J5</option>
    				</field>
    
    				<field
    					name="show_empty_categories"
    					type="list"
    					label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
    					description="COM_CONTENT_SHOW_EMPTY_CATEGORIES_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="show_no_articles"
    					type="list"
    					label="COM_CONTENT_NO_ARTICLES_LABEL"
    					description="COM_CONTENT_NO_ARTICLES_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="show_subcat_desc"
    					type="list"
    					label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL"
    					description="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="show_cat_num_articles"
    					type="list"
    					label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL"
    					description="COM_CONTENT_NUMBER_CATEGORY_ITEMS_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field name="show_cat_tags"
    					type="list"
    					label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL"
    					description="COM_CONTENT_FIELD_SHOW_CAT_TAGS_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="page_subheading"
    					type="text"
    					description="JGLOBAL_SUBHEADING_DESC"
    					label="JGLOBAL_SUBHEADING_LABEL"
    					size="20"
    				/>
    		</fieldset>
    
    		<fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS">
    				<field 
    					name="bloglayout"
    					type="spacer"
    					class="text"
    					label="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL"
    				/>
    
    				<field
    					name="num_leading_articles"
    					type="text"
    					description="JGLOBAL_NUM_LEADING_ARTICLES_DESC"
    					label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
    					size="3"
    				/>
    
    				<field
    					name="num_intro_articles"
    					type="text"
    					description="JGLOBAL_NUM_INTRO_ARTICLES_DESC"
    					label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
    					size="3"
    				/>
    
    				<field
    					name="num_columns"
    					type="text"
    					description="JGLOBAL_NUM_COLUMNS_DESC"
    					label="JGLOBAL_NUM_COLUMNS_LABEL"
    					size="3"
    				/>
    
    				<field
    					name="num_links"
    					type="text"
    					description="JGLOBAL_NUM_LINKS_DESC"
    					label="JGLOBAL_NUM_LINKS_LABEL"
    					size="3"
    				/>
    
    				<field
    					name="multi_column_order"
    					type="list"
    					description="JGLOBAL_MULTI_COLUMN_ORDER_DESC"
    					label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JGLOBAL_DOWN</option>
    					<option value="1">JGLOBAL_ACROSS</option>
    				</field>
    
    				<field
    					name="subcategories"
    					type="spacer"
    					class="spacer"
    					label="JGLOBAL_SUBSLIDER_BLOG_EXTENDED_LABEL"
    				/>
    
    				<field
    					name="show_subcategory_content"
    					type="list"
    					description="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_DESC"
    					label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JNONE</option>
    					<option value="-1">JALL</option>
    					<option value="1">J1</option>
    					<option value="2">J2</option>
    					<option value="3">J3</option>
    					<option value="4">J4</option>
    					<option value="5">J5</option>
    				</field>
    
    				<field
    					name="spacer1"
    					type="spacer"
    					hr="true"
    				/>
    
    				<field
    					name="orderby_pri"
    					type="list"
    					description="JGLOBAL_CATEGORY_ORDER_DESC"
    					label="JGLOBAL_CATEGORY_ORDER_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="none">JGLOBAL_NO_ORDER</option>
    					<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
    					<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
    					<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
    				</field>
    
    				<field
    					name="orderby_sec"
    					type="list"
    					description="JGLOBAL_ARTICLE_ORDER_DESC"
    					label="JGLOBAL_ARTICLE_ORDER_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="front">COM_CONTENT_FEATURED_ORDER</option>
    					<option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option>
    					<option value="date">JGLOBAL_OLDEST_FIRST</option>
    					<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
    					<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
    					<option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option>
    					<option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option>
    					<option value="hits">JGLOBAL_MOST_HITS</option>
    					<option value="rhits">JGLOBAL_LEAST_HITS</option>
    					<option value="order">JGLOBAL_ORDERING</option>
    				</field>
    
    				<field
    					name="order_date"
    					type="list"
    					description="JGLOBAL_ORDERING_DATE_DESC"
    					label="JGLOBAL_ORDERING_DATE_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="created">JGLOBAL_CREATED</option>
    					<option value="modified">JGLOBAL_MODIFIED</option>
    					<option value="published">JPUBLISHED</option>
    				</field>
    
    				<field
    					name="show_pagination"
    					type="list"
    					description="JGLOBAL_PAGINATION_DESC"
    					label="JGLOBAL_PAGINATION_LABEL"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    					<option value="2">JGLOBAL_AUTO</option>
    				</field>
    
    				<field
    					name="show_pagination_results"
    					type="list"
    					label="JGLOBAL_PAGINATION_RESULTS_LABEL"
    					description="JGLOBAL_PAGINATION_RESULTS_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="0">JHIDE</option>
    					<option value="1">JSHOW</option>
    				</field>
    
    				<field
    					name="show_featured"
    					type="list"
    					default=""
    					label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL"
    					description="JGLOBAL_SHOW_FEATURED_ARTICLES_DESC"
    				>
    					<option value="">JGLOBAL_USE_GLOBAL</option>
    					<option value="show">JSHOW</option>
    					<option value="hide">JHIDE</option>
    					<option value="only">JONLY</option>
    				</field>
    		</fieldset>
    
    		<fieldset name="article" label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL">
    			<field
    				name="show_title"
    				type="list"
    				description="JGLOBAL_SHOW_TITLE_DESC"
    				label="JGLOBAL_SHOW_TITLE_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="link_titles"
    				type="list"
    				description="JGLOBAL_LINKED_TITLES_DESC"
    				label="JGLOBAL_LINKED_TITLES_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JNO</option>
    				<option value="1">JYES</option>
    			</field>
    
    			<field
    				name="show_intro"
    				type="list"
    				description="JGLOBAL_SHOW_INTRO_DESC"
    				label="JGLOBAL_SHOW_INTRO_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="info_block_position"
    				type="list"
    				default=""
    				label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL"
    				description="COM_CONTENT_FIELD_INFOBLOCK_POSITION_DESC">
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option>
    				<option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option>
    				<option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option>
    			</field>
    
    			<field
    				name="show_category"
    				type="list"
    				description="JGLOBAL_SHOW_CATEGORY_DESC"
    				label="JGLOBAL_SHOW_CATEGORY_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="link_category"
    				type="list"
    				description="JGLOBAL_LINK_CATEGORY_DESC"
    				label="JGLOBAL_LINK_CATEGORY_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JNO</option>
    				<option value="1">JYES</option>
    			</field>
    
    			<field
    				name="show_parent_category"
    				type="list"
    				description="JGLOBAL_SHOW_PARENT_CATEGORY_DESC"
    				label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="link_parent_category"
    				type="list"
    				description="JGLOBAL_LINK_PARENT_CATEGORY_DESC"
    				label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JNO</option>
    				<option value="1">JYES</option>
    			</field>
    
    			<field
    				name="show_author"
    				type="list"
    				description="JGLOBAL_SHOW_AUTHOR_DESC"
    				label="JGLOBAL_SHOW_AUTHOR_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="link_author"
    				type="list"
    				description="JGLOBAL_LINK_AUTHOR_DESC"
    				label="JGLOBAL_LINK_AUTHOR_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JNo</option>
    				<option value="1">JYes</option>
    			</field>
    
    			<field
    				name="show_create_date"
    				type="list"
    				description="JGLOBAL_SHOW_CREATE_DATE_DESC"
    				label="JGLOBAL_SHOW_CREATE_DATE_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_modify_date"
    				type="list"
    				description="JGLOBAL_SHOW_MODIFY_DATE_DESC"
    				label="JGLOBAL_SHOW_MODIFY_DATE_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_publish_date"
    				type="list"
    				description="JGLOBAL_SHOW_PUBLISH_DATE_DESC"
    				label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_item_navigation"
    				type="list"
    				description="JGLOBAL_SHOW_NAVIGATION_DESC"
    				label="JGLOBAL_SHOW_NAVIGATION_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_vote"
    				type="list"
    				label="JGLOBAL_SHOW_VOTE_LABEL"
    				description="JGLOBAL_SHOW_VOTE_DESC"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option	value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_readmore"
    				type="list"
    				description="JGLOBAL_SHOW_READMORE_DESC"
    				label="JGLOBAL_SHOW_READMORE_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_readmore_title"
    				type="list"
    				label="JGLOBAL_SHOW_READMORE_TITLE_LABEL"
    				description="JGLOBAL_SHOW_READMORE_TITLE_DESC"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_icons"
    				type="list"
    				description="JGLOBAL_SHOW_ICONS_DESC"
    				label="JGLOBAL_SHOW_ICONS_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_print_icon"
    				type="list"
    				description="JGLOBAL_SHOW_PRINT_ICON_DESC"
    				label="JGLOBAL_SHOW_PRINT_ICON_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_email_icon"
    				type="list"
    				description="JGLOBAL_Show_Email_Icon_Desc"
    				label="JGLOBAL_Show_Email_Icon_Label"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_hits"
    				type="list"
    				description="JGLOBAL_SHOW_HITS_DESC"
    				label="JGLOBAL_SHOW_HITS_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_tags"
    				type="list"
    				label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL"
    				description="COM_CONTENT_FIELD_SHOW_TAGS_DESC"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="show_noauth"
    				type="list"
    				description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
    				label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
    				<option value="0">JNO</option>
    				<option value="1">JYES</option>
    			</field>
    		</fieldset>
    
    		<fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL">
    			<field
    				name="show_feed_link"
    				type="list"
    				description="JGLOBAL_SHOW_FEED_LINK_DESC"
    				label="JGLOBAL_SHOW_FEED_LINK_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="0">JHIDE</option>
    				<option value="1">JSHOW</option>
    			</field>
    
    			<field
    				name="feed_summary"
    				type="list"
    				description="JGLOBAL_FEED_SUMMARY_DESC"
    				label="JGLOBAL_FEED_SUMMARY_LABEL"
    			>
    				<option value="">JGLOBAL_USE_GLOBAL</option>
    				<option value="0">JGLOBAL_INTRO_TEXT</option>
    				<option value="1">JGLOBAL_FULL_TEXT</option>
    			</field>
    		</fieldset>
    	</fields>
    </metadata>
  • <?php
    /**
     * @package     Joomla.Site
     * @subpackage  Layout
     *
     * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
     * @license     GNU General Public License version 2 or later; see LICENSE.txt
     */
    defined('_JEXEC') or die;
    $params  = $displayData->params;
    ?>
    
    <?php $images = json_decode($displayData->images); ?>
    <?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?>
    	<div class="entry-image intro-image"> 
    	<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
    	<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($displayData->slug, $displayData->catid, $displayData->language)); ?>"><figure><img
    	src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>" class="img-responsive" itemprop="thumbnailUrl"/>
          <figcaption><?php if ($images->image_intro_caption): echo htmlspecialchars($images->image_intro_caption);  endif; ?></figcaption></figure></a>
    	<?php else : ?><figure><img
    	src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>" class="img-responsive" itemprop="thumbnailUrl"/>
           <figcaption><?php if ($images->image_intro_caption): echo htmlspecialchars($images->image_intro_caption);  endif; ?></figcaption></figure>
    	<?php endif; ?> 
    </div>
    <?php endif; ?>
  • <?php
    /**
     * @package     Joomla.Site
     * @subpackage  com_content
     *
     * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
     * @license     GNU General Public License version 2 or later; see LICENSE.txt
     */
    defined('_JEXEC') or die;
    JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
    JHtml::_('behavior.caption');
    ?>
    <div class="jover_mitarbeiter blog <?php echo $this->pageclass_sfx; ?>" itemscope itemtype="http://schema.org/Blog">
    	<?php if ($this->params->get('show_page_heading')) : ?>
    		<div class="page-header">
    			<h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
    		</div>
    	<?php endif; ?>
    
    	<?php if ($this->params->get('show_category_title', 1) or $this->params->get('page_subheading')) : ?>
    		<h2> <?php echo $this->escape($this->params->get('page_subheading')); ?>
    			<?php if ($this->params->get('show_category_title')) : ?>
    				<span class="subheading-category"><?php echo $this->category->title; ?></span>
    			<?php endif; ?>
    		</h2>
    	<?php endif; ?>
    
    	<?php if ($this->params->get('show_cat_tags', 1) && !empty($this->category->tags->itemTags)) : ?>
    		<?php $this->category->tagLayout = new JLayoutFile('joomla.content.tags'); ?>
    		<?php echo $this->category->tagLayout->render($this->category->tags->itemTags); ?>
    	<?php endif; ?>
    
    	<?php if ($this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
    		<div class="category-desc clearfix">
    			<?php if ($this->params->get('show_description_image') && $this->category->getParams()->get('image')) : ?>
    				<img src="<?php echo $this->category->getParams()->get('image'); ?>" alt="<?php echo htmlspecialchars($this->category->getParams()->get('image_alt')); ?>"/>
    			<?php endif; ?>
    			<?php if ($this->params->get('show_description') && $this->category->description) : ?>
    				<?php echo JHtml::_('content.prepare', $this->category->description, '', 'com_content.category'); ?>
    			<?php endif; ?>
    		</div>
    	<?php endif; ?>
    
    	<?php if (empty($this->lead_items) && empty($this->link_items) && empty($this->intro_items)) : ?>
    		<?php if ($this->params->get('show_no_articles', 1)) : ?>
    			<p><?php echo JText::_('COM_CONTENT_NO_ARTICLES'); ?></p>
    		<?php endif; ?>
    	<?php endif; ?>
    
    	<?php $leadingcount = 0; ?>
    	<?php if (!empty($this->lead_items)) : ?>
    		<div class="items-leading clearfix">
    			<?php foreach ($this->lead_items as &$item) : ?>
    				<div class="leading-<?php echo $leadingcount; ?><?php echo $item->state == 0 ? ' system-unpublished' : null; ?>"
    					itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
    					<?php
    					$this->item = & $item;
    					echo $this->loadTemplate('item');
    					?>
    				</div>
    				<?php $leadingcount++; ?>
    			<?php endforeach; ?>
    		</div><!-- end items-leading -->
    	<?php endif; ?>
    
    	<?php
    	$introcount = (count($this->intro_items));
    	$counter = 0;
    	?>
    
    	<?php if (!empty($this->intro_items)) : ?>
    		<?php foreach ($this->intro_items as $key => &$item) : ?>
    			<?php $rowcount = ((int) $key % (int) $this->columns) + 1; ?>
    			<?php if ($rowcount == 1) : ?>
    				<?php $row = $counter / $this->columns; ?>
    				<div class="items-row cols-<?php echo (int) $this->columns; ?> <?php echo 'row-' . $row; ?> row-fluid clearfix">
    			<?php endif; ?>
    			<div class="span<?php echo round((12 / $this->columns)); ?>">
    				<div class="item column-<?php echo $rowcount; ?><?php echo $item->state == 0 ? ' system-unpublished' : null; ?>"
    					itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
    					<?php
    					$this->item = & $item;
    					echo $this->loadTemplate('item');
    					?>
    				</div>
    				<!-- end item -->
    				<?php $counter++; ?>
    			</div><!-- end span -->
    			<?php if (($rowcount == $this->columns) or ($counter == $introcount)) : ?>
    				</div><!-- end row -->
    			<?php endif; ?>
    		<?php endforeach; ?>
    	<?php endif; ?>
    
    	<?php if (!empty($this->link_items)) : ?>
    		<div class="items-more">
    			<?php echo $this->loadTemplate('links'); ?>
    		</div>
    	<?php endif; ?>
    
    	<?php if (!empty($this->children[$this->category->id]) && $this->maxLevel != 0) : ?>
    		<div class="cat-children">
    			<?php if ($this->params->get('show_category_heading_title_text', 1) == 1) : ?>
    				<h3> <?php echo JText::_('JGLOBAL_SUBCATEGORIES'); ?> </h3>
    			<?php endif; ?>
    			<?php echo $this->loadTemplate('children'); ?> </div>
    	<?php endif; ?>
    	<?php if (($this->params->def('show_pagination', 1) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->get('pages.total') > 1)) : ?>
    		<div class="pagination">
    			<?php if ($this->params->def('show_pagination_results', 1)) : ?>
    				<p class="counter pull-right"> <?php echo $this->pagination->getPagesCounter(); ?> </p>
    			<?php endif; ?>
    			<?php echo $this->pagination->getPagesLinks(); ?> </div>
    	<?php endif; ?>
    </div>
  • <?php
    /**
     * @package     Joomla.Site
     * @subpackage  com_content
     *
     * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
     * @license     GNU General Public License version 2 or later; see LICENSE.txt
     */
    defined('_JEXEC') or die;
    JHtml::_('bootstrap.tooltip');
    $class = ' class="first"';
    $lang  = JFactory::getLanguage();
    if (count($this->children[$this->category->id]) > 0 && $this->maxLevel != 0) : ?>
    
    	<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>
    		<?php
    		if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) :
    			if (!isset($this->children[$this->category->id][$id + 1])) :
    				$class = ' class="last"';
    			endif;
    		?>
    		<div<?php echo $class; ?>>
    			<?php $class = ''; ?>
    			<?php if ($lang->isRtl()) : ?>
    			<h3 class="page-header item-title">
    				<?php if ( $this->params->get('show_cat_num_articles', 1)) : ?>
    					<span class="badge badge-info tip hasTooltip" title="<?php echo JHtml::tooltipText('COM_CONTENT_NUM_ITEMS'); ?>">
    						<?php echo $child->getNumItems(true); ?>
    					</span>
    				<?php endif; ?>
    				<a href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($child->id)); ?>">
    				<?php echo $this->escape($child->title); ?></a>
    
    				<?php if (count($child->getChildren()) > 0 && $this->maxLevel > 1) : ?>
    					<a href="#category-<?php echo $child->id;?>" data-toggle="collapse" data-toggle="button" class="btn btn-mini pull-right"><span class="icon-plus"></span></a>
    				<?php endif;?>
    			</h3>
    			<?php else : ?>
    			<h3 class="page-header item-title"><a href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($child->id));?>">
    				<?php echo $this->escape($child->title); ?></a>
    				<?php if ( $this->params->get('show_cat_num_articles', 1)) : ?>
    					<span class="badge badge-info tip hasTooltip" title="<?php echo JHtml::tooltipText('COM_CONTENT_NUM_ITEMS'); ?>">
    						<?php echo $child->getNumItems(true); ?>
    					</span>
    				<?php endif; ?>
    
    				<?php if (count($child->getChildren()) > 0 && $this->maxLevel > 1) : ?>
    					<a href="#category-<?php echo $child->id;?>" data-toggle="collapse" data-toggle="button" class="btn btn-mini pull-right"><span class="icon-plus"></span></a>
    				<?php endif;?>
    			<?php endif;?>
    			</h3>
    
    			<?php if ($this->params->get('show_subcat_desc') == 1) : ?>
    			<?php if ($child->description) : ?>
    				<div class="category-desc">
    					<?php echo JHtml::_('content.prepare', $child->description, '', 'com_content.category'); ?>
    				</div>
    			<?php endif; ?>
    			<?php endif; ?>
    
    			<?php if (count($child->getChildren()) > 0 && $this->maxLevel > 1) : ?>
    			<div class="collapse fade" id="category-<?php echo $child->id; ?>">
    				<?php
    				$this->children[$child->id] = $child->getChildren();
    				$this->category = $child;
    				$this->maxLevel--;
    				echo $this->loadTemplate('children');
    				$this->category = $child->getParent();
    				$this->maxLevel++;
    				?>
    			</div>
    			<?php endif; ?>
    		</div>
    		<?php endif; ?>
    	<?php endforeach; ?>
    
    <?php endif;
  • <?php
    /**
     * @package     Joomla.Site
     * @subpackage  Layout
     *
     * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
     * @license     GNU General Public License version 2 or later; see LICENSE.txt
     */
    defined('_JEXEC') or die;
    // Create a shortcut for params.
    $params = $this->item->params;
    JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
    $canEdit = $this->item->params->get('access-edit');
    $info    = $params->get('info_block_position', 0);
    ?>
    <?php if ($this->item->state == 0 || strtotime($this->item->publish_up) > strtotime(JFactory::getDate())
    	|| ((strtotime($this->item->publish_down) < strtotime(JFactory::getDate())) && $this->item->publish_down != JFactory::getDbo()->getNullDate())) : ?>
    	<div class="system-unpublished">
    <?php endif; ?>
    
    
    <?php if ($canEdit || $params->get('show_print_icon') || $params->get('show_email_icon')) : ?>
    	<?php echo JLayoutHelper::render('joomla.content.icons', array('params' => $params, 'item' => $this->item, 'print' => false)); ?>
    <?php endif; ?>
    
    <?php if ($params->get('show_tags') && !empty($this->item->tags->itemTags)) : ?>
    	<?php echo JLayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
    <?php endif; ?>
    
    <?php // Todo Not that elegant would be nice to group the params ?>
    <?php $useDefList = ($params->get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_create_date')
    	|| $params->get('show_hits') || $params->get('show_category') || $params->get('show_parent_category') || $params->get('show_author') ); ?>
    
    <?php if ($useDefList && ($info == 0 || $info == 2)) : ?>
    	<?php echo JLayoutHelper::render('joomla.content.info_block.block', array('item' => $this->item, 'params' => $params, 'position' => 'above')); ?>
    <?php endif; ?>
    <div class="about_us">
    <div class="row">
      <div class="col-md-3">
         <?php echo JLayoutHelper::render('jover.intro_image', $this->item); ?>
      </div>
    
    <div class="col-md-9">
      <?php echo JLayoutHelper::render('joomla.content.blog_style_default_item_title', $this->item); ?>
      
    <?php if (!$params->get('show_intro')) : ?>
    	<?php echo $this->item->event->afterDisplayTitle; ?>
    <?php endif; ?>
    <?php echo $this->item->event->beforeDisplayContent; ?> <?php echo $this->item->introtext; ?>
    
    <?php if ($useDefList && ($info == 1 || $info == 2)) : ?>
    	<?php echo JLayoutHelper::render('joomla.content.info_block.block', array('item' => $this->item, 'params' => $params, 'position' => 'below')); ?>
    <?php  endif; ?>
    
    <?php if ($params->get('show_readmore') && $this->item->readmore) :
    	if ($params->get('access-view')) :
    		$link = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
    	else :
    		$menu = JFactory::getApplication()->getMenu();
    		$active = $menu->getActive();
    		$itemId = $active->id;
    		$link = new JUri(JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
    		$link->setVar('return', base64_encode(JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language), false)));
    	endif; ?>
    
    	<?php echo JLayoutHelper::render('joomla.content.readmore', array('item' => $this->item, 'params' => $params, 'link' => $link)); ?>
    
    <?php endif; ?>
    
    <?php if ($this->item->state == 0 || strtotime($this->item->publish_up) > strtotime(JFactory::getDate())
    	|| ((strtotime($this->item->publish_down) < strtotime(JFactory::getDate())) && $this->item->publish_down != JFactory::getDbo()->getNullDate())) : ?>
    </div>
    </div>
    </div>
    <?php endif; ?>
    
    <?php echo $this->item->event->afterDisplayContent; ?>
  • <?php
    /**
     * @package     Joomla.Site
     * @subpackage  com_content
     *
     * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
     * @license     GNU General Public License version 2 or later; see LICENSE.txt
     */
    defined('_JEXEC') or die;
    ?>
    
    
    <ol class="nav nav-tabs nav-stacked">
    <?php
    	foreach ($this->link_items as &$item) :
    ?>
    	<li>
    		<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
    			<?php echo $item->title; ?></a>
    	</li>
    <?php endforeach; ?>
    </ol>
  • /* ANFANG JOVER_MITARBEITER */
    div.jover_mitarbeiter img {
      max-height: 200px;
      width: 100%;
    }
    
    div.jover_mitarbeiter div.intro-image figure {
    	display: block;
    	position: relative;
    	overflow: hidden;
    }
    div.jover_mitarbeiter div.intro-image figcaption {
    	position: absolute;
    	background: rgba(0,0,0,0.75);
    	color: white;
    	padding: 10px 20px;
    	opacity: 0;
    	bottom: 0;
    	left: -30%;
    	-webkit-transition: all 0.6s ease;
    	-moz-transition: all 0.6s ease;
    	-o-transition: all 0.6s ease;
    }
    div.jover_mitarbeiter div.intro-image figure:hover figcaption {
    	opacity: 1;
    	left: 0;
    }
    /* ENDE JOVER_MITARBEITER */





Fehler melden

Bitte beachte unsere Datenschutzerklärung

Alle mit * markierten Felder werden benötigt um eine E-Mail zu senden.