Quantcast
Channel: Toolset » All Posts
Viewing all 20145 articles
Browse latest View live

Reply To: [Assigned] Custom Post Type lables

$
0
0

Dear davids-6,

Edit the text field and save the CPT.


Reply To: [Assigned] Showing Brother Pages of a Child

$
0
0

@vincew,

You need to create two Template Views and one View.

Parent View Template: contains [wpv-view name="View"] which call the view with its items
Child View Template: contains [wpv-body id="$parent" view_template="Parent View Template"], which call the parent Template View.
View: Display the child pages.

@kennyY,

Perhaps the solution mentioned by you was found here (should works too): http://wp-types.com/forums/topic/displaying-siblingbrother-pages/

Reply To: [Assigned] Exporting types and views, network/multisite

$
0
0

Dear chrisW-3,

I'm assuming that you are using the latest version of Toolset. Please enable the debugging mode here: wp-types.com/documentation/user-guides/debugging-types-and-views I think that some server configuration is breaking this process (because it is a multisite instalation).

Reply To: [Assigned] Showng Images uploaded through CPT as a Gallery with thumbnails

$
0
0

It can be most simple than we are wondering. There are two points to achieve which you want: Set up a View (to show the images which are custom fields) and use a Lightbox plugin just to achieve this effect (perhaps: wordpress.org/plugins/wp-jquery-lightbox).

You will need to customize the Meta HTML section of the View to display the Lightbox parameter properly. The full code seems with:

[wpv-layout-start]
[wpv-posts-found]
<!-- wpv-loop-start -->
   <ul>
      <wpv-loop>
         <li><a href="[types field="my_image" raw="true"]" rel="lightbox[roadtrip]">[types field="my_image"]</a></li>
      </wpv-loop>
   </ul>
<!-- wpv-loop-end -->
[/wpv-posts-found]
[wpv-no-posts-found][wpml-string context="wpv-views"]<strong>No posts found</strong>[/wpml-string][/wpv-no-posts-found]
[wpv-layout-end]

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

Reply To: [Assigned] Lightbox Evolution and views pagination conflict

$
0
0

Sure, adriano.f@icanlocalize.com

Reply To: [Assigned] Duplicate images in gallery

$
0
0

I’ll send you a private email right now asking you for some private information that will help me debug this issue for you. Please check your email in a couple of minutes, and if you don’t get it, let me know so I can send it again.

Max char limit for fields

$
0
0

Is there a possible way of restricting a textfield or a textarea input to only accept a specified number of characters. For example users cannot enter more than 150 characters in the field.

This applies to both Types and CRED. Is this achievable?

CRED Form

$
0
0

I am implementing CRED out of the box under ThemeKraft Common Community.

For both forms I have created, the Textarea element for the body is not displaying correctly when adding content.. When I expand the textarea using the corner, the field corrects itself and all is good.

I am thinking this is a styling issue with Zebra, but I can't find the right elements to adjust in a custom CSS.

I do not have any user CSS associated with the form via CRED.

Any suggestions?


Reply To: CRED Form

$
0
0

That was under Chrome.

Under Firefox it is even worse:

The textarea won't resize at all.

Reply To: CRED Form

Reply To: [Assigned] Can I create relations between custom field values…

$
0
0

Since nobody answer me for four days I drop out taxonomies. Created two select field and updated content. That should be OK for now.

Reply To: Max char limit for fields

$
0
0

A minimum char limit would also be useful.

Reply To: Allow selection of year in Types date field

$
0
0

Ok, thanks.

Just make sure you add an option to let me select the start and end year of the calendar in the field definition options. Or better yet, populate them automatically based on calculations. For example, I want the start year to be 50 years back from current year, and the end year to be 2 years after the current year.

is it possible to don't show a view on the next pages?

$
0
0

i have a page like this.
page content = slider view + teaser view
If i click on the pagination link i will see
page 2 content = slider view + teaser view

now i wont that on the second or next pages (after click on the pagination link)
page 2 = teaser view only (without the slider view)

is this possible in views?

thank you

Reply To: [Assigned] Lightbox Evolution and views pagination conflict

$
0
0

Hi Adrian

I fixed the issue.

thanks for your help
adnan


Reply To: [Assigned] CRED does not send email notifications

Unable to use shortcode attribute

$
0
0

I have post type to save user criteria as job alert criteria.
I want to display another post type JOBS as result of alert criteria data filled and saved by user.

So i have custom functions built as shortcodes.

this is my function

function alert_jbtype(){
	$args = array(
    'post_type' => 'alert-subscription',
   	'author_name' => user_name(),
	'post_status' => 'publish'
	 );
	$query_c = new WP_Query ( $args );
	while ( $query_c->have_posts() ) : $query_c->the_post();	
	$terms_as_type = strip_tags( get_the_term_list( $wp_query->post->ID, 'job-type', '', ', ', '' ) );
	return $terms_as_type;
	endwhile;
	wp_reset_postdata();
}
add_shortcode('wpv-al-jbtype', 'alert_jbtype');

When i use above shortcode in a custom query it returns exact results as expected. And if use this sortcode [wpv-al-jbtype] to display values it displays correct.

I have created a view which displays jobs based on job alert post type as mentioned earlier.
Within that view i have a filter to filter job type from jobs based on above shortcode values. Within same shortcode attribute if i use text value like "contract" it displays correct so means view is also correclty created.
Problem is this when i use my custom shortcode within a page with my view it doesnt filter anything and displays all jobs.
And at the end it shows "] also.
i have tried taxonomy slug, taxonomy name both. then i also tried to use echo in function instead of return. then i also tried [wpv-view name="job-alert" jobtype="[wpv-al-jbtype]"] and also [wpv-view name="job-alert" jobtype=[wpv-al-jbtype]] but nothing works for me.

Any help will be highly appreciated.

Reply To: Unable to use shortcode attribute

$
0
0

I also tried using shortcode without prefix of wpv

Reply To: [Assigned] Getting Fatal Error when Views plugin is active

$
0
0

Thank you for identifying the problem.

It would be great if this can be fixed in the next version of Views.

In the meantime I am using pastebin.com to host the code containing Views shortcodes instead of SyntaxHighlighter Evolved's [code][/code].

Reply To: [Assigned] Out put post-specific custom field data in sidebar

$
0
0

Well, I think I solved the problem…

In my sidebar, above the Types custom fields, I have a shortcode that pulls in three featured images from a particular custom post type. Turns out I needed to add wp_reset_postdata(); to the end of that function, then move the sidebar query to directly above the Types custom fields. New code looks like this:


<hr>
<a class="more" href="#">View More Impact Stories</a>
<hr>
<div class="featured-strip">
[sidebar-posts-featured-img-caption type="impact-story" qty="3"]
</div>
<?php // display custom fields
global $wp_query;
$postid = $wp_query->post->ID;
?>
<!--[wpv-post-id]-->
[wpv-if donate_text="wpcf-donate-text" evaluate="!empty($donate_text)"]<strong>
[types field="donate-text" class="" style=""][/types]
[/wpv-if]
[wpv-if donate_url="wpcf-donate-button-url" evaluate="!empty($donate_url)"]
<a href='[types field="donate-button-url" raw="true"][/types]'>[types field="donate-button-title" class="" style=""][/types]</a>
[/wpv-if]
<hr>

Hope this helps someone.

Viewing all 20145 articles
Browse latest View live


Latest Images