Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)
  • Thread Starter LucasTolle

    (@lucastolle)

    Tobias, look what I found on the internet:

    https://stackoverflow.com/questions/50250678/update-page-content-in-wordpress-to-display-tablepress-with-wptouch-pro

    This is close to my “question number 3” ?? He created a file template page.

    Now, I need to learn how to create a shortcode of this little code and, instead of weeks, create something that calls the day. So, if it’s week 19, creating the hook for the day, we’re on day 167 (ID of the beginning of the table row), so here: Instead of calling the table, I call a filter from the same table. Understood?

    Look at the table example on another site:
    https://www.calendario-365.com.br/numeros-dos-dias/2018.html

    I’m not a programmer. But for this item, I need to program myself, otherwise my project will not stay complete.

    I’m going to try this all week. Any help will always be appreciated ??

    Thread Starter LucasTolle

    (@lucastolle)

    No problem, Tobias!

    I’ll try something here ??

    Look, you spoke in your answer about “not comparing table data to another table”, actually my question would be on the same table. Did I already use this filter you mentioned? If you can talk more about this extension, maybe you’ll find a way. This filter mentioned by you also compares numbers?

    One more thing: how can I find a complete document on TablePress utilities and hooks? There are always a few things to ask and if they are available I will bother you less. ??

    Today, for example, I wanted to be able to get a data that is in the table footer (sum of numbers) using the “filter line”. Before, it was without footer, and the data always increased, and to get it by the name of column “B37” I received another number. So I decided to activate the footer on the last line. But I do not know how to get the die.

    Anyway, I remain grateful for your commitment and dedication.

    I wish you a great weekend. Ah, It’s world cup! I’m rooting for my Brazil! ??

    • This reply was modified 6 years, 8 months ago by LucasTolle.
    Thread Starter LucasTolle

    (@lucastolle)

    Ual, Tobias! How I’m happy about that.

    I have three other questions, but I’ll do it in another post.

    Thanks for the quick support and dedication to your plugin during all these years. I am extremely grateful ??

    • This reply was modified 6 years, 8 months ago by LucasTolle.
    Thread Starter LucasTolle

    (@lucastolle)

    Hi Shra, again.

    Thanks for your attention one more time.

    One of the above requests, I found on the page of your plugin. I should have looked closely.

    However, I’ve tried exhaustively examples that you’ve left in addition to fetching several examples on the web but failed to work for me. Did I forget something? Do I need to put something in functions.php?

    Look what I have only:

    <?php get_post_meta($post->ID, '_ref_1', true); ?>
    <?php $meta = get_post_meta($post->ID, "_ref_1", true); ?>

    Neither works for me.

    Any ideas will be appreciated. ??

    Thread Starter LucasTolle

    (@lucastolle)

    Hi Shra Thanks for the reply. I figured you were good enough to do the job in plugin References.

    I’m looking forward to the news.

    Ah, I’m improving the CSS User Interface of your plugin, making it modern and functional. I’ll see if I can create strings, files and folders for translation. Anything I tell you.

    Thread Starter LucasTolle

    (@lucastolle)

    I do not delete the plugin. I just upgraded to v1.3.1 and it worked perfectly.

    Congratulations on the great update.

    Thread Starter LucasTolle

    (@lucastolle)

    No need to apologize. You have been considerate of your project and I am very much astonished.

    Each update demonstrates your commitment and I continue to support your plugin and your project.

    I will make the exclusion and will be attentive for any change and problem to report to you.

    Hugs.

    Thread Starter LucasTolle

    (@lucastolle)

    Glad to be helpful.
    ?
    Perhaps create a plugin with an exclusive version for developers, simple and useful tools, it might be a good idea.

    Oh, and if there is time left, visit the site gravatar.com and put there a picture or just yours. So here in the community will bring more credibility to your plugin.

    I know you’re good at it. I’ll be waiting for the news.

    Thread Starter LucasTolle

    (@lucastolle)

    Thanks for listening to requests.

    As to item 5 …
    I think there is no need to create a new plugin, if what I mentioned already does it with excellence. And Is simple. However, it is an item that should be at the core, since every new plugin installed, including the “portfolios, clients”, wordpress only accept the slug if you do a reset on the slug. (And I think it is simple and has to do with database settings).

    Like your plugin is a “utility tool” on everything that is related to things “database”, I believe it would be interesting to include – as included reset (item developer).

    I am happy to accept the request to leave it on “Tools”, and also to know that he will not be seen openly in the menu. It is important that it is always hidden. I know that almost every plugin author (unlike you) sometimes want their plugins are visible all the time. When there is not always necessary. Example: We create posts every day, pages often, etc.) and these items are to be seen all the time. Already plugins that you schedule cleaning and let him do the job alone no need to leave visible, but within tools.

    I created a file “.pot” with the plugin “loco”, and translate into Portuguese. However, as you are creating new functions, I will wait for you to update the plugin and then you pass me an email and I will send you the language files.

    Anyway, I congratulate you for the simplicity of your plugin, and I wish success to the next updates.

    Hug.

    Thread Starter LucasTolle

    (@lucastolle)

    I am happy with the speed and importance that took my questions.
    I wait for future updates!

    However, my debug is enabled and displayed the following error:

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method SoccerInfo_Admin::add_editor_button() should not be called statically in /home/hostname/public_html/theme-name/wp-includes/plugin.php on line 525

    Thread Starter LucasTolle

    (@lucastolle)

    Hello, Capuderg

    I apologize for using your space to address a my plugin. I needed help and did not find another way to do this, since he had sought help everywhere. And unwittingly ended up causing annoyance to you.

    But I want you to know that your help was invaluable. I worked for days making the necessary customizations, but thanks to you I managed to complete the plugin, since only need these hooks.

    My plugin setting whole area of ??the customize page builder by SiteOrigin, as well as settings pages. The last hook you sent me, saying that error would actually everything worked out as I booked the CSS file also in my plugin. That’s what I needed.

    Aware that the next update on the administration page of my plugin, we recommended plugins, and its Tabs plugin will be there, recommended to download. In other words, the idea is that if you need to use the Page Builder SiteOrigin successfully, you must also have your tab plugin installed and enabled.

    Anyway, I am grateful for your help. And once again I’m sorry to use your wrongly space. I promise I will not do this anymore. ??

    I want to know if there is a very grateful person, that person is me.

    Hugs,

    Lucas Tolle

    Thread Starter LucasTolle

    (@lucastolle)

    Capuderg,

    I registered all new files. They are all in place.

    However, my doubts mentioned above and the following:

    in siteorigin-widget.class.php file are:

    function enqueue_scripts(){
    
    		if( !wp_script_is('siteorigin-widget-admin') ) {
    			wp_enqueue_style( 'wp-color-picker' );
    			wp_enqueue_style( 'siteorigin-widget-admin', plugin_dir_url(SOW_BUNDLE_BASE_FILE).'base/css/admin.css', array( 'media-views' ), SOW_BUNDLE_VERSION );
    
    			wp_enqueue_script( 'wp-color-picker' );
    			wp_enqueue_media();
    			wp_enqueue_script( 'siteorigin-widget-admin', plugin_dir_url(SOW_BUNDLE_BASE_FILE).'base/js/admin' . SOW_BUNDLE_JS_SUFFIX . '.js', array( 'jquery', 'jquery-ui-sortable', 'jquery-ui-slider' ), SOW_BUNDLE_VERSION, true );
    
    			wp_localize_script( 'siteorigin-widget-admin', 'soWidgets', array(
    				'ajaxurl' => wp_nonce_url( admin_url('admin-ajax.php'), 'widgets_action', '_widgets_nonce' ),
    				'sure' => __('Are you sure?', 'so-widgets-bundle')
    			) );
    
    			global $wp_customize;
    			if ( isset( $wp_customize ) ) {
    				$this->footer_admin_templates();
    			}
    			else {
    				add_action( 'admin_footer', array( $this, 'footer_admin_templates' ) );
    			}
    		}
    
    		if( $this->using_posts_selector() ) {
    			siteorigin_widget_post_selector_enqueue_admin_scripts();
    		}
    
    		// This lets the widget enqueue any specific admin scripts
    		$this->enqueue_admin_scripts();
    		do_action( 'siteorigin_widgets_enqueue_admin_scripts_' . $this->id_base, $this );
    	}

    My question is which do_action use for wp_enqueue_style:

    -> siteorigin_widgets_enqueue_admin_scripts_
    -> footer_admin_templates

    One or both. In the case of the two, as I add there?

    Thread Starter LucasTolle

    (@lucastolle)

    Capuderg,

    It worked perfectly for me. Very happy with your help. Millions of gratitudes to you.

    However, there is one more thing: Many styles in the Plugin SiteOrigin utliza the style of “SO BUNDLE WIDGETS”:
    /wp-content/plugins/so-widgets-bundle/base/css/admin.css
    /wp-content/plugins/so-widgets-bundle/admin/admin.css

    And I need to take control of these files too. What I would add the code to disable this too?

    function remove_so_page_builder_admin_styles() {
    	wp_dequeue_style('so-panels-admin');
            wp_dequeue_style('siteorigin-widgets-manage-admin');//It's correct?
            wp_dequeue_style('siteorigin-widget-admin');//It's correct?
    }
    add_action('siteorigin_panel_enqueue_admin_styles', 'remove_so_page_builder_admin_styles');
    
    add_action(' ? // What we add here?
    ', 'remove_so_page_builder_admin_styles');
    
    add_action(' ? // What we add here?
    ', 'remove_so_page_builder_admin_styles');

    I looked at the siteorigin-widget-.class.php file and so-widgets-bundle.php and screw me up to record the new styles in my plugin. Once utliza an array. I do not know if it works only for scripts or both (scripts and styles).

    If you can help me, showing me to how I can register these new styles, I thank you very much.

    And as you always say: “Take care!” ??

    Lucas Tolle

    You should be able to by adding this to your functions.php file

    function myprefix_init() {
    add_post_type_support( 'post', 'simple-page-sidebars' );
    }
    add_action( 'init', 'myprefix_init' );

    I not only will give you five-star, as well as the language files to Portuguese Brazil. Please send me an e-mail address so I send you.

    Thanks for keeping this plugin!

Viewing 15 replies - 1 through 15 (of 34 total)