Page structure

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
whitestone

Page structure

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Page structure

Post 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
whitestone

Re: Page structure

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Page structure

Post 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
User avatar
Deblus
Forum Members
Forum Members
Posts: 105
Joined: Fri Jun 22, 2007 8:52 am

Re: Page structure

Post 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?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Page structure

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Page structure

Post by calguy1000 »

You can also copy the default themes from another installation using Theme Manager.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Deblus
Forum Members
Forum Members
Posts: 105
Joined: Fri Jun 22, 2007 8:52 am

Re: Page structure

Post by Deblus »

thanks for the clarification RonnyK and Calguy 
Locked

Return to “CMSMS Core”