OXID Community Forum> CMS-Seite im Template anlegen |
Login |
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Reply |
|
|
Thread Tools | Display Modes |
|
Hallo,
ich vesuche seit längeren Stunden eine neu erstellte CMS-Seite Namens "Google Analytics" im Template sichtbar zu machen unter Informationen. Das mit den Snippes ist klar. Doch auch wenn es "deppensicher " gemacht werden müsste wie ich gelesen habe, weiß ich nicht wo ich es sichtbar machen sollte, wie in der start.tpl, wo finde ich diese, oder wo kann ich den CMS sichtbar machen mit Azur-Template oxid 4.5.9? Aller Anfang ist halt schwer. Gruß Georg |
|||
|
schau mal hier:
http://oxid-tpl-debug.stahlwarenhaus...cker.de/azure/ Da werden die Template-Namen mit ausgegeben und Du kannst sehen in welchem Template welcher Inhalt definiert wird. Das schaust Du Dir dann an und wirst dann schon feststellen, wie die Links auf die CMS-Seiten dort eingebunden sind.
__________________
Raywww.stahlwarenhaus-hebsacker.de______________._.__Tipps zur Forensuche www.haller-stahlwaren.de____________________._____Tipps zum Forum _________________________________________._____Forum für Dummies _________________________________________._____Theme-Styler |
||||
|
Ich klinke mich hier mal ein, weil ich nämlich ein sehr ähnliches Problem habe:
Ich möchte im Azure-Theme eine CMS-Seite anlegen in der Spalte "Informationen". Habe mich dabei an den Einstellungen der " oxorderinfo" orientiert --> Seitennamen vergeben, Ox-Ident "oxsizes", Ordner "Kundeninfos" ausgewählt" und Snippets aktiviert. Dann habe ich mir unter out/azure/tpl/widgets die info.tpl genommen und dort den Block Code:
[{oxifcontent ident="oxorderinfo" object="oCont"}]
<li><a href="[{ $oCont->getLink() }]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}]
Aber ausser das ich mir damit dann das Layout komplett zerschossen habe, hat das nichts geändert. Was habe ich falsch gemacht ? Gruß BB |
|||
|
Ok, hier ist der Code aus der info.tpl:
Code:
<ul class="list services">
[{oxifcontent ident="oximpressum" object="_cont"}]
<li><a href="[{ $_cont->getLink() }]">[{ $_cont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}]
[{oxifcontent ident="oxagb" object="_cont"}]
<li><a href="[{ $_cont->getLink() }]" rel="nofollow">[{ $_cont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}]
[{oxifcontent ident="oxsecurityinfo" object="oCont"}]
<li><a href="[{ $oCont->getLink() }]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}]
[{oxifcontent ident="oxdeliveryinfo" object="oCont"}]
<li><a href="[{ $oCont->getLink() }]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}]
[{oxifcontent ident="oxrightofwithdrawal" object="oCont"}]
<li><a href="[{ $oCont->getLink() }]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}]
[{oxifcontent ident="oxorderinfo" object="oCont"}]
<li><a href="[{ $oCont->getLink() }]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}]
[{oxifcontent ident="oxsizes" object="oCont"}]
<li><a href="[{ $oCont->getLink() }]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}]
[{* [{oxifcontent ident="oxcredits" object="oCont"}]
<li><a href="[{ $oCont->getLink() }]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a></li>
[{/oxifcontent}] *}]
<li><a href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=newsletter" }]" rel="nofollow">[{ oxmultilang ident="WIDGET_SERVICES_NEWSLETTER" }]</a></li>
</ul>
Gruß BB |
|||
|
Hallo, in dem Code deiner info.tpl sehe ich keinen Fehler. Hast du schonmal ausprobiert, eine einfachere CMS-Seite so einzubinden?
Lösche doch mal die Tabelle raus und setze nur ein einfaches Wort in die CMS-Seite ein.
__________________
. Viele Grüße, nickname ------------------------------------------------------------------------------------------- eComStyle.de - jetzt mit Blog im Shop! « Templates »« Design »« Module »« Support »« Shopupdates »« Shopinstallation » ------------------------------------------------------------------------------------------- . . . |
||||
|
Ich habe es jetzt hinbekommen mit der Methode von Nickname. Stück für Stück alles reinkopiert und schon ging es
![]() Keine Ahnung warum es beim ersten Anlauf nicht geklappt hat. Aber jetzt ist alles gut ! Vielen Dank ![]() Gruß BB |
|||
| Reply |
| Bookmarks |
| Tags |
| anlegen, cmsseite, template |
| Thread Tools | |
| Display Modes | |
|
Nicht Sichtbar
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Eigene CMS-Seite anlegen und anzeigen | jschma | Allgemeines | 5 | 11-29-2010 02:52 PM |
| Neue Zahlungsart anlegen, Anpassungen im Template notwendig? | masiru | Newbies | 2 | 07-29-2010 04:32 PM |
| Template für Frisch eingetroffen Seite | Sausewind | Templates und Design | 3 | 03-12-2010 04:44 PM |
| neue CMS-Seite Anlegen-für dummys | phpdummy | Templates und Design | 3 | 03-01-2010 09:39 PM |
| Template anpassen - Details und Artikelliste auf einer Seite | aeonlord | Newbies | 5 | 01-21-2010 11:14 AM |