Pages I cnnot edit + Delete actions button + Edit module

Hi guys,

I'm trying to kill 3 birds in one post and I hope we wont get too confused about it.

I need to solve 3 things:

1. There are some pages I cannot find in 'page builder' and I don't know how to edit them. i.e. the 'Ads' page. The Ads page I get in page builder is not the actual one displayed on my site. And I have the same thing with 'My Blogs' page which I want to edit but I cannot find it in page builder. How can that be?

2.  How can I edit the modules blocks? i.e when I want to add a group there are these blocks we need to fill but I want to cancel 'group videos' or 'group sounds' etc. How can I delete these options?

3. How do I remove buttons from 'Actions'?

I'm sure you guys have the answers for these things and I hope you can tell me how to solve them because I'm counting on you to give me something to do during the weekend.

Enjoy The Weekend ! :)

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 5 Feb 2011

Hi there

1) Not all the pages you have on your Dolphin site are listed in the page builder. Especially when they are specific pages of specific modules. You should change the code manually in these cases.

2)Not sure about it, but I think you can't delete those blocks by the admin panel. You should change the code manually in these cases too.

3)I am sure about it. You can't delete actions buttons from your admin panel. You should make changes on the code. If you want I can have a look to the code and tll you how to remove these buttons. But to be honest, it's not a good thing to modify the core of your Dolphin site. Maybe you can just check the class of those buttons, and put a display:none on your css file.

Web Development, Multimedia Design and Social Media.
Quote · 5 Feb 2011

No wonder I couldn't find them on 'page builder'. How can it be that there are no answers for these issues in unity.

Am I the first person who wants to edit his ads page?

I'll try to check the code and see if I can find it. I'm no expert but we'll see.

I appreciate your help man. Thanks!

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 5 Feb 2011

Check out the picture I have attached guys. I thought it can help.

Thanks.

Unity question.jpg · 57.9K · 135 views
Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 5 Feb 2011

Hi there again.

As for the Group's Videos and Sounds I think there are no options availabe in the admin panel.

You should delete them in the code.

As for the categories settings, please go here:

http://yoursiteURL/administration/categories.php

You will find all the categories there, you can delete all those that you do not need.

go here to add new:

http://yoursiteURL/administration/categories.php?action=settings

Let me know if you need further assistance

Web Development, Multimedia Design and Social Media.
Quote · 5 Feb 2011

 

Hi there again.

As for the Group's Videos and Sounds I think there are no options availabe in the admin panel.

You should delete them in the code.

As for the categories settings, please go here:

http://yoursiteURL/administration/categories.php

You will find all the categories there, you can delete all those that you do not need.

go here to add new:

http://yoursiteURL/administration/categories.php?action=settings

Let me know if you need further assistance

Thanks YobiLab!

I just deleted the categories I didn't want and its done!

So easy man. I'v been trying to look for it in the code for 1 hour and when I saw what you wrote it took me 2 minutes.

Do you know how to 'null' or take out of effect the videos, sounds, files etc in the group blocks?

I found it in the cpanel but how do I disable them?

Thanks again. I appreciate your help.

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 5 Feb 2011

Please open up the file:

modules/boonex/groups/classes/BxGroupsFormAdd.php

FIND:

'header_videos' => array(
'type' => 'block_header',
'caption' => _t('_bx_groups_form_header_videos'),
'collapsable' => true,
'collapsed' => false,
),
'videos_choice' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['videos']['choice'],
'name' => 'videos_choice[]',
'caption' => _t('_bx_groups_form_caption_videos_choice'),
'info' => _t('_bx_groups_form_info_videos_choice'),
'required' => false,
),
'videos_upload' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['videos']['upload'],
'name' => 'videos_upload[]',
'caption' => _t('_bx_groups_form_caption_videos_upload'),
'info' => _t('_bx_groups_form_info_videos_upload'),
'required' => false,
),

// sounds

'header_sounds' => array(
'type' => 'block_header',
'caption' => _t('_bx_groups_form_header_sounds'),
'collapsable' => true,
'collapsed' => false,
),
'sounds_choice' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['sounds']['choice'],
'name' => 'sounds_choice[]',
'caption' => _t('_bx_groups_form_caption_sounds_choice'),
'info' => _t('_bx_groups_form_info_sounds_choice'),
'required' => false,
),
'sounds_upload' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['sounds']['upload'],
'name' => 'sounds_upload[]',
'caption' => _t('_bx_groups_form_caption_sounds_upload'),
'info' => _t('_bx_groups_form_info_sounds_upload'),
'required' => false,
),

// files

'header_files' => array(
'type' => 'block_header',
'caption' => _t('_bx_groups_form_header_files'),
'collapsable' => true,
'collapsed' => false,
),
'files_choice' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['files']['choice'],
'name' => 'files_choice[]',
'caption' => _t('_bx_groups_form_caption_files_choice'),
'info' => _t('_bx_groups_form_info_files_choice'),
'required' => false,
),
'files_upload' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['files']['upload'],
'name' => 'files_upload[]',
'caption' => _t('_bx_groups_form_caption_files_upload'),
'info' => _t('_bx_groups_form_info_files_upload'),
'required' => false,
),

 

