ماژول جدید برای خبرخوان منتشر کردم ولی هیچ قالبی نداره
توی قسمت پسوند کلاس ماژول هر چی وارد میکنم اتفاقی نمیوفته
مخوام از قالب منوی اصلی استفاده کنم چی وارد کنم؟
یه پسوند هم ساختم و توی css گذاشتم افاقه نکرد
حال چه باید کرد؟

ماژول جدید برای خبرخوان منتشر کردم ولی هیچ قالبی نداره
توی قسمت پسوند کلاس ماژول هر چی وارد میکنم اتفاقی نمیوفته
مخوام از قالب منوی اصلی استفاده کنم چی وارد کنم؟
یه پسوند هم ساختم و توی css گذاشتم افاقه نکرد
حال چه باید کرد؟
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
من درست متوجه نشدم
یعنی ماژول جدید ساختید بدون استایل شده ؟
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
بله ماژول خبر خوان رو در قسمت چپ و زیر منوی اصلی منتشر کردم ولب کادر نداره!!!!میخوام کادرش مثل منوی اصلی بشه ولی مثل این که مشکلی هست
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
ماژول هایی که جدید ساخته میشن اینطوری هستن
آدرس سایت رو بدید و یا فایل CSS قالب رو بزارید تا براتون درست کنم تا بقیه هم استفاده کنن
یاعلی
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
اینم css
کد:body { font-family : Tahoma, Verdana, sans-serif; line-height : 1.3em; margin : 0; padding : 0; font-size : 12px; color : #666; text-align : center; text-decoration : none; direction : rtl; background-image : url(../images/bg.png); background-position : right top; } .clr { clear : both; } body.contentpane { text-align : right; background-image : url(../images/bg.png); background-position : right top; } body.contentpane .contentpaneopen { width : 99%; } body.contentpane .contentpaneopen .contentheading { } .moduletable { margin : 0 auto; } select.button { width : auto; padding : 0; } td { font-family : Tahoma, Verdana, sans-serif; color : #666; font-size : 11px; } ul { margin : 0; padding : 0; list-style : none; } li{ line-height : 20px; padding-right : 12px; padding-top : 0px; } a:link, a:visited { text-decoration : none; font-weight : normal; color : #FF6600; } a:hover { text-decoration : none; font-weight : normal; color : #FF0000; } p { margin-top : 0; line-height : 17px; margin-bottom : 5px; text-align : justify; } #all { margin : 0 auto; padding : 0px 0 0 0; background-image : url(../images/grt.png); background-repeat : repeat-x; background-position : right top; text-decoration : none; } .center { width : 898px; padding : 0; margin : 0 auto; text-align : center; border-right-width : 1px; border-left-width : 1px; border-right-style : solid; border-left-style : solid; border-right-color : #FFCC00; border-left-color : #FFCC00; border-bottom-width : 1px; border-bottom-style : solid; border-bottom-color : #FFCC00; } div#wrapper { width : 898px; padding : 8px 0; margin : 0 auto; text-align : center; background-color : #FFF5D2; } #area { padding : 0; margin : 0 auto; text-align : center; } #top { width : 900px; margin : 0 auto; } #search { width : 190px; height : 24px; text-align : right; float : right; background-image : url(../images/Search.png); background-repeat : no-repeat; background-position : left top; } #search form { margin : 0; padding : 0; } #search .moduletable { margin : 0; padding : 0; } #search .search { width : 126px; height : 24px; padding : 6px 20px 0 0; } #search .search .button { display : none; } #search .search .inputbox { font-size : 11px; font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif; font-weight : bold; background : none; border : 0; padding : 0; margin : 0; } #middle { background : url(../images/mid.png) top center no-repeat; width : 900px; height : 7px; margin : 0 auto; font-size : 0; } #middle2 { background : url(../images/mid2.png) bottom center no-repeat; width : 898px; height : 7px; margin : 0 auto; font-size : 0; text-align : center; } #header { width : 898px !important; width : 900px; margin : 0 auto; height : 200px; background-image : url(../images/img.jpg); background-repeat : no-repeat; background-position : center top; border-right-width : 1px; border-left-width : 1px; border-right-style : solid; border-left-style : solid; border-right-color : #FFCC00; border-left-color : #FFCC00; } .maintable { margin : 0 auto; width : 900px; text-align : right; } #sitename { padding : 40px 40px 0 0; text-align : right; margin : 0 auto; width : 860px; } #sitename p { font-weight : normal; font-family : Tahoma, Verdana, sans-serif; font-size : 28px; padding : 0; margin : 0; letter-spacing : 1px; color : #5a8c94; text-decoration : none; outline : none; line-height : 36px; } #menucenter { width : 710px; text-align : center; height : 24px; float : right; padding : 0; margin-top : 0; margin-right : auto; margin-bottom : 0; margin-left : auto; } #menucenter .menu_m { float : right; width : 710px; padding : 0; } #topnavi{ } #topnavi ul { margin : 0; padding : 0; list-style : none; } #topnavi ul li { float : right; padding : 0; height : 24px; background : url(../images/li.png) top left no-repeat; margin-top : 0; margin-right : 0; margin-bottom : 0; margin-left : 2px; } #topnavi ul li a{ font-family : Tahoma, Verdana, sans-serif; font-size : 11px; float : left; display : block; line-height : 24px; color : #8f8f8f; text-decoration : none; background-image : url(../images/lr.png); background-repeat : no-repeat; background-position : right top; padding-top : 0; padding-right : 10px; padding-bottom : 0; padding-left : 10px; } #topnavi ul li a:hover,#topnavi ul li a.current{ color : #5f5f5f; cursor : pointer; } #topnavi ul li a span{ } #topnavi ul li a:hover span,#topnavi ul li a.current span { } #leftmenu { width : 180px; float : right; text-align : right; } #rightmenu { width : 180px; float : left; text-align : right; } #main { float : right; width : 508px; margin : 0; text-align : justify; padding-top : 0; padding-right : 8px; padding-bottom : 0; padding-left : 0; } #main_full { float : right; width : 690px; margin : 0; text-align : right; padding-top : 0; padding-right : 8px; padding-bottom : 0; padding-left : 0; } #content { width : 880px; margin : 0 auto; text-align : center; } #content_bottom { background : url(../images/content_bottom.png) bottom center no-repeat; height : 1px; width : 900px; margin : 0 auto; font-size : 0; } #footer { margin : 0 auto; width : 900px; height : 10px; text-align : center; vertical-align : top; padding : 10px 0 10px 0; } a.mainlevel:link, a.mainlevel:visited { line-height : 18px; padding : 0 10px 0 0; text-decoration : none; color : #666; font-weight : normal; font-size : 11px; margin : 0; background-image : url(../images/row.png); background-repeat : no-repeat; background-position : right center; } a#active_menu.mainlevel:link, a#active_menu.mainlevel:visited { color : #333; } a#active_menu.sublevel:link, a#active_menu.sublevel:visited { color : #333; } a.mainlevel:hover { color : #333; } a.sublevel:link, a.sublevel:visited { text-decoration : none; color : #666; margin : 0; font-size : 11px; font-weight : normal; display : block; line-height : 20px; padding : 0 20px 0 0; border : none; background-image : url(../images/Srow.png); background-repeat : no-repeat; background-position : right center; } a.sublevel:hover { color : #333; } table.contentpaneopen { width : 99%; margin : 0 0 0 5px; border-spacing : 0; padding : 0; border-collapse : collapse; } table.contentpaneopen td.contentheading { padding : 0; line-height : 17px; font-family : Tahoma, Verdana, sans-serif; font-size : 14px; vertical-align : middle; color : #0099cc; text-align : right; font-weight : normal; } .button { border : 1px solid #CCC; color : #666; font-size : 10px; background : #f9f9f9; } .button { font-family : Tahoma, Arial, Verdana, Helvetica, sans-serif; font-weight : bold; font-size : 11px; margin : 3px; padding : 1px; cursor : pointer; } .inputbox { border : 1px solid #ccc; color : #666; padding : 2px; background : #f4f4f4; } input[type="checkbox"] { border-style : none; } .copyright { color : #555; font-family : Tahoma, Verdana, sans-serif; font-size : 10px; padding : 0; margin : 0 23px; text-align : center; } .back_button { float : right; text-align : center; font-size : 11px; font-weight : normal; width : auto; padding : 0px 10px; line-height : 20px; margin : 10px 0 50px 0; } .componentheading { color : #555; padding : 0 0 10px 0; text-align : right; text-transform : uppercase; font-family : Tahoma, Verdana, sans-serif; font-size : 12px; font-weight : normal; } .wrapper { width : 670px; height : 550px; } .module div div div h3 { color : #666; font-family : Tahoma, Verdana, sans-serif; font-size : 12px; text-align : right; text-decoration : none; background : #fff url(../images/Smenu.png) top right no-repeat; font-weight : normal; line-height : 26px; padding : 0 10px; margin : 0 auto; } .mainlevel { text-align : right; } .mainlevel { text-align : right; } a.mainlevel { display : block; text-align : right; } a.mainlevel:link, a.mainlevel:visited { display : block; color : #777777; } a.mainlevel:hover { color : #FF9933; } #active_menu { } a#active_menu:hover { } .readon { text-decoration : none; } a.readon:link, a.readon:visited { text-decoration : none; } a.readon:hover { text-decoration : none; } .module { padding : 0; margin : 0; line-height : 20px; } .module div { padding : 0; margin : 0 0 14px 0; } .module div div { padding : 0; margin : 0; width : 100%; background : #FFFFEC; } .module div div div { padding : 0; margin : 0; border : 1px solid #FFCC00; } .module div div div div { border : none; padding : 0; margin : 0; } .module div div div table { margin : 0; padding : 2px 6px; list-style : none; background : #FFFFEC; } .module div div div div { padding : 0 0 1px 0; background : #FFFFEC; } .module div div div div.syndicate { margin : 0; padding : 0 0 10px 0; } .module div div div form { padding : 0; margin : 0; } .module div div div form table { padding : 0 10px 0 10px; width : 100%; } /* footer links*/ a.sgfooter:link, a.sgfooter:visited { color : #a93268; font-size : 11px; font-weight : bold; font-family : Georgia, Arial, Tahoma, Verdana, sans-serif; text-decoration : none; } a.sgfooter:hover { color : #fa9326; font-weight : bold; font-family : Georgia, Arial, Tahoma, Verdana, sans-serif; text-decoration : none; } /**/ /*banner*/ .sgf { font-size : 10px; font-family : Tahoma, Verdana, sans-serif; color : #555; text-decoration : none; } .sgf1 { font-size : 10px; font-family : Tahoma, Verdana, sans-serif; color : #555; text-align : right; } a.sglink:link, a.sglink:visited { color : #FFF; font-size : 10px; font-family : Tahoma, Verdana, sans-serif; text-decoration : none; } a.sglink:hover { text-decoration : none; } a img { border : 0; } .pathway { border : 0; color : #333333; font-family : Tahoma, Verdana, sans-serif; font-weight : normal; padding : 2px 10px 2px 4px; } a.pathway:link, a.pathway:visited { color : #333333; font-size : 11px; line-height : 18px; font-family : Tahoma, Verdana, sans-serif; font-weight : normal; padding : 2px 4px 2px 4px; } a.pathway:hover { color : #fefefe; font-family : Tahoma, Verdana, sans-serif; font-weight : normal; background-color : #2a519e; } .pagenav { font-size : 12px; font-weight : normal; } #topnavigation a.topnavigation:link, a.topnavigation:visited { font-family : Tahoma, Verdana, sans-serif; font-size : 10px; font-weight : normal; letter-spacing : 1px; color : #fefefe; padding-left : 5px; text-decoration : none; } #topnavigation a.topnavigation:hover { color : #b9f15d; border-bottom : none; text-decoration : none; } #topnavigation a.topnavigation:active { color : #51c0f5; text-decoration : none; } a.toclink:link, a.toclink:visited { line-height : normal; font-size : 11px; font-family : Tahoma, Verdana, sans-serif; color : #000000; text-decoration : underline; } a.toclink:hover { text-decoration : none; } table.contenttoc { padding : 2px; margin-right : 2px; margin-bottom : 2px; } table.contenttoc th { color : #333; text-align : right; padding-top : 2px; padding-right : 4px; height : 21px; font-weight : normal; font-size : 11px; text-transform : uppercase; } .sectiontableheader { height : 20px; padding-left : 3px; font-weight : normal; } table.contentpane td.contentdescription { font-size : 12px; line-height : 18px; } table.contentpane td.componentheading { height : 20px; padding : 0 0 3px 0; color : #555; text-align : right; padding-bottom : 3px; white-space : nowrap; font-family : Tahoma, Verdana, sans-serif; font-size : 14px; font-weight : normal; } table.contentpane td { padding-top : 1px; padding-bottom : 2px; font-size : 12px; } table.contentpaneopen td { line-height : 14px; font-size : 12px; } .height { height : 100%; } *.poll { padding-right : 5px; } .small { font-size : 10px; color : #999; font-weight : normal; text-align : right; } .date { direction : rtl !important; float : right !important; text-align : right !important; } .small { text-align : right; float : right; } .createdate { height : 20px; vertical-align : top; font-size : 10px; color : #999; font-weight : normal; vertical-align : top; padding-top : 0px; float : right; text-align : right; direction : rtl !important; direction : ltr; } .modifydate { height : 20px; vertical-align : bottom; font-size : 10px; color : #999; font-weight : normal; text-align : left; float : right; text-align : right; direction : ltr; direction : rtl !important; } table.contentpaneopen td a.readon { display : block; float : left; line-height : 14px; font-size : 10px; text-decoration : none; padding : 1px 2px 1px 2px; color : #666; } table.contentpaneopen td a.readon:hover { color : #333; text-decoration : none; } h4 { font-size : 10px; text-transform : uppercase; } table.contentpaneopen td.buttonheading { }
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
از کد ها رو به فایل اضافه کن و ذخیره کنکد:table.moduletable { margin : 0 auto; } table.moduletable th { color : #666; font-family : Tahoma, Verdana, sans-serif; font-size : 12px; text-align : right; text-decoration : none; background : #fff url(../images/Smenu.png) top right no-repeat; font-weight : normal; line-height : 26px; padding : 0 10px; margin : 0 auto; } table.moduletable td{ margin : 0; padding : 2px 6px; list-style : none; line-height : 20px; width : 100%; border : 1px solid #FFCC00; }
100% نمی تونه درست باشه چون من اصلا قالب رو ندیدم اما میتونه تا حدی شاید قیافه سایر ماژول ها رو بگیره که اگر این طور بشه باید قالب رو دید و روش کار کرد
پیروز باشید
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
این قالب همون قالب mahdi  هست که کار یکی از دوستامون تو همین تالار هست که توی مامبو دیگ هم منتشر شده.......
ضمنا فرمایشتون رو توی Css گنجاندم ولی بعد از رفرش کردن قالب منفجر شد Shocked
** دو پست شما یکی شد
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
پس اینطوری نمیشه کمک کرد باید قالب رو داشته باشیم
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
تاپیک مربوط به این قالب
[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
یا علی
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
[quote author=dj_ahmad link=topic=18896.msg100534#msg100534 date=1233250068]
توی قسمت پسوند کلاس ماژول هر چی وارد میکنم اتفاقی نمیوفته
مخوام از قالب منوی اصلی استفاده کنم چی وارد کنم؟
یه پسوند هم ساختم و توی css گذاشتم افاقه نکرد
حال چه باید کرد؟
[/quote]
من هم دقيقا همين مشكل رو دارم. توي تالار هم گشتم ظاهرا در بحث زير هم نتيجه اي حاصل نشده:
با راهنمايي داده شده در تاپيك زير هم يك كلاس جديد ساختم ولي باز هم نتيجه اي نداد:کد:http://www.mambolearn.com/forum/index.php/topic,11193.msg91703.html#msg91703
نمي دونم اشكال از قالبه يا ...؟کد:http://www.mambolearn.com/forum/index.php/topic,12135.msg65209.html#msg65209
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
علاقه مندی ها (Bookmarks)