Embed code to multiple pages globally?
Just a quick one - but is there any way to automatically embed code (for example Google Analytics code) into multiple pages automatically using some clever trick, or is it a case of having to paste it in manually to every page?
Use find and replace: Edit > Find & Replace
Do a practice run. Duplicate your site folder first just incase it all goes belly up.
Then open Find & Replace
Find:
</head>
Replace with:
(Your gooogle analytics code)
</head>
Choose folder and update every document in that folder
Similar Messages
-
How to embed Typekit code in Muse pages?
How to embed Typekit code in Muse pages?
Hi Enu1,
Currently, you can only use and preview the free and open-source Typekit fonts in Muse.
If you're comfortable with a little HTML/CSS, the Muse Insider wrote a post on how to insert the Typekit embed code from the Muse interface:
http://museinsider.com/how-to-add-typekit-fonts-to-your-muse-site.html
Or you can add the embed code to the Page Properties dialog within Muse, which will include it in the <head> of the page when you export your website.
However, we do see the value of being able to design in Muse with all the fonts in your Typekit library. This will require a deeper integration between Typekit & Muse. I'll give the team a nudge in this direction for you.
Let me know if you have any further questions and thanks for your patience.
Cheers,
Benjamin -
Hi there, I am looking for a way to embed a vimeo.com Video into my C.V.
I copied the embed code on the vimeo site and pasted it into my InDesign document and added the "http:" in the HTML code. When I select the object and click on the Folio Overlay panel to Preview on Desktop I get the following Error:
"The page size aspect ratio must match the folio aspect ratio."
I triied resizing the frame of the pasted embed code to the page size of my PDF and resized the object itself within the frames to the page width afterwards but nothing stopped InDesign from givin me this error message.
I am using CS 6 and I cannot place the video file in the indesign document itself for pdf file size reasons as u might understand.
What am I doing wrong? Can I even use the DPS tools to embed a vimeo video to my A4 PDF at all? Is there a different way to embed the vimeo link? (I don't want to upload my video as an swf file on a server and link to it for several reasons, but if there is no other solution I will go for that.)
Please help!
JohnnyI am triing to create an interactive A4 PDF document. Which I then wanna send to companies as my job application via email. I want it to be an interactive pdf because there are hyperlinks on the first page and because of the vimeo link but I also want it to be A4 because it is the formal regulation for a job application in my country.
-
YouTube embed code getting truncated
I have a form field with a YouTube embed that I am trying to
read into a MySQL database.
<input name="Image1URL" type="hidden" value="<object
width="425" height="344"><param name="movie" value="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><object
src="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="425"
height="344"></embed></object>" />
On insertion, the entry is getting truncated to:
<object width=
Apparently it doesn't like the "
I tried to do a Replace to make it "" but can't figure out
the correct way to code it
Thanks.Answering my own question
by converting the input to HTML format (simply by using a
<cfinput, not an <input tag) the value now displays as:
<input name="Image1URL" type="hidden"
value="<youtubeobject width="425"
height="344"><param
name="movie" value="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"></param><param
name="allowFullScreen"
value="true"></param><param
name="allowscriptaccess"
value="always"></param><youtubeobject
src="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"
type="application/x-shockwave-flash"
allowscriptaccess="always"
allowfullscreen="true"
width="425"
height="344"></embed></object>"
class="form" id="Image1URL" />
which MySql interprets as:
<youtubeobject width="425" height="344"><param
name="movie" value="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess"
value="always"></param><youtubeobject src="
http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="425"
height="344"></embed></object>
btw: the reason object is displaying as youtubeobject in the
code above is because when passing the embed code from one page to
another, CF changes the word Object to InvalidTag. When the
variable is passed, I am converting it to either object if it
intended for display, or youtubeobject when it is inserted into the
db
<cfset YouTubeDisplay =
"#replace(FORM.YouTubeEmbed,"InvalidTag","object", "all")#"> -
How do you embed ePub3 in a web page using 'embed code'?
I have an epub3 that i desperately need to embed onto my web page.
I am using Weebly who allow for embed code on the web page, and also have a code editor where you can upload files.
Is it easy enough to somehow upload the mp3's that are in my epub, and then explode the epub and simply copy and paste this html code into the embed code function from weebly?
This is what I have found so far, but I am no code expert!
http://stackoverflow.com/questions/7419205/how-do-you-embed-an-epub-in-a-web-pageThat is an interesting question. Since epub3 is based on everything that a web page is made of and is often called a web page in a box, I doubt that current browsers can show the document. Browsers are only now catching up with showing an SVG image. I suppose that, if an epub3 reader is available on the client, it should theoretically be possible. Think of a Word or a PDF document.
IMHO, the best way out is to convert the book into a PDF format. -
How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?
hello,
How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
Thanks !I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<style>
.hline {
background: url(http://yannick.michelat.free.fr/barre.gif);
height: 10px;
margin-top: 10px;
margin-bottom: 10px;
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-7">
<img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
</div>
<div class="col-xs-5">
<img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
</div>
</div>
<div class="row hline"></div>
<div class="row">
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
</div>
<div class="row hline"></div>
</div>
</body>
</html> -
Global Template Button without any code on the page, only in the template
I have a template with 2 facets
Main
SubMenu
I would like to have some global Button on my template like Insert, save, delete, next and prev. And only have the code in the template.
So others just can use the template without thinking on added code to the page, to make the template work.
I have found some tutorials but there you have to create a managed bean on the page that uses the template.
What i would like it to make a piece of Java code in the bean on the template that do
something like this:
Look in Facet("Main) for form, find the last focus table
then do the action "Insert,save,delete,next and prev" on table
I guess i need to run thru all the children of the Facet and look for a specific type
and somehow run the action for this child.
I don't wanna have to do any coding on the page, that uses the template only the template.Hi,
have a look at http://thepeninsulasedge.com/frank_nimphius/2007/11/23/adf-faces-rc-implementation-strategies-for-global-buttons-in-page-templates/
Maybe this is what you are after
Frank -
How I post HTML and Video embed code from my component to landing page?
Hi there,
How I post HTML and Video embed code from my component to landing page?
My Components are developed in NODEJS and PHP.
ThanksAnswered here http://topliners.eloqua.com/thread/7944
-
I’d like my form has an specific URL name. So i have to use the embed code.
Does anyone has a very simple HTML code that I can do that?
TksHi,
>>I’d like my form has an specific URL name
Sorry we do not allow URL renaming. You will have to use the URL provided in "Distribute" tab/Copy Link box.
>>So i have to use the embed code.Does anyone has a very simple HTML code that I can do that?
FormsCentral provides you the embed code that you can just copy/paste to your web page, please take a look at this link for more information: http://forums.adobe.com/docs/DOC-1991
Thanks,
Lucia -
Changing video embed code already dropped on page
In particular, I want to change the embed code in Video Lightbox by Christine Ricks. When I add Object > Insert HTML, it comes in as a separate piece and isn't recognized as part of content to be triggered. I've tried selecting different boxes, the video always drops in, I position it, but Muse doesn't see it as part of the modal content. I've seen tutorials like Create a Lightbox on Adobe TV, but what is glossed over is, it's not as simple putting the object on top of the lightbox box. In the Video Lightbox widget, I don't understand why I can't select the predefined YouTube video and simply edit the embed code. Anyone experienced this or know what I'm doing wrong?
Actually, you are right. There was an invisible/empty container box over the video embed. Once I moved it out of the way, I was finally actually selecting the right box. To meet the deadline, I saved it as html and then changed it in the code, but I'm glad there's a way to edit it in Muse, since not fooling with code is kind of the point of Muse. Thanks you wintersdesign.
-
Help with Flash code in web page
I have a Flash file in the masthead of my web site that shows
a slideshow. I want to code the page so that if the viewer doesn't
have Flashplayer, an alternative jpeg comes up in the masthead
instead of the file with the flash slideshow. I'm afraid I'm new to
most of this.... I'd very much appreciate help with the
programming.
Thank you!
Here's the file:
http://www.ewgaphilly.com/cs3index.html
(the slide show isn't working at the moment -- a server issue). The
alternate file I want to put in is:
http://www.ewgaphilly.com/alternate_mast.jpgI'm sorry to be so dull on this, but I'd appreciate if you
could tell me specifically which is the embed code (the codes in
the <head>? What to I change here? I really appreciate your
help.
Here is what I get when I publish the movie and the open the
html file:
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>main_slideshow_philly</title>
<script language="JavaScript" type="text/javascript">
<!--
// Globals
// Major version of Flash required
var requiredMajorVersion = 7;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -->
</script>
<script language="VBScript" type="text/vbscript">
<!-- // Visual basic helper required to detect Flash
Player ActiveX control version information
Function VBGetSwfVer(i)
on error resume next
Dim swControl, swVersion
swVersion = 0
set swControl =
CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i))
if (IsObject(swControl)) then
swVersion = swControl.GetVariable("$version")
end if
VBGetSwfVer = swVersion
End Function
// -->
</script>
<script language="JavaScript1.1"
type="text/javascript">
<!-- // Detect Client Browser type
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ?
true : false;
var isWin =
(navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true :
false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ?
true : false;
jsVersion = 1.1;
// JavaScript helper required to detect Flash Player PlugIn
version information
function JSGetSwfVer(i){
// NS/Opera version >= 3 check for Flash plugin in plugin
array
if (navigator.plugins != null &&
navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] ||
navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? "
2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" +
swVer2].description;
descArray = flashDescription.split(" ");
tempArrayMajor = descArray[2].split(".");
versionMajor = tempArrayMajor[0];
versionMinor = tempArrayMajor[1];
if ( descArray[3] != "" ) {
tempArrayMinor = descArray[3].split("r");
} else {
tempArrayMinor = descArray[4].split("r");
versionRevision = tempArrayMinor[1] > 0 ?
tempArrayMinor[1] : 0;
flashVer = versionMajor + "." + versionMinor + "." +
versionRevision;
} else {
flashVer = -1;
// MSN/WebTV 2.6 supports Flash 4
else if
(navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1)
flashVer = 4;
// WebTV 2.5 supports Flash 3
else if
(navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1)
flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv")
!= -1) flashVer = 2;
// Can't detect in all other cases
else {
flashVer = -1;
return flashVer;
// If called with no parameters this function returns a
floating point value
// which should be the version of the Flash Player or 0.0
// ex: Flash Player 7r14 returns 7.14
// If called with reqMajorVer, reqMinorVer, reqRevision
returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer,
reqRevision)
reqVer = parseFloat(reqMajorVer + "." + reqRevision);
// loop backwards through the versions until we find the
newest version
for (i=25;i>0;i--) {
if (isIE && isWin && !isOpera) {
versionStr = VBGetSwfVer(i);
} else {
versionStr = JSGetSwfVer(i);
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
tempArray = versionStr.split(" ");
tempString = tempArray[1];
versionArray = tempString .split(",");
} else {
versionArray = versionStr.split(".");
versionMajor = versionArray[0];
versionMinor = versionArray[1];
versionRevision = versionArray[2];
versionString = versionMajor + "." + versionRevision; //
7.0r24 == 7.24
versionNum = parseFloat(versionString);
// is the major.revision >= requested major.revision AND
the minor version >= requested minor
if ( (versionMajor > reqMajorVer) && (versionNum
>= reqVer) ) {
return true;
} else {
return ((versionNum >= reqVer && versionMinor
>= reqMinorVer) ? true : false );
return (reqVer ? false : 0.0);
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable
version
var oeTags = '<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="780" height="444"'
+ 'codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="main_slideshow_philly.swf"
/><param name="quality" value="high" /><param
name="bgcolor" value="#ffffff" />'
+ '<embed src="main_slideshow_philly.swf" quality="high"
bgcolor="#ffffff" '
+ 'width="780" height="444" name="main_slideshow_philly"
align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="
http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';
document.write(oeTags); // embed the flash movie
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'alternate.giv';
document.write(alternateContent); // insert non-flash
content
// -->
</script>
<noscript>
// Provide alternate content for browsers that do not
support scripting
// or for those that have scripting disabled.
Alternate HTML content should be placed here. This content
requires the Macromedia Flash Player.
<a href="
http://www.macromedia.com/go/getflash/">Get
Flash</a>
</noscript>
</body>
</html>
Here is my existing code in my home page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>EWGA Greater Philadelphia Executive Women's Golf
Association</title>
<style type="text/css">
<!--
@import url("/ewgacss.css");
-->
</style>
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
@import url("p7tbm/p7tbm_center_08.css");
-->
</style>
<script type="text/javascript"
src="p7tbm/p7tbmenu.js"></script>
</head>
some other stuff goes in here!!
then...
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','780','height','444','title','EWGA
Greater
Philadelphia','src','/main_slideshow_philly','quality','high','pluginspage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','/main_slideshow_philly'
); //end AC code
</script>
<noscript>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
width="780" height="444" title="EWGA Greater Philadelphia">
<param name="movie" value="/main_slideshow_philly.swf"
/>
<param name="quality" value="high" />
<embed src="/main_slideshow_philly.swf" quality="high"
pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="780"
height="444"></embed>
</object>
</noscript> -
Problem with Multiple Page convert in PDF
Hi all,
I done one invoice printing and convert in pdf report. but with smartform i get all thing and giving perfect out put.
But when i give second option for direct create a file of PDF this time only one page can convert in PDF. Means when i give multiple input like print invoice 0000910 to 0000925 so this time only invoice no. 0000925 is convert in pdf. But actually i need all invoice like 910 to 925 convert in one PDF with 25 pages.
And i done coding which is show below for this issue.
so please help me out and kindly guide me what is the mistake in my below code for make multiple page in one pdf.
FORM get_FORM1.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_form_name
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
fm_name = w_fmodule
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
w_cparam-no_dialog = 'X'.
w_cparam-preview = space. " Suppressing the dialog box
" for print preview
w_cparam-getotf = 'X'.
* Printer name to be used is provided in the export parameter
* OUTPUT_OPTIONS
w_outoptions-tddest = 'LP01'.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ITABz[] = itab[].
ITABz1[] = itab1[].
IT_ADDRESSz[] = it_address[].
LOOP at itab1.
delete ITABz where vbeln ne itab1-vbeln.
delete ITABz1 where vbeln ne itab1-vbeln.
delete it_addressz where KUNNR ne itab1-KUNRG.
* delete itab1 where vbeln ne itab1-vbeln.
TOTAL_QNT = ITAB1-TOTAL_QNT.
TOTAL_AMT = itab1-TOTAL_AMT.
I_FKIMG = itab1-I_FKIMG.
BILL_DATE = itab1-BILL_DATE.
IJ_1ICSTNO = itab1-IJ_1ICSTNO.
VECHICAL_NO = itab1-VECHICAL_NO.
TAX = itab1-TAX.
INV_TXT = ITAB1-INV_TXT.
inv_name = ITAB1-INV_NAME.
INVOICE = ITAB1-INVOICE.
TAX1 = itab1-TAX1.
TAX_VAL = itab1-TAX_VAL.
TAX_ADD_VAL = itab1-TAX_ADD_VAL .
Text_inv = itab1-Text_inv.
TEXT1 = itab1-TEXT1.
TEXT2 = itab1-TEXT2.
TEXT3 = itab1-TEXT3.
TEXT4 = itab1-TEXT4.
TEXT5 = itab1-TEXT5.
P_DOCNO = itab1-vbeln.
CALL FUNCTION w_fmodule
EXPORTING
WERKS = WERKS
TOTAL_QNT = TOTAL_QNT
TOTAL_AMT = TOTAL_AMT
I_FKIMG = I_FKIMG
STATE = STATE
LAND1 = LAND1
LANDX = LANDX
P_DOCNO = P_DOCNO
BILL_DATE = BILL_DATE
IJ_1ICSTNO = IJ_1ICSTNO
T_WERKS = T_WERKS
VECHICAL_NO = VECHICAL_NO
TAX = TAX
TAX1 = TAX1
TAX_VAL = TAX_VAL
TAX_ADD_VAL = TAX_ADD_VAL
inv_txt = inv_txt
inv_name = inv_name
INVOICE = INVOICE
Text_inv = Text_inv
TEXT1 = TEXT1
TEXT2 = TEXT2
TEXT3 = TEXT3
TEXT4 = TEXT4
TEXT5 = TEXT5
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = w_cparam
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = w_outoptions
* USER_SETTINGS = 'X'
IMPORTING
* DOCUMENT_OUTPUT_INFO =
job_output_info = t_otf_from_fm
* JOB_OUTPUT_OPTIONS =
TABLES
ITAB = itabz
ITAB1 = itabz1
IT_ADDRESS = it_addressz
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
iF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ITABz[] = itab[].
ITABz1[] = itab1[].
IT_ADDRESSz[] = it_address[].
ENDLOOP.
t_otf[] = t_otf_from_fm-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
* ARCHIVE_INDEX = ' '
* COPYNUMBER = 0
* ASCII_BIDI_VIS2LOG = ' '
* PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = W_bin_filesize
* BIN_FILE =
TABLES
otf = T_OTF
lines = T_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* To display File SAVE dialog window
CALL METHOD cl_gui_frontend_services=>file_save_dialog
CHANGING
filename = w_FILE_NAME
path = w_FILE_PATH
fullpath = w_FULL_PATH
* USER_ACTION =
* FILE_ENCODING =
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
* presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_bin_filesize
filename = w_FULL_PATH
FILETYPE = 'BIN'
tables
data_tab = T_pdf_tab
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
EndFORM . "get_FORM1
thanks
Keyur
Edited by: keyur chauhan on Aug 30, 2010 11:56 AM
Edited by: keyur chauhan on Aug 30, 2010 11:57 AM
Edited by: keyur chauhan on Aug 30, 2010 12:37 PMThank you!
Unfortunately I didn't find any work around.
Thanks,
Federico -
Blank page in report o/p and o/p notprinted when contains multiple pages
Dear Friends,
I am facing couple of issues while modifying an existing report
1. First page of the report is Blank
2. Report output is not printed when the output contains multiple pages.
Currently, along with the data, the report prints the output format in the first page and some totals in the last page.
The requirement is that we do not want these first and last pages.
For this, i made the following modifications to the report.
In the Layout Model,
*1. Under the body of Header section, we have a repeating frame which is printing the output format that comes out as report first page.*
Both Horizontal and Vertical Elasticity are set to Fixed and below is the code in the format trigger on this repeating frame.
function R_HEADER_PAGESFormatTrigger return boolean is
begin
if :p_header_pages = 0
then return(false);
else return(true);
end if; return (TRUE);
end;I modified this format trigger to always return false as shown below
begin
return false; --statement added by me
if :p_header_pages = 0
then return(false);
else return(true);
end if; return (TRUE);
end;*2. Under the Body of Trailer section, we have a main frame which prints summary information.*
Both Horizontal and Vertical Elasticity are set to Fixed and below is the contents of the Format trigger on this frame
function M_CONTROL_GRPFRFormatTrigger return boolean is
begin
if :report_term_count > 0
then return(true);
else return(false);
end if; return (TRUE);
end; I have modified this trigger to always return False as shown below
function M_CONTROL_GRPFRFormatTrigger return boolean is
begin
return false; --statement added by me
if :report_term_count > 0
then return(true);
else return(false);
end if; return (TRUE);
end;When i run the report after doing these modifications, i am facing the above mentioned problems.
Any idea on why a blank page is coming out before the actual data?
Also when the report output contains multiple pages, the output is not printed. Any idea on this?
Regards,
Sreekanth
Edited by: Sreekanth Munagala on Mar 23, 2012 1:15 AM
Edited by: Sreekanth Munagala on Mar 23, 2012 1:18 AMHi InoL,
I have tried by setting vertical elasticity to variable but the blank plage is still coming in the output.
Also, i am just wondering that blank page is not shown for the trailer page even though the Horizontal and Vertical Elasticty is set to Fixed.
Could you please let me know if you have any idea on this?
+InoL Wrote:+
+And this didn't happen before you made the changes to the format triggers?+ Sorry for not mentioning that this happens when i delete the entire fields and frames in Header section.
Setting the Vertical Elasticy of Header to False and returning false in Format trigger still prints the blank page in addition to the actual data pages.
I have also tried setting the option BLANKPAGES=NO in the concurrent program execution options but still the blank page is not suppressed.
Regards,
Sreekanth
Edited by: Sreekanth Munagala on Mar 25, 2012 8:33 PM -
Multiple page form to email with sessions doesn't send mail
I am creating a multiple page form where a user can apply for finance. I am trying to use session to keep the user input values and then the last page sent the application by email.
My problem is the last step where it doen't send the email. I'm not sure if it the session I'm using is wrong because a simple form without sessions works fine.
here are the forms
First page is the input for with variables
<form action="Finance_form_proposal_Address.php" method="post" >
<span id="sprycheckbox1">
<input name="Disclaimer" type="checkbox" value="yes">
<span class="checkboxRequiredMsg">Please confirm that you have read and understood the Terms and Conditions.</span></span>
<div id="F1"><table width="100%" border="1" align="center" cellpadding="3" cellspacing="2">
<tr>
<td align="right" bgcolor="#F7E4F8" ><strong>Title:</strong></td>
<td align="left" bgcolor="#F7E4F8"><select name="Title">
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Miss">Miss</option>
<option value="Ms">Ms</option>
<option value="Dr">Dr</option>
<option value="Rev">Rev</option>
</select></td>
etc..
</form>
The second form:
Getting values and input new form
<?php session_start();
$_SESSION['Disclaimer'] = $_POST['Disclaimer'];
$_SESSION['Title'] = $_POST['Title'];
$_SESSION['Forname'] = $_POST['Forname'];
$_SESSION['Middle_name'] = $_POST['Middle_name'];
$_SESSION['Surname'] = $_POST['Surname'];
$_SESSION['email'] = $_POST['email'];
$_SESSION['DOB'] = $_POST['DOB'];
$_SESSION['DOB2'] = $_POST['DOB2'];
$_SESSION['DOB3'] = $_POST['DOB3'];
$_SESSION['Gender'] = $_POST['Gender'];
$_SESSION['checkboxGroup1'] = $_POST['checkboxGroup1'];
$_SESSION['checkboxGroup2'] = $_POST['checkboxGroup2'];
$_SESSION['home_phone'] = $_POST['home_phone'];
$_SESSION['mobil'] = $_POST['mobil'];
$_SESSION['marital_status'] = $_POST['marital_status'];
$_SESSION['Occupancy'] = $_POST['Occupancy'];
$_SESSION['Dependants'] = $_POST['Dependants'];
?>
Form on second page
<form action="Finance_form_proposal_Bank_Details_employment.php" method="post"> <input name="Disclaimer" type="checkbox" value="yes">
<div id="F1"><table width="100%" border="1" align="center" cellpadding="3" cellspacing="2">
<tr>
<td align="right" bgcolor="#F7E4F8" ><strong>Correspondence Address:</strong></td>
<td align="left" bgcolor="#F7E4F8"><input name="Correspondence" type="checkbox" id="Correspondence" value="yes" checked="CHECKED">
<label for="Correspondence"></label></td>
</tr>
<tr>
<td bgcolor="#F7E4F8"><strong>Street:</strong></td>
<td bgcolor="#F7E4F8"><input name="Street" type="text"></td>
</tr>
<tr>
<td bgcolor="#F7E4F8"><strong>District:</strong></td>
<td bgcolor="#F7E4F8"><input name="District" type="text"></td>
</tr>
<tr>
<td bgcolor="#F7E4F8"><strong>Town:</strong></td>
<td bgcolor="#F7E4F8"><input name="Town" type="text"></td>
</tr>
etc ..
</form
Third page
Getting values
session_start();
$_SESSION['Correspondence'] = $_POST['Correspondence'];
$_SESSION['Street'] = $_POST['Street'];
$_SESSION['District'] = $_POST['District'];
$_SESSION['Town'] = $_POST['Town'];
$_SESSION['County'] = $_POST['County'];
$_SESSION['Country'] = $_POST['Country'];
$_SESSION['Years'] = $_POST['Years'];
$_SESSION['Months'] = $_POST['Months'];
$_SESSION['Street2'] = $_POST['Street2'];
$_SESSION['District2'] = $_POST['District2'];
$_SESSION['Town2'] = $_POST['Town2'];
$_SESSION['County2'] = $_POST['County2'];
$_SESSION['Country2'] = $_POST['Country2'];
$_SESSION['Years2'] = $_POST['Years2'];
$_SESSION['Months2'] = $_POST['Months2'];
$_SESSION['Street3'] = $_POST['Street3'];
$_SESSION['District3'] = $_POST['District3'];
$_SESSION['Town3'] = $_POST['Town3'];
$_SESSION['County3'] = $_POST['County3'];
$_SESSION['Country3'] = $_POST['Country3'];
$_SESSION['Years3'] = $_POST['Years3'];
$_SESSION['Months3'] = $_POST['Months3'];
Then there is a another form to fill in , wont show that as it is in principle the same.
This is the last page that should sent the data to email:
<?php
session_start();
/* Subject mail variables */
$emailsubject = 'Finance application from PandKshop';
$webmaster = '[email protected]';
/* Gathering Data */
$goods = $_POST['goods'];
$amount = $_POST['amount'];
$Total_Cash = $_POST['Total_Cash'];
$Deposit = $_POST['Deposit'];
$Balance = $_POST['Balance'];
$Payments = $_POST['Payments'];
$Diclaimer = $_SESSION['Disclaimer'];
$Title = $_SESSION['Title'];
$Forname = $_SESSION['Forname'];
$Middle_name = $_SESSION['Middle_name'];
$Surname = $_SESSION['Surname'];
$email = $_SESSION['email'];
$DOB = $_SESSION['DOB'];
$DOB2 = $_SESSION['DOB2'];
$DOB3 = $_SESSION['DOB3'];
$Gender = $_SESSION['Gender'];
$CheckboxGroup1 = $_SESSION['CheckboxGroup1'];
$CheckboxGroup2 = $_SESSION['CheckboxGroup2'];
$home_phone = $_SESSION['home_phone'];
$mobil_phone = $_SESSION['mobil_phone'];
$marital_status = $_SESSION['marital_status'];
$Occupancy = $_SESSION['Occupancy'];
$Dependants = $_SESSION['Dependants'];
$Correspondence = $_SESSION['Correnspondence'];
$Street = $_SESSION['Street'];
$District = $_SESSION['District'];
$Town = $_SESSION['Town'];
$County = $_SESSION['County'];
$Country = $_SESSION['Country'];
$Years = $_SESSION['Years'];
$Months = $_SESSION['Months'];
$Street2 = $_SESSION['Street2'];
$District2 = $_SESSION['District2'];
$Town2 = $_SESSION['Town2'];
$County2 = $_SESSION['County2'];
$Country2 = $_SESSION['Country2'];
$Years2 = $_SESSION['Years2'];
$Months2 = $_SESSION['Months2'];
$Street3 = $_SESSION['Street3'];
$District3 = $_SESSION['District3'];
$Town3 = $_SESSION['Town3'];
$County3 = $_SESSION['County3'];
$Country3 = $_SESSION['Country3'];
$Years3 = $_SESSION['Years3'];
$Months3 = $_SESSION['Months3'];
$Sort_Code = $_SESSION['Sort_Code'];
$Account = $_SESSION['Account'];
$Years_with_Bank = $_SESSION['Years_with_Bank'];
$Months_with_Bank = $_SESSION['Months_with_Bank'];
$CreditCard = $_SESSION['CreditCard'];
$ChequeCard = $_SESSION['ChequeCard'];
$Employment = $_SESSION['Employment'];
$income = $_SESSION['Income'];
$Income2 = $_SESSION['Income2'];
$Occupation = $_SESSION['Occupation'];
$Body = <<<EOD
<br><hr><br>
Goods: $goods <br>
Amount: $amount <br>
Total Cash: $Total_Cash <br>
Deposit: $Deposit <br>
Balance: $Balance
Nine Monthly Payments of : £ $Payments
Title: $Title <br>
Forname: $Forname <br>
Middle Name: $Middle_name <br>
Surname : $Surname <br>
Email: $email <br>
DOB: $DOB/$DOB2/$DOB3 <br>
Gender: $Gender <br>
Home_phone: $CheckboxGroup1 Mobile phone: $CheckboxGroup2 <br>
Home Phone number: $home_phone <br>
Mobile Phone number: $mobil_phone <br>
Marital_Status: $marital_status <br>
Occupancy : $Occupancy <br>
Dependants: $Dependants <br>
Correspondence Address: $Correspondence <br>
Street: $Street <br>
District: $District <br>
Town: $Town <br>
County: $County <br>
Country: $Country
Years: $Years
Months: $Months
Street2: $Street <br>
District2: $District2 <br>
Town2: $Town2 <br>
County2: $County2 <br>
Country2: $Country2
Years2: $Years2
Months2: $Months2
Street3: $Street3 <br>
District3: $District3 <br>
Town3: $Town3 <br>
County3: $County3 <br>
Country3: $Country3 <br>
Years3: $Years3 <br>
Months3: $Months3 <br>
Sort Code: $Sort_Code <br>
Account: $Account <br>
Years with the Bank: $Years_with_Bank <br>
Months with the Bank: $Months_with_Bank <br>
CreditCards: $CreditCard <br>
Cheque Card: $ChequeCard <br>
Employment: $Employment <br>
Income: £$income <br>
Income Frequency: $Income2 <br>
Occupation: $Occupation <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "content-type: text/html\r\n";
$succes = mail($webmaster, $emailsubject, $Body, $headers);
session_destroy();
/* Results rendered as HTML */
$theResults = <<<EOD
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<title>Thank you! The Piano and Keyboard Shop Online</title>
<link rel="STYLESHEET" type="text/css" href="contact.css">
<link href="The Piano and Keyboard Shop.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h2>Thanks for your application!<br />
We endavour to get back to you as soon as possible with application results</h2>
Please contact us on 0116 2541053 if you have any questions regarding your finance application
Return to <a href="../index_main.php">Home Page</a>
<div id="advertising">
<div id="add_left"><a href="Contact.php">Contact us</a><br>
<a href="About.php">About us</a><br>
<a href="Finance.php">Finance</a><br>
</div>
<div id="adds_middle"><a href="term-conditions.php">Terms and Conditions</a><br>
<a href="Privacy-Policy.php">Privacy Conditions</a><br>
<a href="FAQ.php">FAQ</a><br>
</div>
<div id="adds_right"><a href="http://www.youtube.com/user/KeysoundWebsite">Follow us on YouTube</a><br>
<a href="https://twitter.com/KeysoundUK">Follow us on Twitter</a><br>
<a href="https://www.facebook.com/pages/Keysound/163590297024385">Follow us on Face book</a><br>
</div>
</div>
<div id="advertising"> <div id="copy"><img src="files/Images/copyright.gif" width="19" height="22">
</div> </div>
</body>
</html>
EOD;
echo "$theResults";
?>
Is there something wrong with my sessions or just something in the code?Standard Apple Mail. I'm running Yosemite 10.10.1, and I'm amazed to see that About Mail says it's Mail Version 8.1 (1993), copyright 1995-2014 Apple Inc.
Interesting thought, do you think that it doesn't like to work with itself? Actually, I'm fairly sure I've had the problem inside of other apps but I should document that. I'll keep notes to see where this happens. -
How can you develop photo galleries with multiple pages using the web module?
Going through the web module I can see there are many options for developing a web page with a single collection of photos. How can you develop a web site with multiple pages containing different categories of photos using the Lightroom web module?
This thread will give you several ideas.
Re: How do you embed a gallery into an existing website?
Maybe you are looking for
-
Fault message handling in abap client proxy
Hi experts, i have scenario like this SAPECC---XI---WEBservice i was decided to using the ABAP CLIENT proxy in sender side and soap adapter communication in receiver side i will be get the wsdl file form client problem is i am in bit of confusion lik
-
Card reader works on 17 inch PowerBook but not on 12 inch
I have a Compact Flash Card reader (Zio!) that works on my 17 inch PowerBook, but on my 12 inch it does not show up on the desktop when a card is inserted. I have another card reader (Belkin) that works on the 12 inch but it is twice as large and use
-
Connect to external device using ip address in lan
Hi, I have a external device in lan , ,want to connect this external device using ip address.
-
I imported an audio track and even though sound is definitely playing when I play the track, I don't see any waveforms on the display. I had no problems with a previous project, so I'm not sure if I shut something off by accident. I need to see the w
-
Re: customer service number???
Agree....very frustrating and this is the most unbelievable BS service to date. You can even do online chat unless you are a premium. I paid for a skype in number and pay for call credit yet you can get any help. SUCKS big time. I paid for our skype