So the thing I really liked about the Postcard module is that it was very easy to theme it. I'm having a Hell of a time trying to theme the ecard. The postcard module has issues that ecard module doesn't so I can't revert back to Postcard. Plus its "discontinued".
Anyway I've managed to apply style to the ecard_form. This styles the "message" area only. I'd like to style the whole node which I beleive is a "content" class.
Also, like the postcard module, it would be nice to have the "To:" and "From:" fields in the output area.
Thanks in advance.
$form = array();
if ($_SESSION['message']!=NULL) {
$form['view_message'] = array(
'#title' => t('Message'),
'#collapsible' => TRUE,
'#collapsed' => FALSE
);
Comments
Comment #1
kars-t commentedHi,
sadly I don't know the postcard module and can't figure what you mean with '"To:" and "From:" fields'. Maybe you could make a screenshot or point me to a site?
Thanks for the imput!
Comment #2
fuquam commentedThanks for the response.
OK screen shots attached. The first is of the Postcard module's form. Very easy to theme. The second is the actual e-card node. I had to blur out the name and email. It includes the data from the To: and From: fields. I was easily able to the theme the look and placement of the field items. The Postcard module had other issues in functionality and I'd rather use the ecard module if it can be themed.
Thanks.
Comment #3
kars-t commentedAh Okay thanks.
The look from the first image should be possible through CSS.
The second right now could be hacked but not that easily.
I think I should add some variables to the now themable output so you can achieve a look like this. And yes its stupid that you right now can't access this data at all. ;)
Comment #4
fuquam commentedHey I didn't say that. The ecard module is awesome. I just need to theme it like the postcard module. The postcard module used simple php lines like
$output = . '';so the entire node was themable through output commands and css. Just a thought. The message area right now in ecard is pretty themable but the I just need the theme to encompass the node itself. I'll probably still just use the module with the image upload from gallery pics. Otherwise the send to friend module does a decent job sending nodes.Thanks for the reply. Hopefully it makes sense.
Comment #5
kars-t commentedThanks a lot! I am happy about any input. :D
Comment #6
kars-t commentedAs this is about D5 I mark this as won't fix
Comment #7
fuquam commentedFair enough. Will you be adding theming functionality to D6?