OXID Community Forum

> German forum > Allgemeines > CMS-Seite im Template anlegen
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: CMS-Seite im Template anlegen


Reply
 
Thread Tools Display Modes
#Top   #1  
Old 04-06-2012, 05:50 PM
georg19 georg19 is offline
Junior Member
Join Date: Apr 2012
Posts: 22
georg19 is on a distinguished road
Default CMS-Seite im Template anlegen

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
Reply With Quote
#Top   #2  
Old 04-06-2012, 06:18 PM
Hebsacker's Avatar
Hebsacker Hebsacker is offline
Moderator
Join Date: Feb 2009
Location: Freie Republik Hohenlohe
Posts: 10,459
Hebsacker is on a distinguished road
Default AW: CMS-Seite im Template anlegen

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.
__________________
Ray
www.stahlwarenhaus-hebsacker.de______________._.__Tipps zur Forensuche
www.haller-stahlwaren.de____________________._____Tipps zum Forum
_________________________________________._____Forum für Dummies

_________________________________________._____Theme-Styler
Reply With Quote
#Top   #3  
Old 04-07-2012, 08:56 AM
georg19 georg19 is offline
Junior Member
Join Date: Apr 2012
Posts: 22
georg19 is on a distinguished road
Default Re: AW: CMS-Seite im Template anlegen

Hallo Ray,

danke für Deinen Tipp, jetzt war alles ganz leicht. Super!

Gruß Georg
Reply With Quote
#Top   #4  
Old 06-20-2012, 12:34 PM
Bob Byte Bob Byte is offline
Senior Member
Join Date: Dec 2011
Posts: 201
Bob Byte is on a distinguished road
Default AW: CMS-Seite im Template anlegen

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}]
kopiert, statt dem oxorderinfo --> oxsizes eingetragen.

Aber ausser das ich mir damit dann das Layout komplett zerschossen habe, hat das nichts geändert.

Was habe ich falsch gemacht ?

Gruß BB
Reply With Quote
#Top   #5  
Old 06-20-2012, 01:49 PM
vanilla thunder's Avatar
vanilla thunder vanilla thunder is online now
Senior Member
Join Date: Nov 2010
Posts: 2,915
vanilla thunder is on a distinguished road
Default AW: CMS-Seite im Template anlegen

nun, etwas zwischen "etwas" und "alles".
zeig doch mal den Code nachdem du etwas verändert hast.
und der Fehler könnte auch in deiner neuen CMS Seite versteckt sein
Reply With Quote
#Top   #6  
Old 06-20-2012, 01:57 PM
Bob Byte Bob Byte is offline
Senior Member
Join Date: Dec 2011
Posts: 201
Bob Byte is on a distinguished road
Default AW: CMS-Seite im Template anlegen

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>
Ich habe noch einen screenshot von der neuen Seite angehängt.

Gruß BB
Attached Images
File Type: jpg cms.jpg (66.4 KB, 16 views)
Reply With Quote
#Top   #7  
Old 07-03-2012, 08:26 AM
Bob Byte Bob Byte is offline
Senior Member
Join Date: Dec 2011
Posts: 201
Bob Byte is on a distinguished road
Default AW: CMS-Seite im Template anlegen

Hat keiner einen Tipp für mich wo ich da ansetzen könnte ?

Gruß BB
Reply With Quote
#Top   #8  
Old 07-03-2012, 08:57 AM
nickname's Avatar
nickname nickname is online now
Senior Member
Join Date: Dec 2011
Posts: 1,298
nickname is on a distinguished road
Default AW: CMS-Seite im Template anlegen

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 »
-------------------------------------------------------------------------------------------

.
.
.
Reply With Quote
#Top   #9  
Old 07-03-2012, 04:52 PM
schuchi's Avatar
schuchi schuchi is offline
Senior Member
Join Date: Jun 2011
Posts: 118
schuchi is on a distinguished road
Default Re: CMS-Seite im Template anlegen

Hallo,

schau mal in deiner Datenbank in die Tabelle "oxcontents", ob der Ident für die CMS Seite tatsächlich "oxsizes" ist.
Ich habe das auch schon mal gehabt, dass wenn man den Ident ändert oder die CMS Seite am Anfagn einmal gespeichert hat ohne einen ident zu vergeben, der Shop der CMS Seite einen Ident gibt. Dieser ließ sich dann aus dem Backend heraus auch nicht mehr ändern.


Grüße,
Thore
__________________

RC Modellbau OnlineShop
RC Cars, Ersatzteile und Tuning
Reply With Quote
#Top   #10  
Old 07-04-2012, 05:13 PM
Bob Byte Bob Byte is offline
Senior Member
Join Date: Dec 2011
Posts: 201
Bob Byte is on a distinguished road
Default AW: CMS-Seite im Template anlegen

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 With Quote
Reply

Bookmarks

Tags
anlegen, cmsseite, template

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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

All times are GMT +2. The time now is 10:44 PM.