(I've spent a couple hours trying this on my own, but to no avail.)
On my theme Connections, I need to have the date styled differently. It
should be:
day date month year,
Wed Dec 14 2005 or
D M d(or j) Y
I have no idea what to change, or how to change it. (I have a funny feeling
that template.php plays a roll in this.)
While I would have loved to come up with an answer on my own, I don't think
I can. The documentation in the handbook is poor.
The function in the api is at
http://drupaldocs.org/api/4.6/function/format_date
I'd appreciate it if someone could help me with this.
~silverwing
Sorry for the cross post - but I thought I would move this discussion to
the theme list.
Dries Buytaert wrote:
> Having to create a Drupal theme really turns me
> off.
>
> Making it easier to create a unique, good-looking theme in a matter of
> hours is a key challenge for the Drupal community.
Well - the 90-10 rule applies. I get get 90% of a theme done very
rapidly and have a pretty good looking site at the end of a short
session (i.e. matter of hours). But, its that last 10% that takes 90%
of the time. All the special cases - all the different forms -
different node types - different 'sections' of a site that require a
different look etc. All the tiny annoying little bumps that require
ironing. That's what's a pain in the ass.
But, most of this is unavoidable. This time consuming stuff isn't the
fault of the themeing engine or the templates... its the natural result
of people wanting to modify things because they don't want a 'stock'
vanilla looking elements. They want to mod almost every detail - and
that kind of modification takes time.
And also keep in mind that some of these mods that make a site look
'unique' aren't just simple theme overrides - they are hacked and
modified modules - that become completely new modules and/or new
functionality contributed back to core modules.
andre
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Hello world,
the package scripts and project module at drupal.org have been
updated to package contributed themes that are branched with the
DRUPAL-4-7 tag.
--
Dries Buytaert :: http://www.buytaert.net/
This definately is an IE bug - I am having this on my site as well. I am busy implementing Eric's proposed solution on my site. I'll give feedback as soon as I can!
Kobus
>>> occy(a)occy.net 12/6/2005 3:35:09 AM >>>
I'm sure it's an IE bug, try adding position:relative to the element.
Trae
Tao Starbow wrote:
> I had a similar problem with a CSS & nested-divs based rounded corner
> design. In the end I admitted temporary defeat and fell back to tables.
> So, I am interested in tips on this as well.
>
> -t
>
> erik hopp wrote:
>
>> Hi.
>>
>> I'm working on a project and we are running into a CSS problem where
>> in Windows / IE6, on some pages and at some spots, the text will not
>> show up when you load the page, however, if you highlight the text it
>> appears. i have seen this before and have read a little about it but
>> i was wondering if anyone has foung a solution.
>>
>> This seems promising, but i haven't gotten a chance to try it yet and
>> i am wondering if anyone has:
>> http://www.zeldman.com/daily/0103d.shtml#tweaks
>>
>> thanks for any help!
>>
>> e.
>>
>>
> _______________________________________________
> themes mailing list
> themes(a)drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
--
Trae "occy" McCombs || http://occy.net/
Founder - Themes.org // Linux.com
CivicSpaceLabs - http://civicspacelabs.org/
_______________________________________________
themes mailing list
themes(a)drupal.org
http://lists.drupal.org/mailman/listinfo/themes
Below is an email I sent to someone discussing what to do with the
future of the CivicSpace Theme. Feel free to comment and add ideas.
In addition to #drupal-themes I also have a channel for the development
and building of the CivicSpace Theme.
I feel a lot of these ideas could actually serve ultimately to make for
a base Theme all developers start building "Layouts" and "Skins" from.
...
I wanted to layout the different tasks that are ahead of us on this
CSTheme revamp.
Objective:
Rebuild the CivicSpace Theme so it is a solid base for building other
themes on top of.
Background:
So, to make sure we are on the same page, currently the way we have
things setup is this.
- current setup -
Base CivicSpace Theme - visual.css, layout.css, others...
Layout - layout.css(OVERRIDES MAIN layout.css) + Pulls main CSTheme
styling in
Skin - custom.css(OVERRIDES MAIN visual.css) + pull Layout stuff.
- proposed setup -
Base CivicSpace Theme - no visual.css or layout.css
Layout - layout.css (Setups up the way this layout is presented)
* dictate CLASS SOURCE ORDERING??? [see below]
Skin - custom.css (pulls in Layout from it's Parent Layout)
Tasks:
1. Class ordering
I think it would be important if there were some way a Themer could do
source ordering or structuring of classes in page.tpl.php I have NO idea
how this would work, but. Example:
HTML:
<div id="header"><h1>header</h1></div>
<div id="menu"><h1>menu</h1></div>
<div id="content"><h1>content</h1></div>
<div id="sub-section"><h1>sub-section</h1></div>
<div id="footer"><h1>footer</h1></div>
Let's say a themer wanted to shuffle these around so they could achieve
a different layout. It would be nice if there was some way we could
accomodate these changes. Depending on floats and what-not, people
might want these id's to show up in different places. How can we
accomodate these different positions?
You do understand we'll have layouts in the "layouts/" directory. Is
there a way we could pre-configure all the different combinations of our
CSS major classes: example:
1 - header, menu, content, sub-section, footer
2 - menu, header, content, sub-section, footer
3 -
This doesn't work either, as that could easily lead to well over 125
combo's alone. :/ There needs to be a way where people could, in
perhaps their style.css of thier Layout file put something like:
#HEADER,#MENU,#CONTENT,#SUBSECTION,#FOOTER (proper names of course,
these are just examples)
And then it orders the areas according to what is found in that file?
Does that make sense? So your Layout file has something like:
/* CIVICSPACETHEME ORDERING */
/* #CONTENT,#MENU,#HEADER,#SUBSECTION,#FOOTER */
/*
* =Republica Layout
*/
body { foo }
Does that make sense? And by default, if there wasn't any SOURCE
ORDERING stuff present, then it would use the default method.
This makes total sense to me, but then again... heh, what do I know?[tm]
This also seems like it could be the proper setup for a Wizard to allow
people to change areas. Not that we are even talking Wizard stuff now.
...
2. Default Skin Selection
Currently, to my knowledge, and the guy who was working on CivicSpace
Theme before me (Chris Messina), there is no way to "call" the skin you
want to be the default skin, in a way that Drupal will understand.
We need to get visual.css out of the base CSTheme directory, and put it
in an actual Skin. As well as any other CSS that may get called in the
default BASE setup. All of these need to be on a per-Skin basis.
...
3. custom.tpl.php
This might be a future feature, but if it's easy to add, I don't see why
we don't add it now.
The Problem
If people want to add custom php to their theme, a lot of time they hack
up the page.tpl.php file. When they do this, they break from the
default CivicSpace Theme distro and make themeselves Non-upgradeable.
If there was a call to say a custom.tpl.php file, that we did NOT ship,
but simply refered to, then they could put all of their custom php
inside this file and not have to worry about it upon upgrading.
...
4. Javascript calls [on/off]
I think we should probably have a javascript.tpl.php that ships with the
CSTheme. What we do is, we take all of the javascript crap out of
page.tpl.php, and include a toggle switch or config or something that
makes it easy for people to enable or disable the javascript stuff in
the theme. I personally completely dislike any javascript to load in my
themes. I want clean, fast and clear of junk.
...
In conclusion, I think these fixes should probably be easy to do. But
then again, I don't know how to code do I? ;) Jeremy, please hop on
#cstheme if you can from time to time so we can work on some of these
issues.
Thanks bunches.
Trae
PS. I think this would be a good email to send to CS-Dev and the Drupal
Themes mailing list. What about you guys?
--
Trae "occy" McCombs || http://occy.net/
Founder - Themes.org // Linux.com
CivicSpaceLabs - http://civicspacelabs.org/
I pasted this in the IRC channel yesterday but thought I might as well
send it to the list as well.
This is an example theme I've come up with that tries to implement as
many of the features of PHPTemplate as possible, and respect as many
of the settings as possible.
It's XHTML 1 and pure CSS.. and hopefully structured in a useful way.
I think it's a lot cleaner in structure than bluemarine and might be a
better starting point for new themers? (eg: All blocks, boxes, nodes,
comments have the same basic structure with a main title div and
content div).
Example theme: http://stasis.org/~rowan/projects/drupal-example-theme/4.6/
Discuss.. :)
-Rowan
Hi.
I'm working on a project and we are running into a CSS problem where in
Windows / IE6, on some pages and at some spots, the text will not show
up when you load the page, however, if you highlight the text it
appears. i have seen this before and have read a little about it but i
was wondering if anyone has foung a solution.
This seems promising, but i haven't gotten a chance to try it yet and i
am wondering if anyone has: http://www.zeldman.com/daily/0103d.shtml#tweaks
thanks for any help!
e.
--
erik hopp
erik|at|mediamutiny.org
home/work: 401.621.2529
cell: 401.744.0970
268 knight street
providence, ri 02909
http://mediamutiny.org | http://quilted.org
Hello world,
in just a few days, there are 61 people subscribed to this mailing
list. Looks like it is going strong. That said, I wanted to let you
know that I'm not subscribed to this mailing list. If something on
this list requires my attention, please CC me or bring it up on
development(a)drupal.org. Thanks.
--
Dries Buytaert :: http://www.buytaert.net/
I sent this earlier, but it bounced.
On 12/3/05, Khalid B wrote:
> ِA theme that is meant to be a starting point is Friends Electric.
>
> It is based on phptemplate, and is tableless. You can use the .php files
> in it as a starting point too.
>
> The hard part with Drupal is the CSS ...
>
> On 12/3/05, Rowan Kerr <rowan0(a)gmail.com> wrote:
> > I pasted this in the IRC channel yesterday but thought I might as well
> > send it to the list as well.
> >
> > This is an example theme I've come up with that tries to implement as
> > many of the features of PHPTemplate as possible, and respect as many
> > of the settings as possible.
> >
> > It's XHTML 1 and pure CSS.. and hopefully structured in a useful way.
> > I think it's a lot cleaner in structure than bluemarine and might be a
> > better starting point for new themers? (eg: All blocks, boxes, nodes,
> > comments have the same basic structure with a main title div and
> > content div).
> >
> > Example theme: http://stasis.org/~rowan/projects/drupal-example-theme/4.6/
> >
> > Discuss.. :)
>
John Mark Engle wrote:
> Maybe, though, extending off of this, perhaps more sensible default css
> should be encouraged. For modules, it should be as flexible as
> possible, and fit into most themes.
Sensible defaults sound good, until you start asking what is sensible.
Everyone has their on opinion about what is proper white spacing, what
is proper setup for thier module. In the case of eventfinder.css, it
was trying to float the contents and set it to a width of 200 so it
would look like a block or something inside the node area. The problem
was, this code didn't work on Firefox, or Internet Explorer 6. Not
exactly sure what browser this code was originally tested on.
The point is, someone thought, at one time, it might be a good idea to
make it look like it was, and maybe to them, it was sensible.
:/ Maybe if we came up with a set of Module design standards for people
to go by. You've got a good idea, it's just, how do you enforce a
subjective standard.
Trae
--
Trae "occy" McCombs || http://occy.net/
Founder - Themes.org // Linux.com
CivicSpaceLabs - http://civicspacelabs.org/