REPLACE WITH:

/*
'header_videos' => array(
'type' => 'block_header',
'caption' => _t('_bx_groups_form_header_videos'),
'collapsable' => true,
'collapsed' => false,
),
'videos_choice' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['videos']['choice'],
'name' => 'videos_choice[]',
'caption' => _t('_bx_groups_form_caption_videos_choice'),
'info' => _t('_bx_groups_form_info_videos_choice'),
'required' => false,
),
'videos_upload' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['videos']['upload'],
'name' => 'videos_upload[]',
'caption' => _t('_bx_groups_form_caption_videos_upload'),
'info' => _t('_bx_groups_form_info_videos_upload'),
'required' => false,
),

// sounds

'header_sounds' => array(
'type' => 'block_header',
'caption' => _t('_bx_groups_form_header_sounds'),
'collapsable' => true,
'collapsed' => false,
),
'sounds_choice' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['sounds']['choice'],
'name' => 'sounds_choice[]',
'caption' => _t('_bx_groups_form_caption_sounds_choice'),
'info' => _t('_bx_groups_form_info_sounds_choice'),
'required' => false,
),
'sounds_upload' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['sounds']['upload'],
'name' => 'sounds_upload[]',
'caption' => _t('_bx_groups_form_caption_sounds_upload'),
'info' => _t('_bx_groups_form_info_sounds_upload'),
'required' => false,
),

// files

'header_files' => array(
'type' => 'block_header',
'caption' => _t('_bx_groups_form_header_files'),
'collapsable' => true,
'collapsed' => false,
),
'files_choice' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['files']['choice'],
'name' => 'files_choice[]',
'caption' => _t('_bx_groups_form_caption_files_choice'),
'info' => _t('_bx_groups_form_info_files_choice'),
'required' => false,
),
'files_upload' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['files']['upload'],
'name' => 'files_upload[]',
'caption' => _t('_bx_groups_form_caption_files_upload'),
'info' => _t('_bx_groups_form_info_files_upload'),
'required' => false,
),
*/

 

THIS WILL NULL VIDEOS, SOUNDS AND FILES

Do you need to null images too?

If yes FIND:


// images

'header_images' => array(
'type' => 'block_header',
'caption' => _t('_bx_groups_form_header_images'),
'collapsable' => true,
'collapsed' => false,
),
'thumb' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['images']['thumb_choice'],
'name' => 'thumb',
'caption' => _t('_bx_groups_form_caption_thumb_choice'),
'info' => _t('_bx_groups_form_info_thumb_choice'),
'required' => false,
'db' => array (
'pass' => 'Int',
),
),               
'images_choice' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['images']['choice'],
'name' => 'images_choice[]',
'caption' => _t('_bx_groups_form_caption_images_choice'),
'info' => _t('_bx_groups_form_info_images_choice'),
'required' => false,
),
'images_upload' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['images']['upload'],
'name' => 'images_upload[]',
'caption' => _t('_bx_groups_form_caption_images_upload'),
'info' => _t('_bx_groups_form_info_images_upload'),
'required' => false,
),

REPLACE WITH:

/*
// images

'header_images' => array(
'type' => 'block_header',
'caption' => _t('_bx_groups_form_header_images'),
'collapsable' => true,
'collapsed' => false,
),
'thumb' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['images']['thumb_choice'],
'name' => 'thumb',
'caption' => _t('_bx_groups_form_caption_thumb_choice'),
'info' => _t('_bx_groups_form_info_thumb_choice'),
'required' => false,
'db' => array (
'pass' => 'Int',
),
),               
'images_choice' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['images']['choice'],
'name' => 'images_choice[]',
'caption' => _t('_bx_groups_form_caption_images_choice'),
'info' => _t('_bx_groups_form_info_images_choice'),
'required' => false,
),
'images_upload' => array(
'type' => 'custom',
'content' => $aCustomMediaTemplates['images']['upload'],
'name' => 'images_upload[]',
'caption' => _t('_bx_groups_form_caption_images_upload'),
'info' => _t('_bx_groups_form_info_images_upload'),
'required' => false,
),
*/

I HAVE JUST COMMMENTED THE CODE OUT, YOU CAN REMOVE ANY OTHER FUNCTION BY COMMENTING THE CODE.

YOU CAN USE /* AT THE BEGIN OF THE FUNCTION AND */ AT THE END OF THE FUNCTION.

Please iof you liked my help, would be great if you can add a good review on my profile =D, but this is not necessary, I'll be just pleased if you will add one.

Let me know if you need further assistance.

Web Development, Multimedia Design and Social Media.
Quote · 5 Feb 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.