Pdfsharp Migradoc - Remove footer from first page - pdfsharp

I'm using pdfsharp+migradoc for creating pdf, creating a section, and having multiple pages in it with the footer.
But I don't want the footer on the first page, how can I achieve this?
Thanks in advance.

In the PageSetup specify that you want different headers and footer on the first page and leave the first-page footer empty.

Related

WordPress: How to insert texts and images into divs defined in template?

Say, I have a template index.HTML and style.CSS, defining two divs - div A and div B.
Using this template, I want to create three pages - page 1, page 2, and page 3 (not three posts, but three pages).
Since these three pages are based on one same template, they will have the same design, which is the two divs. However, each page needs to have different texts and images inserted into the divs.
Now I have the template ready, but am at a loss how to assign contents into the divs.
When I create page 1, 2, or 3 by "add a new page", I do not see a way to assign texts and images to the divs defined in the template.
I know I can assign different texts and images to different pages in the template by creating three empty pages and adding some codes to the template itself (such as conditional tags), but I cannot take this approach. I should write the contents (texts and images) in the "add a new page" screen and assign the texts and images to the div A and div B respectively.
Anyone can shed me some light?
Thank you.
Firstly you need to understand that this is not like loading of index.htmlwhen you create a new page from Add new page. There's a totally different concept of Page Templates in Wordpress. Page Template is what you select in Page Attributes section while creating a new Page.
Now the thing is, if you want to create a new custom page template, you would need to follow the guide available at http://codex.wordpress.org/Page_Templates. E.g a new page template would require creating a new .php page and adding some code like this on top:
<?php
/*
Template Name: New Template for Page
*/
Then that Template will be available in that "Page Attributes" menu when you will create a new page. Regarding your query of div1 and div2, you would have to write that in Add new Page section - select HTML view and there add HTML for that. The css for that will be defined in a separate file which you can include in your page template file while creating it.
Normally, what developers do is offer Shortcodes for layout like if you want 3 colomn layout in your page, developers might have provided options which you can use like:
[col-1]Something here in first column [/col] [col-2]Something here
in second column [/col] [col-3]Something here in Third column
[/col]
I know this is not a comprehensive answer but your question is so vast, i cannot cover it here. You need to understand the core wordpress concepts for this.
I hope this helps.

how to use a design without header and sidebar as a wordpress homepage?

I would like to use a page I have already made as the homepage of the wordpress site. It's a design made with bootstrap, and it consists of a full width and full height page that is divided in 4 equal rectangles, obviously flexible. clicking on each one of this rectangles should link to 4 different pages/posts/archives.
The question is: how can I change the main-index file in order to have just that design as my homepage, and not any sidebar or header or footer?
Thank you, I tried in many ways, but no success!
Go to Options -> Reading then select A static page in the homepage settings and choose the page you want to use as homepage.
You may need to define a custom template for this page if you dont want header / sidebar.

Is it possible to have a large image above the content node in Drupal?

I'm trying to replicate pages like the following using Drupal:
http://www.ams-neve.com/Products/Outboard/1073LB/1073LB.aspx
My problem is that I'd like the image at the top (which changes depending on which page you're on) to be part of the main content node, while the menu on the left is a sidebar region.
I'd like to have a 'product' content type where I can write the main copy, include linked files, etc. plus have a 'header image' which would be what appears at the top of the page.
I have the feeling that it can't be done like this because I'd essentially need bits of the node to be rendered into different blocks. If I theme the node template to wrap a div around the header image I can't figure out a way to have that moved to the top of the page and displace the left sidebar down.
Can anyone tell me if it's possible, or suggest an alternative route.
There are a lot of products so I need it to be a simple method.
The method I used was to create a Views Slideshow Block in Views. It pulled the header_image field from my node by looking at the page it was on. I put this block into the header of my page.
Anyone else looking at this should also check out Display Suite. You can do a lot of cool stuff with that.
if i'm not getting it wrong you are having problems with the default way in which drupal blocks work. Have you tried panels? It's an awesome plugin to work with drupal which let you create pages in a really flexible way.
You could have a custom field for your 'Product' content type that is an image or a text field to a URL for the header image. Just use CSS to place them where you'd like.
Alternatively, check out these links, I think they are what you are looking for.
http://drupal.org/project/headerimage
http://drupal.org/project/sections

How to hide panels(Right & Left) from customize Log-in page?

I'm working on Drupal 7 and trying to create one customize log-in page. Here i don't want to display Right & left panels in this page, its just like only log-in page which is having only header, footer and content where content would be **Username and Pass fields**.
How to remove Or hide right & left panels from this particular customize page? Please help me out from this.
Thanks.
use the context module http://drupal.org/project/context, you can hide regions or blocks for a certain page

drupal views more link

i'm new to drupal views. More link not displayed with my view block. i set more link both Create more link and Always display more link option too. Find picture below for view settings.
Note: i'm sure there is around 10+ nodes available to display.
You have only block display, so where should go "More"? :) Create also "Page" display.
If you have specific page to link on more then you can use header or footer also
1. Add Global Custom Text in Header or Footer
2. Put Your Link There.
That is alternate way for more link

Resources