Custom Template
-
- Posts: 24
- Joined: Tue 16. Sep 2008, 03:26
Custom Template
How do I place a CP in a particular placeholder (table) all on the one page like this
http://live.ripcurl.com/index.php?home
table1 shows content
table 2 show news
table 3 show latest phots
Also I use HSS menu and it doesnt show home? Just the sub structure of home is this normal behaviour?
My website www.vmwaredesign.com/cms
etc
etc
http://live.ripcurl.com/index.php?home
table1 shows content
table 2 show news
table 3 show latest phots
Also I use HSS menu and it doesnt show home? Just the sub structure of home is this normal behaviour?
My website www.vmwaredesign.com/cms
etc
etc
Re: Custom Template
Have a look to phpwcms-docu.de -> SHOW_CONTENT
Navigation: - NAV_LIST_UL -basics -> {NAV_LIST_UL:HCSSP,.......}
An alternative DropDpwn navigation you will find here: - {NAV_HORIZ_DD:ID,Level-depth}
(Where this Home is a second home behind the root (home).
1. Rename home to e.g. root.
2. Insert a new categorie called home
3. Redirect in the root article to index.php?home.
Thats it.)
Knut
Navigation: - NAV_LIST_UL -basics -> {NAV_LIST_UL:HCSSP,.......}
An alternative DropDpwn navigation you will find here: - {NAV_HORIZ_DD:ID,Level-depth}
(Where this Home is a second home behind the root (home).
1. Rename home to e.g. root.
2. Insert a new categorie called home
3. Redirect in the root article to index.php?home.
Thats it.)
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 24
- Joined: Tue 16. Sep 2008, 03:26
Re: Custom Template
worked perfectly thanks
www.vmwaredesign.com/cms
www.vmwaredesign.com/cms
-
- Posts: 24
- Joined: Tue 16. Sep 2008, 03:26
Re: Custom Template
Probably a real dumb question but where do i change the background settings for my template.
I want to add css
background-image: url(http://www.example.com/gradient.gif);
background-repeat: repeat-x;
I want to add css
background-image: url(http://www.example.com/gradient.gif);
background-repeat: repeat-x;
Re: Custom Template
Mhhh, I cant find any layout *.css file in your site. Why you don´t contain e.g. frontend.css and other *.css files (from /template/inc_css/*) in your layout?
One of this css files are the right place for the call og a background image.
But I see you have solved your problem. (background-image: url(http://www.vmwaredesign.com/cms/bg.gif);)
It isn´t a good idea to place the pictures into the root level.
A better place for your layout images e.g.: /pictures/layout/*.gif (*.jpg) (*.png)
background-image: url(http://www.vmwaredesign.com/cms/pictures/layout/bg.gif
Knut
One of this css files are the right place for the call og a background image.
But I see you have solved your problem. (background-image: url(http://www.vmwaredesign.com/cms/bg.gif);)
It isn´t a good idea to place the pictures into the root level.
A better place for your layout images e.g.: /pictures/layout/*.gif (*.jpg) (*.png)
background-image: url(http://www.vmwaredesign.com/cms/pictures/layout/bg.gif
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 24
- Joined: Tue 16. Sep 2008, 03:26
Re: Custom Template
Ok so my next question would be how do i apply a template to an article?
I have created a 3 column table as my template for news but how do I apply a template to an article?
I can apply a template to a topic in site structure but what if I want a different layout for an article within the news?
I have created a 3 column table as my template for news but how do I apply a template to an article?
I can apply a template to a topic in site structure but what if I want a different layout for an article within the news?
Re: Custom Template
There is no simple way to apply a full template to an article. (I hanvent´t heard this ever before).
For article list and- detail we have the inner template (in {CONTENT}) at
/template/inc_cntpart/articlesummary/article/*
/template/inc_cntpart/articlesummary/list/*
For all other you need an very special script in /frontend_init/ I think. (But I am not sure).
Why you make a 1 to 1 copy of another site? Have you informed the owner of the first site?
Knut
For article list and- detail we have the inner template (in {CONTENT}) at
/template/inc_cntpart/articlesummary/article/*
/template/inc_cntpart/articlesummary/list/*
For all other you need an very special script in /frontend_init/ I think. (But I am not sure).
Why you make a 1 to 1 copy of another site? Have you informed the owner of the first site?
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 24
- Joined: Tue 16. Sep 2008, 03:26
Re: Custom Template
Thanks flip ,
This is purely development I am using ripcurl as a tempalte for my site design
which does not require me to inform them as all images and contect will be my own and the fact that they
use openphpwcms does not provide htem with intellectual propery rights over the HCSS stlyes and all other aspects
Thanks for the help thus far youve been very helpful .
This is purely development I am using ripcurl as a tempalte for my site design
which does not require me to inform them as all images and contect will be my own and the fact that they
use openphpwcms does not provide htem with intellectual propery rights over the HCSS stlyes and all other aspects

Thanks for the help thus far youve been very helpful .
-
- Posts: 24
- Joined: Tue 16. Sep 2008, 03:26
Re: Custom Template
How do I make the HCSS NAV go to the center?
Ive tried the editing matching .css file but it uses floatation and I want to break out of using flotation
regards
Ive tried the editing matching .css file but it uses floatation and I want to break out of using flotation
regards
Re: Custom Template
Put a wrapper around the Navigation.
E.g.: <div class="center-me">{NAVIGATION.......</div>
.center-me {
margin-left:auto;
margin-right:auto;
}
E.g.: <div class="center-me">{NAVIGATION.......</div>
.center-me {
margin-left:auto;
margin-right:auto;
}
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
-
- Posts: 24
- Joined: Tue 16. Sep 2008, 03:26
Re: Custom Template
Thanks il try that later. Is it possible to move the phpwcms to another domain can you just transfer the whole directory?
and set the permissions on the new site? The new domain has access to the same database
and set the permissions on the new site? The new domain has access to the same database
Re: Custom Template
No problem, the system is fully relocatable.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )