Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Need to change/remove text "BIRT report viewer" from header,address bar and title bar
abhijitKol
Hi,
As per my project requirement, I need to change/remove text "BIRT report viewer" from header,address bar and title bar.
Could you guys plz tell me,how to do that.
Find more posts tagged with
Comments
mwilliams
In your URL to run the report, you can use the URL parameter &__title=yourTitle. Hope this helps.
swapnil8
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="98003" data-time="1332172254" data-date="19 March 2012 - 08:50 AM"><p>
In your URL to run the report, you can use the URL parameter &__title=yourTitle. Hope this helps.<br /></p></blockquote>
<br />
<br />
Hi <br />
I too want to do the same. This is the approach I used but it has some problems.<br />
<br />
I made the changes in the file--><br />
webcontent\birt\pages\layout\FramesetFragment.jsp<br />
But font-size of title is very small. I tried to increase it but its not <br />
being displayed on the web page.I tried to insert images in the heder but its <br />
not working. I gave complete image path still the images are <br />
not shown in the web page header. Need help.<br />
<br />
<br />
Here is the code I used.<br />
<br />
<!-- Header section --> <TABLE ID='layout' CELLSPACING='0' CELLPADDING='0' STYLE='width:100%;height:100%'><br />
<%<br />
if( attributeBean.isShowTitle( ) )<br />
{%><br />
<TR><br />
<TD COLSPAN='2'><br />
<TABLE BORDER=0 CELLSPACING="0" CELLPADDING="1px" WIDTH="100%" align="center"><br />
<TR align="center"><br />
<strong class='bbc'><TD > <img src="D:\new\Tomcat 6.0\webapps\birt\webcontent\birt\images\LOGO1.jpg" style="height: 49px; width: 132px; "></TD><br />
<TD style="color:blue; font-size: 100"><B>Delivery Dashboard</B></TD><br />
<TD><img src="D:\new\Tomcat 6.0\webapps\birt\webcontent\birt\images\imagesC.jpg" style="height: 49px; width: 132px; "></TD> <br />
</TR></TABLE></TD></TR><br />
<br />
Here is the snapshot of the report (viewed on tomcat server)</strong>
mwilliams
Try this instead:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<!-- Header section --> <TABLE ID='layout' CELLSPACING='0' CELLPADDING='0' STYLE='width:100%;height:100%'>
<%
if( attributeBean.isShowTitle( ) )
{%>
<TR>
<TD COLSPAN='2'>
<TABLE BORDER=0 CELLSPACING="0" CELLPADDING="1px" WIDTH="100%" align="center">
<TR align="center">
<TD > <img src="birt/images/LOGO1.jpg" style="height: 49px; width: 132px; "></TD>
<TD style="color:blue; font-size:25px"><B>Delivery Dashboard</B></TD>
<TD><img src="birt/images/imagesC.jpg" style="height: 49px; width: 132px; "></TD>
</TR></TABLE></TD></TR>
</pre>
swapnil8
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="101584" data-time="1338587605" data-date="01 June 2012 - 02:53 PM"><p>
Try this instead:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<!-- Header section --> <TABLE ID='layout' CELLSPACING='0' CELLPADDING='0' STYLE='width:100%;height:100%'>
<%
if( attributeBean.isShowTitle( ) )
{%>
<TR>
<TD COLSPAN='2'>
<TABLE BORDER=0 CELLSPACING="0" CELLPADDING="1px" WIDTH="100%" align="center">
<TR align="center">
<TD > <img src="birt/images/LOGO1.jpg" style="height: 49px; width: 132px; "></TD>
<TD style="color:blue; font-size:25px"><B>Delivery Dashboard</B></TD>
<TD><img src="birt/images/imagesC.jpg" style="height: 49px; width: 132px; "></TD>
</TR></TABLE></TD></TR>
</pre></p></blockquote>
<br />
thanks it worked
mwilliams
Great! Glad to help! Let us know whenever you have questions!
Arif shah
<blockquote class="ipsBlockquote" data-author="mwilliams" data-cid="101584" data-time="1338587605"><div><p>Try this instead:
</p><pre class="_prettyXprint _lang-auto _linenums:0"><!-- Header section --> <TABLE ID='layout' CELLSPACING='0' CELLPADDING='0' STYLE='width:100%;height:100%'><%if( attributeBean.isShowTitle( ) ){%><TR><TD COLSPAN='2'><TABLE BORDER=0 CELLSPACING="0" CELLPADDING="1px" WIDTH="100%" align="center"><TR align="center"><TD > <img src="birt/images/LOGO1.jpg" style="height: 49px; width: 132px; "></TD><TD style="color:blue; font-size:25px"><B>Delivery Dashboard</B></TD><TD><img src="birt/images/imagesC.jpg" style="height: 49px; width: 132px; "></TD> </TR></TABLE></TD></TR></pre></div></blockquote><p> </p><p>Hi Williams,</p><p> </p><p>I have tried the above code but it only changes the title in the header. Can you please tell me how to change the title of the tab/browser window as shown in the attached image</p><p> </p><p>Arif</p>
Arif shah
<blockquote class="ipsBlockquote" data-author="Arif shah" data-cid="128449" data-time="1402308357"><div><p>Hi Williams,</p><p> </p><p>I have tried the above code but it only changes the title in the header. Can you please tell me how to change the title of the tab/browser window as shown in the attached image</p><p> </p><p>Arif</p></div></blockquote><p> </p><p>Sorry here is the image</p><p> </p><p>Arif</p>
mwilliams
<p>In the FramesetFragment.jsp, change the line:</p><p> </p><p><TITLE><%= attributeBean.getReportTitle( ) %></TITLE></p><p> </p><p>at the top of the <HEAD> section to:</p><p> </p><p><TITLE>yourTitle</TITLE></p>