Two layout questions

Permalink Browser Info Environment
Hi all,

I try to layout my wordpress-plugin.

With that help:http://www.concrete5.org/marketplace/addons/wordpress-for-concrete5...

I made some steps....

But I wonder two things:

a) How can I layout the different classes, e.g.:

<h2 class="wordpress-entry-title"><a href="%URL%">%TITLE%</a></h2>

Where can I find the css for the class "class="wordpress-entry-title" ???

b) Where can I change (by hardcoding) the format of the month (that I don`t get "February" but "Februar")?

I would like to hardcode it, because the changes in site.php, like
"setlocale(LC_TIME, 'de_DE');
define('LOCALE', 'de_DE');
define('DATE_APP_GENERIC_MDY', 'd.m.Y');
define('DATE_APP_GENERIC_MDYT_FULL', 'd.m.Y H:i:s');
define('DATE_APP_GENERIC_MDYT', 'd.m.Y H:i:s');
define('DATE_APP_DATE_PICKER', 'dd.mm.yy');
define('DATE_FORM_HELPER_FORMAT_HOUR', '24'); "

had no success.....

Thank you very much, Kai

Type: Discussion
Status: New
KaiTrallafitti
View Replies:
KaiTrallafitti replied on at Permalink Reply
KaiTrallafitti
all right, the date-question I solved now:


in the files:

wordpress_for_concrete5\blocks\wordpress_archives\view.php month-names

and

wordpress_for_concrete5\wordpress_for_concrete5\blocks\wordpress_entries\base\ajax.php


you can declare the names of the month.

Furthermore in concrete you can use the datehelper-function,
for example in the wortdpress-templates_default.php

you set:


$dateHelper = Loader::helper('date');

and after that e.g.:
<h5 class="wordpress-entry-info">Rubrik: %CATEGORIES% %DATE%.'.$dateHelper->date('F').' %FULL_YEAR%</h5>

As described here:
http://www.concrete5.org/documentation/how-tos/developers/internati...
KaiTrallafitti replied on at Permalink Reply
KaiTrallafitti
And also for the css-layout-question I found an answer,
the layout is of course declared by the current template one uses, I put there in the style.css the declaration e.g.

.wordpress-entry-title {
font-family: 'lucida grande','Lucida Sans Unicode', tahoma, sans-serif;
font-size: 1.1em;
text-decoration:none;
}

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.