oceanserv Posted September 1, 2009 Share Posted September 1, 2009 mau tanya, gimana caranya buat image di tengah pada editorial module.udah coba2 nambahin di php filenya juga gak bisaMohon pencerahan dari pada master prestashop Link to comment Share on other sites More sharing options...
Kowoy Posted September 1, 2009 Share Posted September 1, 2009 Weleh pake yach. Ok, kalau mau pake yang di edit jangan phpnya, tapi editorial.tplnya.berikut kode lengkap editorial.tpl yang sudah di sisipin {if $xml->body->home_logo_link}body->home_logo_link|escape:'htmlall':'UTF-8'}" title="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}">{/if} {if $homepage_logo}body->$title|escape:'htmlall':'UTF-8'|stripslashes}" />{/if} {if $xml->body->home_logo_link}{/if} {if $xml->body->$logo_subheading}{$xml->body->$logo_subheading|stripslashes}{/if} {if $xml->body->$title}{$xml->body->$title|stripslashes}{/if} {if $xml->body->$subheading}{$xml->body->$subheading|stripslashes}{/if} {if $xml->body->$paragraph}{$xml->body->$paragraph|stripslashes}{/if} Link to comment Share on other sites More sharing options...
oceanserv Posted September 1, 2009 Author Share Posted September 1, 2009 Makasih mas kowoy masukannya tadi saya coba, cuma beda sama punya mas kowoy. kira saaya salah gak masukinnya ? {if $xml->body->home_logo_link} body->home_logo_link|escape:'htmlall':'UTF-8'}" title="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}">{/if} {if $homepage_logo}body->$title|escape:'htmlall':'UTF-8'|stripslashes}" />{/if} {if $xml->body->home_logo_link}{/if} {if $xml->body->$logo_subheading}{$xml->body->$logo_subheading|stripslashes}{/if} {if $xml->body->$title}{$xml->body->$title|stripslashes}{/if} {if $xml->body->$subheading}{$xml->body->$subheading|stripslashes}{/if} {if $xml->body->$paragraph}{$xml->body->$paragraph|stripslashes}{/if} Terus mas cara yang laen selain edit di editorial.tpl dimana mas ? kalo boleh tauMohon Pencerahan Link to comment Share on other sites More sharing options...
Kowoy Posted September 1, 2009 Share Posted September 1, 2009 Cara lain? tanpa mengutak-atik script cukup dengan membuat image yang lebarnya sama dengan area yang akan di isi. Kasih aja background transparant atau putih.Tanpa cara-cara tersebut susah karena antara image dgn keterangan gambar (caption) nya memang inline, tanpa attribut css sama sekali.cara lain? nanti klo dah mentok aja dikaish tahunya Link to comment Share on other sites More sharing options...
oceanserv Posted September 2, 2009 Author Share Posted September 2, 2009 Cara lain? tanpa mengutak-atik script cukup dengan membuat image yang lebarnya sama dengan area yang akan di isi. Kasih aja background transparant atau putih.Tanpa cara-cara tersebut susah karena antara image dgn keterangan gambar (caption) nya memang inline, tanpa attribut css sama sekali.cara lain? nanti klo dah mentok aja dikaish tahunya waduh kalo jpg di resize bisa mas, masalahnya kalo animation gif diresize animationnya ilang.tapi dicoba-lagi deh gimana caranya buat ditengah2 Link to comment Share on other sites More sharing options...
oceanserv Posted September 2, 2009 Author Share Posted September 2, 2009 mas kowoy, sudah ketemu caranya thank you udah dibantu...... Link to comment Share on other sites More sharing options...
Kowoy Posted September 2, 2009 Share Posted September 2, 2009 Share aja dengan yang lain. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now