• Resolved microliphant

    (@microliphant)


    hello

    i try to customize the style of the admin email in cforms II
    i modify in lib_activate.php this lines :

    $cformsSettings[‘global’][‘cforms_style’][‘fs’] = ‘style=”color:#555; padding:1em 0 0.4em; font-size: 90%; font-weight:bold; text-shadow:0 1px 0 #fff;”‘;
    $cformsSettings[‘global’][‘cforms_style’][‘key_td’] = ‘style=”padding: 0.3em 1em; border-bottom:1px dotted #eee; padding-right:2em; color:#888; width:20%;”‘;
    $cformsSettings[‘global’][‘cforms_style’][‘val_td’] = ‘style=”padding: 0.3em 1em; border-bottom:1px dotted #eee; padding-left:0; color:#333;”‘;

    but nothing is effective !
    and the admin email is alsways send with another style.

    do you have any idea, to customize the admin email ? (without doing it for each forms via admin wordpress)

    thanks for your response and help

    https://wordpress.org/plugins/cforms2/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author bgermann

    (@bgermann)

    You have to manipulate the corresponding data in the database.

    Thread Starter microliphant

    (@microliphant)

    thank you very much for your answer but i don’t understand

    you mean i must not change this in lib_activate.php ?
    where have i to change this data ?
    in wich table ?
    directly in the database or via admin ?

    thanks for your help

    Plugin Author bgermann

    (@bgermann)

    You do not have to change it in lib_activate. You have to change it directly in MySQL. The table is called wp_options and the data is in the dataset with option_name=’cforms_settings’. Remember to also change the PHP serialization data.

    Thread Starter microliphant

    (@microliphant)

    thank you very much for your answer
    i have tried to change directy in the database, but when i change something (even just one color or size) then the plug in is broken and don’t work any more.

    maybe it is linked with PHP serialization data ??
    what is PHP serialization data ??

    thanks you !

    f

    Plugin Author bgermann

    (@bgermann)

    Thread Starter microliphant

    (@microliphant)

    ok thank you very much for your answer
    do you have any tools for modify this option directly in wordpress ?
    because when i change it directly in mysql or with phymyadmin it seems not too work

    thank you and happy new year !!

    Thread Starter microliphant

    (@microliphant)

    also is it possible to define a style for sending email (i mean the confirmation email) maybe with a css file ?
    is it possible to do it for all the forms ?

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘how to customize email admin cforms II’ is closed to new replies.