ninetienne
Forum Replies Created
-
Forum: Plugins
In reply to: [WPSocialite] Vkontakte supportThank you very much.
Forum: Plugins
In reply to: [WPSocialite] Vkontakte supportTom, I would highly appreciate if you could add support for VK in your plugin. It’s the largest social network in Russia with more than 43 mln users per day.
Thank you for your quick response too ๐
Forum: Plugins
In reply to: [Last Viewed Posts by WPBeginner] Notice: Undefined indexThanks. Awesome plugin by the way ๐
Forum: Plugins
In reply to: [Last Viewed Posts by WPBeginner] Notice: Undefined indexYes, I tried it on localhost. It won’t throw the error on live server?
Forum: Plugins
In reply to: [WordPress Social Login] Fix: Avatars not showingThanks. Awesome fix ๐
Forum: Plugins
In reply to: [WordPress Social Login] Fix: Avatars not showingNp Miled! Do you know how can I fix the issue with wrong avatar image?
Sure, I gave you 4 likes ๐ Let the project develop!
Forum: Plugins
In reply to: [WP Hide Dashboard] [Plugin: WP Hide Dashboard] Media Tab still visibleAny solution?
I’m not getting too far.
In your basic installation when you choose start and end date for the search form — the fields are blank on the results page.
However – from the usability point of view – they shall not be empty! The user shall see what dates apply to the list of given events.
How can you display the actual dates on the results page?
OK, I managed to get it for categories.
Thank you very much!
Here’s the code:
<label><input name="category" type="radio" value="" <?php echo (empty($_REQUEST['category'])) ? 'checked="checked"':''; ?>/>ะัะต</label> <?php foreach(EM_Categories::get(array('orderby'=>'category_name')) as $EM_Category): ?> <label><input name="category" type="radio" value="<?php echo $EM_Category->id; ?>" <?php echo (!empty($_REQUEST['category']) && $_REQUEST['category'] == $EM_Category->id) ? 'checked="checked"':''; ?>/><?php echo $EM_Category->name; ?></label> <?php endforeach; ?>However I can not get it for the time scope with the code:
<?php foreach( em_get_scopes() as $key => $value) : ?> <label><input type="radio" name="scope" value='<?php echo $key ?>' <?php echo (!empty($_REQUEST['scope']) && $_REQUEST['scope'] == $EM_Scope->id) ? 'checked="checked"':''; ?>/><?php echo $value; ?></label> <?php endforeach; ?>I assume there is no
$EM_Scope->id.What is wrong with my code?
Thank you for trying to help me.
However I am not aware of the condition for the active category or time scope.
I would like to user to:
- land on the main events page
- check the desired filter options by clicking on radio buttons
- land on the results page with those filter options checked which the client selected one step ealier.
Could you please give a hint how it can be done. Many thanks!
I added the code and now I have:
<label><input type="radio" name="scope" value='<?php echo $key ?>' <?php echo (condition) ? 'checked="checked"':'' ?>/><?php echo $value; ?></label>
However the checked radio is always the last one, no matter what I select. Shall I changeconditionto something else?One note though:
How can I make the radio boxes “checked” on the results page?
Thank you for your quick response!
Luckily I managed to implement the filter. Here’s the code, in case anyone will need it:
<!-- START Time Scope --> <?php foreach( em_get_scopes() as $key => $value) : ?> <label><input type="radio" name="scope" value='<?php echo $key ?>' /><?php echo $value; ?></label> <?php endforeach; ?> <!-- END Time Scope --> <hr style="float: left; clear: both; width: 100%; color: #666; margin: 10px 0;" noshade="noshade"/> <!-- START Category Search --> <label><input name="category" type="radio" value="" />ะัะต</label> <?php foreach(EM_Categories::get(array('orderby'=>'category_name')) as $EM_Category): ?> <label><input name="category" type="radio" value="<?php echo $EM_Category->id; ?>" /><?php echo $EM_Category->name; ?></label> <?php endforeach; ?> <!-- END Category Search -->Forum: Plugins
In reply to: [Portfolio Slideshow] showcaps, showtitles, showdesc not working?Hey Dalton,
Thanks for the update! Works great now. The best plugin and support ever.