Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Gonzalo

    (@gonzalo-sanchez)

    Yes ??
    Renaming back your custom filter ‘rpwwt_widget_title’ to ‘widget_title’ the translation works ok.

    This are the lines 109 and 110 now:


    $title = ( ! empty( $instance[ 'title' ] ) ) ? $instance[ 'title' ] : '';
    $title = apply_filters( 'widget_title', $title, $instance, $this->id_base );

    Is working ok for me.

    Thread Starter Gonzalo

    (@gonzalo-sanchez)

    You are welcome! I really like this plugin. Congratulations.

    Thread Starter Gonzalo

    (@gonzalo-sanchez)

    Gonzalo

    (@gonzalo-sanchez)

    is your shortcode returning the value through an echo intead a return?

    post your shortcode, maybe the problem is there.

    Gonzalo

    (@gonzalo-sanchez)

    From what I can see your original source code is almost right, just your spare single quotes that enclose the double?ones.

    This code:
    [dynamictext* dynamictext-967 “‘i4w_db_FirstName'”]

    must by changed for this one:
    [dynamictext* dynamictext-967 “i4w_db_FirstName”]

    The single cuotes are only for the shortcode parameters. Like this:
    [dynamictext* dynamictext-967 “i4w_db_FirstName param1=’value1′ param2=’value2′”]

    Please try it and post your results here for future reference.

    Plugin Author Gonzalo

    (@gonzalo-sanchez)

    Hello zetoun17!

    Thank you very much for your warning

    I’m working on version 1 of this plugin. This one is really very simple and certainly limited as it has a fixed number of data fields. The version I’m working on the improve the administration page allowing you to create and delete data fields according to your needs.

    In this new version I will change the obsolete function call.

    THX again,
    Gonzalo.

    Plugin Author Gonzalo

    (@gonzalo-sanchez)

    Hi sierracircle!!

    Really thank you very much for your comment!

    That was the goal of creating this plugin, which is useful for other developers who have these needs.

    I’m working on version 1.0 of this plugin. This one is really very simple and certainly limited as it has a fixed number of data fields. The version I’m working on improve alot the administration page and allow to create and delete data fields according to your needs.

    Comments like yours encourage me to improve the plugin.

    Thank you very much friend!

    Gonzalo.

    Thread Starter Gonzalo

    (@gonzalo-sanchez)

    ok man! is working perfect! thank you very much again.

    Thread Starter Gonzalo

    (@gonzalo-sanchez)

    Hello friend! I am very happy that I have answered and even more glad you accepted my suggestion! I did not expect much attention, really. So thank you very much! I want to congratulate you for the plugin you created and want you to know that is a great addition for us developers, we have to meet the requirements of our customers with quick and effective solutions. Immediately seek your website and I will pass through the area of ??donations. I think it’s the least I can do to support developers like you that make my life easier. Again… thank you very much!
    In short I will comment to you if the solution you’ve suggested me is working properly. Sure it works!
    Sincerely,
    Gonzalo.

    Thread Starter Gonzalo

    (@gonzalo-sanchez)

    would be ideal to choose when to show it or not, for instance as a parameter of the shortcode, I need show information to the administrator only and normal users do not know it’s there. Otherwise I should create a special page for the administrator and that is very little flaxible.

    Gonzalo

    (@gonzalo-sanchez)

    Everything indicates that the error “HTTP Error” while uploading images is caused by a change in the Apache FastCGI module (mod_fcgid 2.3.6) that limits the value of the parameter MaxRequestLen to 128KB (very low). Previously this limit was 1GB.
    Therefore this problem is likely to occur only on servers running PHP in FastCGI mode and only when trying to upload a file larger than 128KB.

    The final and stable solution to this problem is well explained in the link that leaves our friend ntarantino.

    https://wiki.mediatemple.net/w/(dv)_4.0:Enable_FastCGI

    and it works perfectly! ??

    but that solution requires access and modify the configuration file of FastCGI. It can be done via SSH or asking the support team of your server to do so.

    An intermediate and fast solution I’ve found, for those who need to solve this problem right now and can not modify that file themselves, is as follows:
    – Install the plugin WPlupload (nice and efficient plugin that replaces the WP file upload form)
    – In the plugin settings indicate 128kb or less in the “Chunk size”
    – Enjoy ??

    Tell me if this solution works for you.

    Gonzalo.

    Gonzalo

    (@gonzalo-sanchez)

    Yeah!
    Everything indicates that the error “HTTP Error” is caused by a change in the Apache FastCGI module (mod_fcgid 2.3.6) that limits the value of the parameter MaxRequestLen to 128KB (very low). Previously this limit was 1GB.
    Therefore this problem is likely to occur only on servers running PHP in FastCGI mode and only when trying to upload a file larger than 128KB.

    The final and stable solution to this problem is well explained in the link that leaves our friend ntarantino ??

    https://wiki.mediatemple.net/w/(dv)_4.0:Enable_FastCGI

    and it works perfectly! ??

    but that solution requires access and modify the configuration file of FastCGI. It can be done via SSH or asking the support team of your server to do so.

    An intermediate and fast solution I’ve found, for those who need to solve this problem right now and can not modify that file themselves, is as follows:
    – Install the plugin WPlupload (nice and efficient plugin that replaces the WP file upload form)
    – In the plugin settings indicate 128kb or less in the “Chunk size”
    – Enjoy ??

    Please tell me if this solution works for you.

    Gonzalo.

    Gonzalo

    (@gonzalo-sanchez)

    Hi Tiff. I have solved this problem quite easily.
    Know you’re not a programmer but still give you my solution. If you want to send me the page where you want to show the custom post type and arrange for you. It is really easy:
    I asked in an if statement if get_custom_field has a value. If it does print the field, if not ignored.
    Look:

    <div class="entry-content">
    
    	<?php the_post_thumbnail(); ?>
    	<?php if (get_custom_field('subtitulo')):?>
    		<p class="evento-subtitulo"><?php print_custom_field('subtitulo'); ?></p>
    	<?php endif;?>
    	<?php if (get_custom_field('fecha_inicio')):?>
    		<p><strong>Fecha:</strong> <?php print_custom_field('fecha_inicio'); ?><?php echo get_custom_field('fecha_fin') ? ' hasta el '.get_custom_field('fecha_fin') :''; ?></p>
    	<?php endif;?>
    	<?php if (get_custom_field('lugar')):?>
    		<p><strong>Lugar:</strong> <?php print_custom_field('lugar'); ?></p>
    	<?php endif;?>
    	<?php if (get_custom_field('organizador')):?>
    		<p><strong>Organiza:</strong> <?php print_custom_field('organizador'); ?></p>
    	<?php endif;?>
    	<?php if (get_custom_field('descripcion')):?>
    		<?php print_custom_field('descripcion'); ?>
    	<?php endif;?>
    	<?php if (get_custom_field('enlace')):?>
    		<p><strong>Página Web:</strong> <strong><a href="https://<?php print_custom_field('enlace'); ?>"><?php print_custom_field('enlace'); ?></a></strong></p>
    	<?php endif;?>
    	<?php if (get_custom_field('imagen')):?>
    		<p class="evento-imagen"><?php print_custom_field('imagen'); ?></p>
    	<?php endif;?>
    
    </div><!-- .entry-content -->

    Good luck!

    https://www.cuadric.com
    Maquetación y programación Web para dise?adores y agencias.

Viewing 13 replies - 1 through 13 (of 13 total)