kevcpu
Forum Replies Created
-
Forum: Plugins
In reply to: [WORDPRESS VIDEO GALLERY] Wrong theme displays for video pagesI followed the example and logged into the wp-admin screen. I found the additional menu item called “Contus Video Gallery”. However, when I click on the link I don’t see an option for setting the theme. There is a button entitled “View Video Gallery Item”, but when I click it takes my to a page that displays the video. Where do I edit the theme on the page?
Forum: Fixing WordPress
In reply to: wp e-commerce: page for displaying all products per categoryWill do.
Forum: Fixing WordPress
In reply to: Shortcode form submission not workingIt looks as if the page is refreshed, however.
I am trying this same logic with the paginate function and I am having an issue. I am trying to perform a join that would allow me to pull back events based upon a specific speaker. Here is my code:
$this->params['join'] = array( 'table' => '{prefix}events_speakers', 'on' => 'E.id = event_id', 'alias' => 'E'); $this->params['conditions'] = array('is_public' => true, 'speaker_id' => 6); $collection = $this->model->paginate($this->params);
When I run this query, I am not getting any results back. I am testing this using the Events_calendar example. I added this code to the Events_Controller.
Forum: Plugins
In reply to: [WP MVC] [Plugin: WP MVC] belongs_to_dropdown does not populateI am trying this and to shed some additional light, here is my set_post method:
private function set_post() { $this->load_model('Post'); $posts = $this->Post->find(array('selects' => array('id', 'post_title'))); $this->set('posts', $posts); }
In the dropdown I want to use the id field and the post_title as the text. Also, here is the call I am making to the belongs_to_dropdown:
echo $this->form->belongs_to_dropdown('Post', $posts, array('style' => 'width: 200px;', 'empty' => true, 'id' => 'drpPost', 'label' => 'Post connected to entry'));
The dropdown populates and the text field is empty, but the id field is populated.
Thanks. That solved it.
Forum: Plugins
In reply to: [WP MVC] [Plugin: WP MVC] code generation utility wpmvc throwing errorAdded this to wpmvc.php file and problem solved.
$_SERVER = array(
“HTTP_HOST” => “https://mysite.com”,
“SERVER_NAME” => “https://mysite.com”,
“REQUEST_URI” => “/”,
“REQUEST_METHOD” => “GET”
);Forum: Plugins
In reply to: [WP MVC] [Plugin: WP MVC] code generation utility wpmvc throwing errorI tried that and here is what prints before the error messages:
Array
(
[0] => ./core/wpmvc.php
[1] => generate
[2] => plugin
[3] => TestApp
)Forum: Fixing WordPress
In reply to: query categories and display associated informationI read the wp_list_categories page and do not see anything telling me how I can do this.
Forum: Fixing WordPress
In reply to: query categories and display associated informationinstead of displaying as a list I need it displayed in a aseries of div’s with the picture in the first div and the excerpt in the second div. I need to display three categories in this same fashion. Is this possible?
Forum: Fixing WordPress
In reply to: joomla module position equivalentDoes wordpress have an equivalent to Joomla’s module position architecture? I need to define multiple positions on a page and be able to assign them to certain pages. Is this possible?
Forum: Fixing WordPress
In reply to: how to remove line breaks and paragraphs from single pageThat seems to fix the first issue but there seems to be break
tags being added as well.Forum: Fixing WordPress
In reply to: [Contact Form 7]: How do I change where the contact form posts?Thank you.
Forum: Fixing WordPress
In reply to: It is possible to have multiple sites under one wordpress projectSomething like that. I wan to separate the looks but have them all feed into the same e-commerce solution.
Is there a way to differentiate between two forms in the functions.php file?