.asp File Called In A Blogger.com Template?
I have an .asp file that generates a nav menu.
I have tried and tried to "include" this in the blogger template, so that I can update the menu dynamically, without fiddling with a cumbersome blogger template all of the time.
The question is, does anyone know how I can "call" this file in to the template successfully?
I have tried using <script> tags: something like:
<script type="text/javascript" src="http://url.com/menu.asp"></script>
But had no success.
Does anyone know how I can accomplish this?
View Replies
ADVERTISEMENT
My global.asa is not being called.. any idea what may be the problem
View Replies
View Related
I am getting the below error when i am calling function of dll in my asp page.
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'GenerateWelcomeLetter'
/cgi-bin/Anagram_Utils/welcome_letter/generatedoc.asp, line 72
dim a
a = false
a = welcome.GenerateWelcomeLetter (qry,template_filename, save_filename)
The function in dll is having boolean as the return type. Can someone plzzz tell me what can be the problem. I am using dll for the first time in asp.
View Replies
View Related
My web site HTML comes from a database via querystring e.g. page.asp?pid=55. I have a separate asp search page, search.asp. Its output is retrieved by an ajax call from page.asp and its HTML is then neatly wrapped and styled by page.asp.
I want search.asp to recognise if it is not being called via ajax frompage.asp, but directly e.g. via the address bar (and if so, redirect to page.asp). Do I need to put something into the posted string, or (better) is there an asp method that can do this?
The ajax call is
function GetSearchPage(st) {
var poststr = "searchterm=" + encodeURI(st);
makePOSTRequest('/search/search.asp', poststr,'divFullSearchDisplay');
}
View Replies
View Related
I don't know the exact operators, but it's something like:
a?b:c
Which translates to:
If a = TRUE then
return b
else
return c
end If
I need this for an ASP script.
View Replies
View Related
I have the a function which creates a table of search results from a paramater passed from the page Request as shown below..
<%
GetSearches(unescape(Request("serialNumber")))
%>
Is there a way to detect when this function has finished execution as i want to page a page loader on the page until all the HTML is build and ready for rendering? I have the page loader in a div so when the above function finishes i would like to disable or hide it via Javascript. That bit is fine it's just the how to send a call to the Javascript so the DIV can be hidden is the problem.
View Replies
View Related
I have a logout button for my admin system. I really need on logout, to go back to the login page. This is fine but I also need the session set to false. I could do this via using a secondry page called logout.asp, and place inside that something like session.abandon and a response.redirect. But I do not wish to have a secondry page.
View Replies
View Related
my web application has user name and password, whenever user logged in i set his status in database as 1 so that only one user can logged at one time with same login and i
write a code to set status to 0 on logout menu, but if session expired then status will remain 1.
i have written code to set staus to 0 in onSession_End sub but it not work all the time. Sometimes it works and sometimes not. So i m looking for an alternative way of doing it
View Replies
View Related
I'm running my script locally and the cookie has been saved on the machine because the login page is by-passed (with the Redirect to "menu.asp" below.
OK - but where is my cookie stored? Or at least give me clue. What will the cookie be called and what text will it contain if:
iAuthorID = 1
iSecurityLvl = 3
uName = "barny" ?
The machine user is "flintstone" and machine name is "W2KPro". The CookieName will be "mABmyASPBlog" ....
View Replies
View Related
When some of the SQL Server stored procedures I have written are called via
my Classic ASP page I have written I get the following error in the cell that
is supposed to be retrieving a single result:
"ADODB.Recordset error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name
or ordinal.
/Default.asp, line 130"
I have no idea why this could be occuring. Some of the other stored
procedures work just fine. Any one have any ideas?
View Replies
View Related
I don't know if this is a truly esoteric question, or not, but I'm
wondering how (or even if) you handle a timeout on a transaction
within a stored procedure executed in a Stored Procedure?
A theoretical example of the stored procedure (sadly, I'm not allowed
to post the actual code):
Create proc sp_testproc @myval int, @outval int OUTPUT as
begin tran
select top 1 @outval= myname from mytable where recid = @myval
update mytable set myname='xxxx' where recid = @myval ...
View Replies
View Related
This is a mix of technologies so I hope I've put this in the right place.
I have a system where people can sign up to a data feed. They place a single line of Javascript on their web page and a formatted banner of products is displayed based on the options they have chosen in their affiliate account.
<script language="Javascript" src="http://www.somewhere.com/feed.asp"></script>
The original system was built by our developer 3 or 4 years ago, and worked fine. However, he built the system using two ASP files - feed.asp which looks like this:
Code:
View Replies
View Related
can use template with asp like php ?
View Replies
View Related
I am looking for a website that provides a message board template.
Also one that provides a form that allows customers to pay membership dues online while inputing information to be stored in a database.
View Replies
View Related
I am trying to update a website that uses ASP to connect to a database.
I want to change a template file i have so that it is CSS driven with as few tables as possible.
I have managed to strip the tables from the header and footer sections of the template and replace them with divs and CSS styled unordered lists.
I am struggling with the site breadcrumb, navigation and main content areas as these use ASP code to draw data from a database (i dont have access to the database). The site is updated using a Content Management System.
The main site webmaster has told me that a CSS driven template is unworkable. I think that she just cannot be bothered to change with the times and therefore won't move to a CSS driven layout. She took great lengths explaining that she had been doing the job for six years and that tables were the best way to go.
I have the template file i'm trying to change. I have included the full template unchanged below. The template code is below: Code:
View Replies
View Related
I need sample in asp how ? so when I change into news/link/ or somthing then I get the info in default ??? can somone tell me how? or where I can find templete in ASP not html??
Default.asp
Include
Left.asp
Right.asp
Top.asp
Bottom.asp
View Replies
View Related
Are there any template engines out there for ASP? I'm a PHP guy at heart and I love my Smarty template engine. Is there a template engine out there for ASP that is comparable to Smarty? Are there any template engines at all for that matter?
View Replies
View Related
I need to create a template for an online newsletter that will auto-generate
page number (with current page not hyperlinked) and previous and next
buttons (no previous on first page and no next on last page).
Does anyone know of any quick asp code that will do this? I don't think
that it'd be too hard to do, but I'm very new at asp. Code:
View Replies
View Related
Is it possible to open a Outlook Template via ASP? The template will be housed on the webserver itself.
View Replies
View Related
My client has 35 domains (web addresses) that they want to host on a Windows 2K box with IIS 5. They want one application built using ASP and SQL server, hosted somehow on the IIS so that it appears as the same application for each domain. The end user of each domain will actually be using the same application.The head of each of the 35 domain, or the jr. web master of each domain should be able to cutomize the look of the each of their domain. This customization feature would be built into the ASP application. Things that can be changed would be some text, color of text, size and color of input boxes.
This application will be similar to some of the eCommerce sites that have a web interface for their merchants to be able to modify their individual sites. Sort of selecting and modifying templates. They want 1 application so any changes and update of the application will reflect on all domains.My question is how do I start designing this?
Where can I get info on this project, any opensource stuff I can look at?
Do I incorporate XML anywhere?The domains will be accessing the same DB, how do I minimize DB trips?
View Replies
View Related
I have created a word template(.dot) with several bookmarks but know I don't know how to fill this information from the asp page. I have to retrieve the information from the database and fill the information in the word document Code:
View Replies
View Related
i work a lot with smarty that is a template manager for php.. there is someone similar for asp ?
View Replies
View Related
I am looking for a script or a tutorial on how to generate a web page by having a user fill in a few chosen fields and entering the information into some preprogrammed html code using variables.It would then display their page and underneath it the html code.
Exactly like this, but in asp or cold fusion:
http://www.tupics.com/freead/create.pl
View Replies
View Related
I would like to code a message template. I have 2 pages here, to ease my illustration, I named it as FirstPage.asp and SecondPage.asp. I had coded a button on FirstPage.asp, so that when user clicks on the button,then the SecondPage.asp will pop up and a list of messages which is retrieved from database will be displayed, row by row accordingly.
my doubt is how to set a selected message from SecondPage.asp to put it in FirstPage.asp's textbox?
View Replies
View Related
Does anybody have the code to open a Word template held on the same machine, from an asp page,. say path is "C: emplatesBuild1.dot". I've tried a lot of different codes but none open it. If this is possible can I write to it with "response.write" statements.?
View Replies
View Related
I am implementing print template solution. I would like to use it in asp
app. I open new document then generate print preview then print and
finally close preview window, but I am not able to close previewed document.
I try to move document window out of screen - somewhere like
9999999,9999999 position, view preview then print and finnaly close
preview window. Then document window is invisible but still exists.
How can I close the document window after preview??
I belive it would be better solution if I could open printed document in
my ActiveX (with browser ActiveX included) but trying do it I receive
login page :-( . I am not able to share session between document and
implemented ActiveX.
View Replies
View Related
I have just been asled to produce an facility on an existing web site that allows users to go to a page which contains four business card designs. They would then select a design and be able to fill in the details they want on the selected card whilst they are on line and send the information to the company for printing. If this make sense can anyone help?
View Replies
View Related
Does anyone know of a good template class/system, which I can use in my ASP pages to seperate HTML from ASP?
View Replies
View Related
Can anyone do me a huge favour? I need an asp template page which will pull data and display it on that page, from an XML file.
The file doesnt contain all the data, its a query to data on a server within our work.
Ive tried endlessley from tutorials etc and the best ive had is a message saying "XML DATA RETRIEVED"
I just cant get the phonelist.xml file to display, basically its a list of staff name / email / phone extension.
View Replies
View Related
I have seen PHP scripts that that define an iHTML template and then set an array that is used by the iHTML file to add code fragments. Does anyone know how an iHTML template can be used by ASP?
View Replies
View Related
I have different templates for different companies to be sent to the customer. first i get all the templates from the DB by giving: Select templates from tempates;
Now i want the user to select one..may be we can have a radio button displayed near the textarea in which i will be displaying the templates from DB. Once the agent selects one of the templates to be sent,that template should be sent as an email to the customer.
How do i go on achieving this ,with good formatted template in the DB?
View Replies
View Related
As creating folders after a form submission is quite easy (as pointed out in my last post - thanks again) I was wondering If it was also possible to create a new permanent ASP page based on a template .
All that needs to be changed is the title of the page and the file name. However the new page must be a copy of the template (only with these changes in it.
View Replies
View Related
I'm looking for an ASP template class, that's up to par with Smarty. I really need a few functions that Smarty has, like assign, section, custom functions and the ability to use arrays in my templates. I doubt anything like it exists in ASP, but I'm still hoping... anyone know of any template class that comes near Smarty?
View Replies
View Related