export gridview to excel with custom value formatting

i have in my content page 4 things: a single gridview query buttons that execute database views and display the results of the queries inside the view in the gridview export to excel button that...

Showing content from Wordpress ruins page CSS using WP_Query, without, content does not show

I suppose I have a two pronged issue here. I'm trying to show wordpress posts on my own site. I have a page where people can view the list of articles, then when they click on one it takes them to...

How do I get Group ID as context in Views Drupal 7 without Panels

I have been banging my head all day with this. I have seen other posts, but they all seem to say "Use Panels" and I dont want to make a panel page for every view. I am using Drupal 7.x, Organic...

Wkhtmltopdf - How to display GET parameter passed into template on every page of multipage doc?

I have an application that generates PDF files. So far it is able to use wkhtmltopdf to create multipage pdf files but so far I am not sure how to repeat dynamic content on a static html template...

Break a WordPress post on paragraph tags

I have a site with two databases. One is attached to the WordPress install that runs part of the content of the site; the other runs the site overall. Let's call them cwordpress and tdasite. I...

Wordpress: How do I include custom post types made with Custom Post Type UI (CPT UI) in category archive pages?

I've created four custom post types -- videos, audio, programs, blogs -- with various custom fields and I've managed to created a custom archive page that displays certain custom fields depending...

React Router with parameters not working

I have a todo app that I am trying to select an item and send it over to a page to be edited. I have taken a look at this post...

WordPress query posts on scroll laggy/skips

I have a website that on the homepage contains images/sliders standard page content etc. Once the page loads, it scrolls nice and smoothly. But I have a section about half way down that queries...

How do I count the number of comments for each of my posts (MySQL)?

I have 2 tables that matter here. One table is called POSTS and contains both posts and replies (replies are treated exactly the same as posts but they have POSTS.id of referred post inside...

Wordpress content displaying weird when using foreach

I am currently doing some custom work on a clients wordpress site. I am using the code below to query the database which works fine. However, when i try showing the results it isnt working as it...

UIWebView ScrollView Content Half-Drawn

This problem is best explained with a screenshot or three! Somehow, I have a UIWebView that is not rendering its content fully...or is it? I can certainly tap on and select the text in the...

MySQL Queries: does LIMIT put a cap on both entries before NOW() and after NOW()

Say I have a database table with three fields: id, content and timestamp. Entries have been coming in all day, so there's loads of entries and entries will still be coming in periodically. When a...

Advanced SQL query. Top 12 from each category (MYSQL)

I have a MYSQL5 database and PHP 5. I need a query for a games websites index page that only selects the first 12 from each category of games. Here is what I have so...

How to use ACF Pro Flexible Content with Single Page?

I’m developing a website with flexible content. I’m using it as a builder basically. I’m in the page section, e.g. Portfolio, and I can “Add row”. Awesome! All of these pages are using page.php...

How do i translate this webforms paradigm to mvc?

Take the following hypothetical situation, how would I implement it in MVC? All my pages sit in a Master, which has a CurrentUser property on it. This object is determined from some session user...

url patterns for home views or using views accross apps

I've been reading about urls, but I can't seem to find a analogue to what I'm trying to do. I have an app called profile, the views.py in this app queries the database and returns user specific...

Web page that loads content first, then beautifies it by deferred-loading hi res image swap-ins?

I have made a site that looks acceptable and strikes a balance between having a reasonable load time and not overly-compressing the JPEG images. One concern is that there is a 100% stretching...

Dynamically create pages/activity in Android?

Okay, so i just created an activity that queries post titles from a database and post it on a view using an adapter. I would like to implement the following: Once I click the title, I should be...

node-postgres query not firing on redirect to home page after registering a user

I'm making a very simple authenticated website for learning giving users the ability to create an account log in and view content. The issue is not seeing the registered users on the home page (as...

AngularJS: Hide yotube video until playback starts

I am just starting out with angularjs, and am in need of help. I am loading two videos, both embeded iframes from youtube, in the landing page of my angularJS app. I am obtaining the iframes from...

No other way to put this: How do I use The Loop?

I apologise for this post being so long. The REASON for me asking such a stupid question as the topic suggests is BECAUSE there is just so many different things going wrong that I need to provide...

.htaccess point specific domain home to internal page

Okay...i am doing something kinda strange and out of the ordinary. I will try to explain... I have several domain names pointed to the same root directory on my webserver. I can access the...

querying viewmodel resulting in error

I have this problem with querying my viewmodel. I have an index page that displays the posts in a table by showing just the Title, Date and author. When ever a title is clicked it should open up...

CouchDB - How to create dynamic design docs based on end user input

I have been reading up more on CouchDB and really like it (master:master replication is one of the primary reasons I want to use it). However, I have a query to ask of you guys... I cam from php,...

WordPress Twenty Fifteen - list only post titles in category

I am using WordPress with the Twenty Fifteen theme. I am trying to list only the article titles in the category page. The default way lists the entire article, but this is not what I want. I just...

Rails 3 - Displaying submit errors on polymorphic comment model

Fairly new to Rails 3 and have been Googling every which way to no avail to solve the following problem, with most tutorials stopping short of handling errors. I have created a Rails 3 project...

create a json reponse from the controller

I try to create a JSON reponse in my controller for my ajax request. The purpose is : A user can write and post a comment without refresh the whole page. But after the ajax request, this request...

MySql: Select by Count with Union or Joins

I need a way for page moderators to view the members of their page ordered by the total number of posts the user has on that particular page. The posts are stored in different tables such as...

Sharepoint2010 custom list view, changing setuppath post production to new AllItems.aspx

I have a custom list definition in production environment with list instances created with the following definition: <View BaseViewID="0" Type="HTML"...

How to rewrite HTML in to PHP echoes?

I am trying to split my last post into more sections. I am working with AJAX & Database. The goal is to a have a clickable division (button) in a view. When this div is clicked the AJAX query is...