Suche: Templates in der .tar.gz

Für Fragen und Diskussionen zum Layout und Design, Templates und Stylesheets sowie Themes
Post Reply
dylan

Suche: Templates in der .tar.gz

Post by dylan »

Wo finde ich nach dem auspacken der cmsmadesimple-1.8.2-full.tar.gz die / das Template/s.

In welchem Ordner sind die Templates fürs Frontend zu finden?
nockenfell
Power Poster
Power Poster
Posts: 751
Joined: Fri Sep 12, 2008 2:34 pm
Location: Schweiz / Switzerland

Re: Suche: Templates in der .tar.gz

Post by nockenfell »

Gute Frage. Ich schätze mal die sind nirgends zu finden. Ich denke die sind lediglich in einem SQL Statment drin, welches beim erzeugen der Beispieldaten genutzt wird.
[this message is written with 100% recycled bits]
dylan

Re: Suche: Templates in der .tar.gz

Post by dylan »

@nockenfell

Das ist aber dumm, die habe ich nämlich gar nicht. Ich bastle meine Templates immer offline, lege sie im Backend dann an, stelle das CSS plus Verlinkung in einen Ordner, und fertig.

Ich hätte gern einmal in den Aufbau der "2-column mit linker Navi" geschaut. Kann vielleicht jemand das 1.8.2er original Template posten?

Danke
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Suche: Templates in der .tar.gz

Post by RonnyK »

Die werden mitinstalliert im Datenbank wenn man wahrend die installation die hacken setzt fur "default content". Also nicht in ein ordner, sondern im datenbank.


Ronny
nockenfell
Power Poster
Power Poster
Posts: 751
Joined: Fri Sep 12, 2008 2:34 pm
Location: Schweiz / Switzerland

Re: Suche: Templates in der .tar.gz

Post by nockenfell »

Das einfachste wäre schon, wenn du die Beispieldaten bei der Installation mitinstallieren würdest.

Das "Left Simple Navigation" Template sieht so aus:

Code: Select all

{process_pagedata}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
{* Change lang="en" to the language of your site *}

{* note: anything inside these are smarty comments, they will not show up in the page source *}

  <head>
    <title>{sitename} - {title}</title>
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}

 {metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}

 {stylesheet}
{* This is how all the stylesheets attached to this template are linked to it *}

 {cms_selflink dir="start" rellink=1}
 {cms_selflink dir="prev" rellink=1}
 {cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optimization *}

{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
 {literal}
<__script__ type="text/JavaScript">
<!--
//pass min and max - measured against window width
function P7_MinMaxW(a,b){
var nw="auto",w=document.documentElement.clientWidth;
if(w>=b){nw=b+"px";}if(w<=a){nw=a+"px";}return nw;
}
//-->
</__script>
    <!--[if lte IE 6]>
    <style type="text/css">
    #pagewrapper {width:expression(P7_MinMaxW(720,1200));}
    #container {height: 1%;}
    </style>
    <![endif]-->
    {/literal}
{* The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Left sidebar + 1 column" *}

  </head>
  </__body>
    <div id="pagewrapper">

{* start accessibility skip links, anything with the class of accessibility is hidden with CSS from visual browsers *}
      <ul class="accessibility">
        <li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
        <li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
      </ul>
{* end accessibility skip links *}

      <hr class="accessibility" />
{* anything with class="accessibility is hidden for visual browsers by CSS *}

{* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet  "Layout: Left sidebar + 1 column" *}
      <div id="header">

{* this holds the name of the site on the right side *}
        <h2 class="headright">{sitename}</h2>

{* this holds a link back to home page and the header left image/logo, text is hidden using CSS *}
        <h1>{cms_selflink dir="start" text="$sitename"}</h1> 
       
        <hr class="accessibility" />
      </div>
{* End Header *}

{* Start Search, the input "Submit" is using an image, CSS: input.search-button *}
      <div id="search">
      {search}
      </div>
{* End Search *}

{* Start Breadcrumbs *}
      <div class="crbk">
{* holds the right image, we need 2 divs to be able to make this site fluid, if it was fixed width we could use one div, one image  *}

        <div class="breadcrumbs">
        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
          <hr class="accessibility" />
        </div>
      </div>
{* End Breadcrumbs *}

{* Start Content (Navigation and Content columns) *}
      <div id="content">

{* Start Sidebar, 2 divs one for top image one for bottom image *}
        <div id="sidebar">
          <div id="sidebara">

{* Start Navigation, stylesheet  "Navigation: Simple - Vertical" *}
            <div id="menu_vert">
              <h2 class="accessibility">Navigation</h2>
              {menu template='simple_navigation.tpl' collapse='1'}
            </div>
{* End Navigation *}

{* Start News, style sheet "Module: News" *}
            <div id="news">
              <h2>News</h2>
              {news number='3' detailpage='news'}
            </div>
{* End News *}

          </div>
        </div>
{* End Sidebar *}

{* Start Content Area *}
{* again 2 divs to hold top and bottom images, back is set to go to the right side then the main is set to come off the right side *}
        <div class="back">        
          <div id="main">
            <div style="float: right;">{print showbutton=true script=true}</div>
            <h2>{title}</h2>
            {content}
            <br />
{* this break is just to make sure we get space after the content *}

{* Start relational links *}
{* note this is the right side, when you float: divs you need to have float: right; divs first *}
            <div class="right49">
              <p>{anchor anchor='main' text='^ Top'}</p>
            </div>

            <div class="left49">
              <p> {cms_selflink dir="previous" label="Previous page: "}
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}

              <br />
              {cms_selflink dir="next"}
              </p>
            </div>
{* End relational links *}

            <hr class="accessibility" />
          </div>
        </div>
{* End Content Area *}

        <div class="clear"></div>
{* this is to make sure the 2 divs stay tight *}

      </div>
{* End Content *}

{* Start Footer. Edit the footer in the Global Content Block called "footer" *}
      <div class="footback">
        <div id="footer">
{* stylesheet  "Navigation: FatFootMenu" *}
          <div id="fooleft">
          {menu}
          </div>
          <div id="footrt">
          {global_content name='footer'}
          </div>
          <div class="clear"></div>
        </div>
      </div>
{* End Footer *}

    </div>
{* end pagewrapper *}
  <__body>
</__html>
[this message is written with 100% recycled bits]
cyberman

Re: Suche: Templates in der .tar.gz

Post by cyberman »

nockenfell wrote: Ich denke die sind lediglich in einem SQL Statment drin, welches beim erzeugen der Beispieldaten genutzt wird.
Richtig - im install-Ordner ;)
cyberman

Re: Suche: Templates in der .tar.gz

Post by cyberman »

dylan wrote: Ich bastle meine Templates immer offline,
Ähmm, offline ::) ... XAMPP, USBWebServer & Co sind ja nun wirklich kein Hexenwerk, und der Theme-Manager hilft dir beim Ex-/Import der Themes.
nockenfell
Power Poster
Power Poster
Posts: 751
Joined: Fri Sep 12, 2008 2:34 pm
Location: Schweiz / Switzerland

