, !
...
portlet_business
portlet_news portal_skins/custom
. . , . , , . ( , , : , , ).
:
image_thumb. . (). portal_skins/plone_content/folder_summary_view (Summary view). .
:
() ( - ) .
( ) . . .
: . , , , Plone ( ) - here/portlet_business/macros/portlet. . . (), , _ . - , . (-, -).
. , .
? 3??? ? 2 - . 3 , , .
, .
/Plone/portal_skins/custom/columns.css
#portal-column-one {
vertical-align: top;
width: "50em">;
}
#portal-column-two {
vertical-align: top;
width: "50em">;
}
50 - . - - . , -, , . . . .
:
, - ( , , - :)
, , CTRL+S . :(
- -
11 .
(). ( , )
May 5
( ""), , . -.
. 822
Modification date
. 1 2. , ,
Item
, , (, , , ...)
: ? ?
? ?
replace="nothing" - !
/Plone/portal_skins/custom/rss_template
/Plone/portal_skins/custom/RSS
RSS. rss_template
?
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
!
. , -. , ( ).
, " ", - ( ) Business . - . , .
, NEWS -
-
, NEWS , - :(
, ( , ). CTRL+S 3 .
: RSS yandex:full-text. - Page temlate, yandex-rss, RSS, rss_template. - : ?! , , ?
- . - ! :(
.
rss_template rss-fulltext_template
RSS rss-fulltext.
rss-fulltext_template . . , ( ) .
/Plone/portal_skins/plone_content/newsitem_view
, . , : ? . rss-fulltext rss_template, rss-fulltext_template.
rss-fulltext.
rss-fulltext_template
Full text for yandex.news
( , ).
.
xmlns:yandex="http://news.yandex.ru"
, . .
, text
text python:here.CookedBody(stx_level=2)
CookedBody(stx_level=2).
:
Full text for yandex.news
. !
, : , .
, , ( , ).
Full text for yandex.news
, , .
. .
. , , ,
/Plone/portal_skins/plone_content/folder_listing
.
.
, + ( , , ). :. + , !
. ? ?
25 .
100 . , !
, :
, , , .
- . , ,
http://localhost/intervyu
http://localhost/interview/penzency-opasayutsya-ogranicheniya-vesennei-ohoty/
.
, - . . , ? .
, , .
folder_summary_view. , .
, isCurrentDay() DateTime
12 .
/Plone/portal_skins/plone_templates/colophon
- , (, , , .). ( ). . (, .). .
, , .
.
!
, .
, !
.
/Plone/portal_skins/plone_templates/main_template
, . , :
The colophon area - contains details about the production of
the site. Typically "powered by" buttons, standards, tools used.
here/colophon -
macros/colophon -
/Plone/portal_skins/custom/raznocvet
Archive
...
id="portal-colophon" . , , .
/Plone/portal_skins/custom/main_template
test raznocvetniye ssilki!
.
raznocvet . , links, -. links . ! ? ? !
, links . , , .
. /Plone/portal_skins/custom/raznocvet
. , . .
title, pretty_title_or_id
url getRemoteUrl
getObjPositionInParent, . getFolderContents.py. !
!
raznocvet :
/Plone/portal_skins/plone_content/folder_listing
!!! ( , - ). (). , - , . , "raznocvet". , , 5 . ! #FF3300
, ! , , , , . !
.
portal/getPhysicalPath . join, . , !
, ! ! !
. /links
!
.
tal:define="mypath portal/portal_url/getPortalPath;
mypath python:'/'+str(mypath)+'/links';
results python:portal.portal_catalog.searchResults(
portal_type='Link',
path=mypath,
review_state='published',
sort_on='getObjPositionInParent');
results python:[r for r in results if r.getObject()]"
links - , . . (, ). , links_bottom
, !
. links links_bottom !
. . (), . . . - - . . . ( ) . .
- .
/Plone/portal_skins/plone_content/newsitem_view. (, _). !!!
.
. ( ).
. ().
css_class='newsImage'
?
python:toLocalizedTime(here.ModificationDate(),long_format=1) -
2007-10-12 15:22
.
EffectiveDate().
:
python:toLocalizedTime(here.EffectiveDate(),long_format=1)
: , - .
object_title - .
.
( ..) , , .
, . , , .
, , Templ . . , , copyrights. , .
.
, , ? , , . , .
. Templ/copyrights . .
:
opyrights!!!
. , structure ... .
, . . , !
. . , raznocvet
, raznocvet . .
, ,
lalala raznocvet
, 5 raznocvet . , , - . .
/Plone/portal_skins/custom/public.css, , , -.
#raznocvet_red {
color: #FF3300;
}
#raznocvet_blue {
color: #0066CC;
}
. . !
. . , , main
. . main_template.
, . main_themes. . .
, .
. , . , ..
/Plone/portal_skins/custom/main_themes
/Plone/portal_skins/custom/main_template :
main themes table!
!!! : - !!! - . .
30 .
CSS.
1. , .
/Plone/portal_skins/custom/public.css
. .
.newsImageContainer {
float:left;
/* float:right; */
margin: 0 1em 0.5em 0;
/* margin: 0 0 0.5em 1em;*/
width: 202px;
}
float:left; - .
margin: 0 1em 0.5em 0; - . -
.
.
newsImage
.newsImage {
border: none;
/* border: 1px solid black;*/
}
2. -
tileImage
.tileImage {
float:left;
/* float: right;*/
margin: 0 0.5em 0.5em 0;
/* margin: 0 0 0.5em 0.5em;*/
border: none;
/* border: 1px solid black;*/
}
"" tileFooter
- .
. float: right;
.tileFooter {
float: right;
}
, "" .
3. .
/Plone/portal_skins/custom/portlets.css
dl.portlet border:none;
dl.portlet {
margin: 1px 0 1em 0;
border:none;
/* border-bottom: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;;*/
background-color: &dtml-backgroundColor;;
}
.portletHeader border:none;
.portletHeader {
background-color: &dtml-globalBackgroundColor;;
border:none;
/* border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; */
padding: 0em 1em;
text-transform: &dtml-textTransform;;
font-weight: normal;
line-height: 1.6em;
}
. , , border:none;
border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;;
border-bottom: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;;
portletItem
.portletItem {
margin: 0;
padding: 1em;
/* border-left: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; */
/* border-right: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; */
}
( " ").
, - .
portletFooter
. . .
dd.portletFooter {
background-color: &dtml-evenRowBackgroundColor;;
margin: 0;
padding: 0.25em 1em;
/* border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; */
/* border-style: dotted &dtml-borderStyle; none &dtml-borderStyle;; */
text-align: right;
}
- . /Plone/portal_skins/custom/base_properties
columnOneWidth 30em
columnTwoWidth 30em
,
img style="margin-top: 2px; margin-right: 5px;"
/Plone/portal_skins/custom/main_themes !
, ! , 12 , - , !!! ! .!
, :
/Plone/portal_skins/custom/portlet_business
3 , .
" " ( ) /business ( )
News of business
python:portal.business.Title()
. , , .
/Plone/portal_skins/custom/portlet_interview
business interview.
- ! - python:DateTime(obj.Date).TimeMinutes()
! ( -> "Properties")
here/portlet_business/macros/portlet right_slots, here/portlet_news/macros/portlet .
, , here/portlet_navigation/macros/portlet, . .
/Plone/portal_skins/custom/main_themes:
class="tileHeadline" ( )
.
, :
- - , , ;
- + + .
.
/Plone/portal_skins/custom/raznocvet
.
. , !
/
, .
, - !
|
: 3622405_readme.txt