Forum Replies Created

Viewing 6 Topics - 1 through 6 (of 6 total)
Author Posts
October 9, 2015 at 10:06 am in reply to: Add plugin into vendor dashborad's left menu 74366
jeongsik min jeongsik min

Hello,
How can I link this new button to my new function opend?
I already did belows.
1.Made new button adding codes in function dokan_get_dashboard_nav() in template-tags.php file.

    '3D' => array(
            'title' => __( '3D', 'dokan'),
            'icon'  => '<i class="fa fa upload"></i>',
            'url'   => dokan_get_navigation_url( '#' ),
            'pos'   => 90

I think if I edit “‘url’ =>dokan_get_navigation_url( ‘#’ )” variable, I can link those two. But, don’t know how can handle this one.
2.Wrote this code add_action( 'dokan_render_settings_content', 'my new function name', 10 ); in my new function php file.

October 8, 2015 at 1:39 pm in reply to: Add plugin into vendor dashborad&#039;s left menu 74306
jeongsik min jeongsik min

Thanks, Nayem.
It can help me.

October 8, 2015 at 1:04 pm in reply to: Add plugin into vendor dashborad&#039;s left menu 74303
jeongsik min jeongsik min

but, please tell me which php file should I edit(and line number).
Just like as how did you add the coupon pages, orders page in vendor dashboard menu.
After that, I’ll resolve it my self.

jeongsik min jeongsik min

It works. But, This plugin also needs the admin’s setting section which upload 3d files in the admin’s dashboard menu.(using the created button only can make 3d canvas and set canvas size).
I must the add the function which on admin’s dashboard menu to vendor’s add product section.

My resolving thinking is,
1.make button on click to open that function in vendor’s add product section.
(When developer adds plugin into dashboard menu, he must use this ‘add_menu_page()’. In here, I can find out which function is called when click this menu bar. ‘can3DPro_layout’ is the function name. belows are the plugin’s php file.)

add_menu_page('Canvasio3DPro Options', 'Canvasio3DPro','upload_files','Canvasio3DPro_Edit', 'can3DPro_layout');//'edit_others_posts' // 'upload_files' // read
		if($c=='toplevel_page_Canvasio3DPro_Edit'){
			caActivBackend();
		}
	}
	//
	function can3DPro_layout() {
		$modus = array('modus'=>'backEnd');
		initCaHandler($modus);
	}

I can make button in ‘new-product-single.php’. please let me know how to link it to the function.

jeongsik min jeongsik min

1.I think I must edit ‘post_excerpt’ variable to add a new plugin, right?
Where can I find out the php file and section of defining ‘id=post_excerpt’ ?

2.Can I edit this ‘id=post_excerpt’ by using TinyMCE plugin?

September 9, 2015 at 7:17 am in reply to: why I can not add slider in font page? 71057
jeongsik min jeongsik min

I solved problem. I didn’t click the update button. Mistake.

Viewing 6 Topics - 1 through 6 (of 6 total)