Re: Suche: Templates in der .tar.gz

Post by nockenfell »

Ich entwickle trotz xampp Umgebung meine Templates auch offline und bereite sie danach für CMSms auf. Mir gehts so einfacher. Zudem kann so ein Template unabhängig der Umgebung gezeigt werden.
[this message is written with 100% recycled bits]
dylan

Re: Suche: Templates in der .tar.gz

Post by dylan »

cyberman wrote:Ähmm, offline  ::)  ... XAMPP, USBWebServer & Co sind ja nun wirklich kein Hexenwerk, und der Theme-Manager hilft dir beim Ex-/Import der Themes.
MAMP Pro ist mein Webserver, und das ist sicher kein Hexenwerk. Hatte ich auch nicht behauptet, unabhängig davon, gebe ich Dir natürlich Recht.
nockenfell wrote:Ich entwickle trotz xampp Umgebung meine Templates auch offline und bereite sie danach für CMSms auf. Mir gehts so einfacher. Zudem kann so ein Template unabhängig der Umgebung gezeigt werden.
Ich mache es ähnlich, vielleicht noch ein bißchen simpler, ohne Server. Standard HTML / CSS / images bis das Layout vom Kunden abgesegnet ist. Danach füge ich die Tags ein, lege übers CMSms Backend ein neues Template an, kopiere den Quelltext aus meinem Coda-Editor hinein, noch der upload von images und CSS,.. und fertig.

Mir gefällt die Arbeit so, und ich kann jederzeit auf einem USB-Stick ohne Server ein Layout präsentieren.
nockenfell
Power Poster
Power Poster
Posts: 751
Joined: Fri Sep 12, 2008 2:34 pm
Location: Schweiz / Switzerland

Re: Suche: Templates in der .tar.gz

Post by nockenfell »

dylan wrote: Ich mache es ähnlich, vielleicht noch ein bißchen simpler, ohne Server. Standard HTML / CSS / images bis das Layout vom Kunden abgesegnet ist. Danach füge ich die Tags ein, lege übers CMSms Backend ein neues Template an, kopiere den Quelltext aus meinem Coda-Editor hinein, noch der upload von images und CSS,.. und fertig.

Mir gefällt die Arbeit so, und ich kann jederzeit auf einem USB-Stick ohne Server ein Layout präsentieren.
Das ist genau meine Arbeitsweise.
[this message is written with 100% recycled bits]
Post Reply

Return to “Layout und Design”