I have a static page that I want to serve so I made a .ctp in the /views/pages/ directory. The problem is that it's using the default layout which I do not want to use. I tried making my own pages_controller and passing the $layout var but that does not work. There has to be a way to tell a /pages/ to use another layout.ctp. No?
...
I have a few pages out (not too many though) and I was just thinking that I might want to change all of the pages to php instead of html. I am planning on using php in the future, I am just not quite ready yet to make it my full-time language. I know anythign you can do with html pages, you can do with php pages, but I just wanted to kno...
Hi!
Im trying to implement a UIScrollView including multiple images, using paginate. The problem is that I want more then one page to be visible in the UIScrollView, but only one page should be selected.
I found several solutions in which you handle touch down/up (touchesBegan and touchesEnded) myself and scrollRectToVisible, but I wa...
I am trying to grab a string of text from the .vb file of my master page. I need to render this text out as part of the class definitions.
E.g. <div id="######ContentArea">
I need to replace the ###### with a string I have created in the .vb file.
How do you do this? Or is there an easier way = NEWBIE here!
...
Is there any way to group/folder my pages in Wordpress. Pages as in pages, not posts. In case I'm using it as a CMS and have, say, 200 pages. 10 main pages and the rest are all sub-pages. It'd be really inconvenient to see all the pages as a one huge lists.
I know I could use posts and categories, as I won't be needing the blog function...
What's the best way (to avoid modifying repeated code) to building multilingual web pages?
I know how to build a multilingual web page without having to modify CSS and Javascript files.
But I can't think of a neat solution for HTML and Php files. Because if I have HTML or Php files for each language, I would have to modify each one if, f...
I am trying to create auto-fillable contract with several pages in latest iReport. The problem is it allows to create one big page or create several static pages with static text, but my text is flexible.
thanks.
...
Hi all
I made a custom page and added it to a MOSS 2007 site.
the custom page has an update panel and some ajax controls
when I'm logged in as an administrator with full control permissions, the page works fine.
but if another user with even Full control permission logs in and browse the page, an error appears:
The control with ID 'Upda...
I'm not even sure if this is possible. Can you create a hyperlink or an embed tag that will display a specified page/section of a pdf document?
...
So far, I've been successful with generating output to individual files by opening a file for output as part of outer loop and closing it after all output is written. I had used a counting variable ($x) and appended .txt onto it to create a filename, and had written it to the same directory as my perl script. I want to step the code up a...
How do I detect if a visitor to my staticFBML page is a fan or not? Please help!
...
I have an asp.net page with a code-behind class definition as follows:
public partial class examplepage : System.Web.UI.Page
I'd like to set a public property within the page that I can reference from other classes. My understanding is that if I cast to examplepage then I should be able to get at the public property that is specific ...
I know there are certain ways of using bold/italic/underlined text in facebook's chat, but I'm struggling to achieve the same on the page description. That is the text below the page's logo.
I know this is probably the wrong place to post this but since you guys are awesome * pleaseee :) * and fast, if you're not able to help me, no one...
Hi,
I have around 9 web parts and 3 pages to be deployed. Each page will be having 3 webparts.
From a deploymnet perspective, i think i have the following two options:
Deploy the pages using a feature. The pages will have webparts present.
Create a custom site definition with a document library and have the three pages as part of the...
I'm running MOSS 2007 and have created a new site under an existing one using sitemanager.aspx. I've done this on two machines. on one of those everything works correctly, while on the other some of the menu items for pages in the site seem to be gone. Also on the faulty site I get "Access denied" when I click "Version history".
The pe...
I have a ComponentArt grid that I'm editing with a pop editing dialog. I pass values between the grid and the dialog using javascript. All was well until I put the page containing the grid inside a MasterPage; I got some errors because of naming containers and fixed them, but it looks like ComponentArt's DataGrid is still looking for s...
Here I have a problem in this code ..
I want to specify the 4 values in each page ..
But I can not ... So far there is a problem, I think, in limit
<?php
if ( !isset( $_GET["page"] ) )
{
$page = 1;
include( "connect.php" );
} else {
$page = intval( $_GET['page'] );
}
$max = 4;
$from = ($max * $page) - $max;
$sql ...
I'm building a set of pages where I have a number of GET variables and it is often valuable to keep passing it along to the next page. This leads to ugly code where I have to have "if this $_GET variable is set, dynamically add it to this hyperlink". This is, in many senses, not a problem; but I had the thought "there must be a better wa...
Hello
Are there systems, where minimal page of memory (pagesize) has a size not divisible by 2, or by 1024, 4096?
Can it be 3000 or 3500?
Will any posix program break, if pagesize will be not divisible by 1024?
...
Hello All,
Is it possible to use a master page on a root SP web application for all its children sites? In other words, for a site called http://myspsite I have a customized master page called "mycustom.master". I would then like to create a site within this web application cammed "newSubsite" so it points to http://myspsite/newSubsite. ...