Hello,
I was wondering if you can show the header when you chose to display the content box without any box style? Something similar to the format for the testimonial plugin.
Attachment 677
Printable View
Hello,
I was wondering if you can show the header when you chose to display the content box without any box style? Something similar to the format for the testimonial plugin.
Attachment 677
Dear Kemoid,
You can disable the "Box Style" for any box.
Go to "Content Boxes manager": Admin Panel > Content Boxes
And set the "Box Style" as No for a needed box.
Attachment 678
Hello,
I already know how to disable the box style. I was wondering how to disable a box style and still keep the header title. For example If I have a "featured" box and I disable the box style the background should be removed but the "featured" title should still be visible.
Suppose it would be good to have 3 box styles
1- Box Style
2- No design
3- No design with title
The code was tested on the templates: general_simple_(red|green|blue)
(!) Before you change the files, back up the files to be modified.
Admin Panel > Database > SQL query
Use the following code:
Code:Only registered members can view the code.
Admin Panel > Languages >> Add a Phrase
Code:Only registered members can view the code.
/templates/your_template/css/common.css
Place the following code at bottom of the file.
Code:Only registered members can view the code.
/your_admin_folder/tpl/controllers/blocks.tpl [Line ~381]
You should add the code that is highlighted in bold green.
Code:Only registered members can view the code.
/your_admin_folder/controllers/blocks.inc.php [Line ~62]
Find the code below:
and replace to:PHP Code:
Only registered members can view the code.
/templates/your_template/tpl/blocks/content_block_header.tplPHP Code:
Only registered members can view the code.
Replace all content of the file to the following code:
Code:Only registered members can view the code.
/templates/your_template/tpl/blocks/side_block_header.tpl
Replace all content of the file to the following code:
Code:Only registered members can view the code.
In action
Code:Only registered members can view the code.
Hi Alex,
I'm interested with this piece of changes. Need your help to amend the following tpl. (realty_modern)
Thank you.
Bert
Original code: content_block_header.tpl
Code:Only registered members can view the code.
Hello,
Thanks for posting the codes but I am not seeing the "No, with title" option. When I run the sql query I see "0 rows affected" I am wondering if that is the reason because I already entered the language.