Page 1 of 1
Page structure
Posted: Fri Jul 20, 2007 5:51 am
by whitestone
Hello folks,
I`m on the very beginning with cms. Times before I wrote pages with html and css. So, thats not so new for me to understand the things that going here.
But I have some questions:
- It`s possible to see in a graphical view how the pages are connect?
- Which of the downloaded templates and css in the package are essential for the site?
- How can I easy find a sentence from the site in css or in the template?
Many thanks for helping me.
whitestone
Re: Page structure
Posted: Fri Jul 20, 2007 6:20 am
by RonnyK
Whitestone,
- if you press the "re-order pages" button within the content, you'll see a more graphical structure.
- The only template and stylesheet essential for your site are the active template, so the others aren't needed, but handy for checking their logic. The essential stylesheets are the stylesheets attached to the choosen template, you can see which stylesheets that are by clicking the CSS-button on the right of the template active in the templates. All stylesheets that aren't attached to that template, aren't active and thus not essential.
- Just press ctrl-f to do a find in a stylesheet or template.
Ronny
Re: Page structure
Posted: Fri Jul 20, 2007 9:45 am
by whitestone
Ronny, thanks for answering me.
Is there a possibility to get back deleted css etc. when I did the wrong away. That`s would be good. So I could test some templates etc.
And the other question is, how can I find for example the entry "Next Page" on my site in a template or css. I didn`t find it.
Thx
whitestone
Re: Page structure
Posted: Fri Jul 20, 2007 10:01 am
by RonnyK
Whitestone,
there is no way to get them back once deleted. I never edit the standard files. I allways start with copying the template I like to a new name and start working in that copy. The same goes for the stylesheets. When I wnat to change a stylesheet, I copy the original to a new name, unattach the original one and attach the copy and work in the copy. That way I can also see what is standard and what is changed code.
If you need to have a template or stylesheet back, you can follow the following link and copy /paste the things you need.
****
If you just need to copy/paste some default install templates/stylesheets go here...
http://www.multiintech.com/CMSMSDemo/admin/login.php
Name: adman
Password: adman
****
Your question concerning the next page and prev page is in the template, in the MAIN-area. The block is commented with "relational links".
Code: Select all
{* Start relational links *}
<div class="hr"></div>
<div class="right49">
<p>{anchor anchor='main' text='^ Top'}</p>
</div>
<div class="left49">
<p>{cms_selflink dir="previous" label="Previous page: "} <br />
{cms_selflink dir="next"}</p>
</div>
{* 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" *}
{* End relational links *}
Ronny
Re: Page structure
Posted: Fri Jul 20, 2007 11:54 am
by Deblus
Yep
I made the mistake of modifying the original too
Its another area where the wiki instructions are light on
Is it possible to copy and original template / css from another installation to the working installation?
Re: Page structure
Posted: Fri Jul 20, 2007 12:06 pm
by RonnyK
Yes that is possible,
I mentioned the link to Mark's demo environment in the previous post. If you go there you can login an copy templates and paste them in your own installation.
Ronny
Re: Page structure
Posted: Fri Jul 20, 2007 3:15 pm
by calguy1000
You can also copy the default themes from another installation using Theme Manager.
Re: Page structure
Posted: Fri Jul 20, 2007 11:55 pm
by Deblus
thanks for the clarification RonnyK and Calguy