* Seitenbaum: Jugendreisen und Reisemagazin mit einbeziehen; Ursprüngliche Sortierung berücksichtigen
* Neue Datenbank-Spalten für automatisch generierte Seitenübersichtsboxen und Datenbank
* Unterstützung statisch festgelegter URLs (page.real_url_path) - wird aus SEO-technischen Gründen benötigt, um vorerst die alten URLs zu behalten
* Redirect-Tabelle: Hier können alte URLs mit page-Einträge verknüpft werden. Bei Aufruf so einer URL wird auf die URL der verknüpften page umgeleitet
SQL:
UPDATE page SET template = 'overview' WHERE slug IN ('iran-reisen', 'marokko-urlaub');
UPDATE page SET `order` = 0 WHERE slug = 'aegypten-reisen';
UPDATE page SET `order` = 1 WHERE slug = 'israel-reisen';
UPDATE page SET `order` = 2 WHERE slug = 'jordanien-reisen';
UPDATE page SET `order` = 3 WHERE slug = 'iran-reisen';
UPDATE page SET `order` = 4 WHERE slug = 'marokko-urlaub';
UPDATE page SET `order` = 5 WHERE slug = 'oman-reisen';
UPDATE page SET `order` = 6 WHERE slug = 'tuerkei-urlaub';
UPDATE page SET template = 'overview' WHERE
(slug IN ('jugendreisen', 'reisemagazin') AND lvl = 0) OR
(catalog_id IN (6, 14) AND owner = 0);
-- Request URL /create-tree in browser to re-create the page tree
ALTER TABLE page ADD COLUMN real_url_path VARCHAR(200) DEFAULT NULL;
CREATE UNIQUE INDEX UNIQ_140AB620E2652A2A ON page (real_url_path);
UPDATE page p INNER JOIN catalog c ON c.id = p.catalog_id SET p.real_url_path = CONCAT('/', c.slug, '/', p.slug, '.html');
ALTER TABLE page ADD COLUMN box_body TEXT DEFAULT NULL;
ALTER TABLE page ADD COLUMN box_image_url VARCHAR(200) DEFAULT NULL;
ALTER TABLE page ADD COLUMN box_star VARCHAR(255) DEFAULT NULL;
ALTER TABLE page ADD COLUMN box_discount VARCHAR(255) DEFAULT NULL;
ALTER TABLE page ADD COLUMN content_new TEXT DEFAULT NULL AFTER content;
ALTER TABLE page DROP COLUMN preview_image_url;
CREATE TABLE redirect (id INT AUTO_INCREMENT NOT NULL, page_id INT DEFAULT NULL, source_url_path VARCHAR(200) NOT NULL, UNIQUE INDEX UNIQ_C30C9E2B56207465 (source_url_path), INDEX IDX_C30C9E2BC4663E4 (page_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
ALTER TABLE redirect ADD CONSTRAINT FK_C30C9E2BC4663E4 FOREIGN KEY (page_id) REFERENCES page (id);
ALTER TABLE redirect MODIFY COLUMN page_id INT NOT NULL;
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3293 f459cee4-fb09-11de-96c3-f9c5f16c3c76
118 lines
4.9 KiB
Twig
118 lines
4.9 KiB
Twig
<!DOCTYPE html>
|
|
<!--[if lt IE 7 ]><html class="ie ie6" lang="de"> <![endif]-->
|
|
<!--[if IE 7 ]><html class="ie ie7" lang="de"> <![endif]-->
|
|
<!--[if IE 8 ]><html class="ie ie8" lang="de"> <![endif]-->
|
|
<!--[if (gte IE 9)|!(IE)]><!--><html lang="de"><!--<![endif]-->
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
|
|
<title>STERNTOURS</title>
|
|
|
|
<!-- Favicons -->
|
|
<link rel="shortcut icon" href="/bundles/app/images/favicon.ico" type="image/x-icon" />
|
|
<link rel="apple-touch-icon" href="/bundles/app/images/apple-icon.png" />
|
|
<link rel="apple-touch-icon" sizes="72x72" href="/bundles/app/images/apple-icon-72x72.png" />
|
|
<link rel="apple-touch-icon" sizes="114x114" href="/bundles/app/images/apple-icon-114x114.png" />
|
|
|
|
{% block stylesheets %}
|
|
{% stylesheets
|
|
'bundles/app/css/bootstrap-3.3.7.css'
|
|
'bundles/app/css/custom.css'
|
|
filter='cssrewrite'
|
|
%}
|
|
<link rel="stylesheet" href="{{ asset_url }}"/>
|
|
{% endstylesheets %}
|
|
{% endblock stylesheets %}
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
<!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
<![endif]-->
|
|
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
|
|
{{ render(controller('AppBundle:Default:header')) }}
|
|
|
|
{% block header2 %}
|
|
<section class="section fullscreen background parallax" style="background-image:url('/bundles/app/images/travel/header-top-image3.jpg');" data-img-width="1920" data-img-height="820" data-diff="480">
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12 col-xs-12">
|
|
<div class="home-message text-center small">
|
|
<div class="home-info-box">
|
|
<div id="eKomiSeal_default" class="eKomi-header">
|
|
<a id="eKomiSeal_BBBA4ECJTK29MA5_eKomiSeal_default" href="https://www.ekomi.de/bewertungen-stern-tours.html" title="eKomi - The Feedback Company: "><img border="0" src="https://connect.ekomi.de/seal/BBBA4ECJTK29MA5-70x70.png" alt="eKomi - The Feedback Company: "></a>
|
|
</div>
|
|
<ul class="c4">
|
|
<li>Spezialist für Kulturreisen </li>
|
|
<li>Reiseexperte seit 1998</li>
|
|
<li>Beratung für individuelle Reisen</li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- end homemessage -->
|
|
</div><!-- end col -->
|
|
</div><!-- end row -->
|
|
</div><!-- end container -->
|
|
</section><!-- end section -->
|
|
{% endblock %}
|
|
|
|
{# #TODO additional section classes if not home #}
|
|
<section class="section clearfix">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div id="fullwidth" class="col-sm-12">
|
|
|
|
{% block breadcrumb %}
|
|
{% if page is defined %}
|
|
{{ render(controller('AppBundle:Default:breadcrumb', {'page': page})) }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
<!-- START CONTENT -->
|
|
<div class="row">
|
|
|
|
{% include 'default/components/sidebar.html.twig' with {
|
|
nav_sidebar_widget_block: block('nav_sidebar_widget')
|
|
} %}
|
|
|
|
<div id="content" class="col-md-9 col-sm-8 col-xs-12">
|
|
{% block body %}{% endblock %}
|
|
</div><!-- end col -->
|
|
|
|
</div><!-- end row -->
|
|
<!-- END CONTENT -->
|
|
|
|
</div><!-- end fullwidth -->
|
|
</div><!-- end row -->
|
|
</div><!-- end container -->
|
|
</section><!-- end section -->
|
|
|
|
{% include 'default/components/footer.html.twig' %}
|
|
|
|
</div><!-- end wrapper -->
|
|
|
|
{% block javascripts %}
|
|
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
|
|
{% javascripts
|
|
'@AppBundle/Resources/public/js/jquery-3.1.1.js'
|
|
'@AppBundle/Resources/public/js/jquery-ui-1.12.1.js'
|
|
'@AppBundle/Resources/public/js/bootstrap-3.3.7.js'
|
|
'@AppBundle/Resources/public/js/jquery.prettyPhoto-3.1.6.js'
|
|
'@AppBundle/Resources/public/js/parallax.js'
|
|
'@AppBundle/Resources/public/js/owl.carousel-2.2.0.js'
|
|
'@AppBundle/Resources/public/js/bootstrap-select-1.12.0.js'
|
|
'@AppBundle/Resources/public/js/custom.js'
|
|
%}
|
|
<script src="{{ asset_url }}"></script>
|
|
{% endjavascripts %}
|
|
{% endblock javascripts %}
|
|
|
|
</body>
|
|
</html>
|