ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Modifying viewCat_h.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Modifying viewCat_h.asp

 Post Reply Post Reply Page  <12
Author
Message
Nothing View Drop Down
Newbie
Newbie
Avatar

Joined: 02-November-2005
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nothing Quote  Post ReplyReply Direct Link To This Post Posted: 06-December-2005 at 4:43pm
I tried the [ code ] trick without any luck. the forum is still messing up the code.

maybe a text file will work better?
2005-12-06_164132_Forward-Back-Buttons.txt


thanks
nothing
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 07-December-2005 at 2:23am

We didn't develop this application. So we are still learning how to use it ourselves too. It's a shame if you can't post ASP code. Did you try this?

Rich Text Editor (WYSIWYG) posting issues

If you are using Internet Explorer 5+ (windows only), Netscape 7.1, Mozilla 1.3+, Mozilla Firebird 0.6.1+, and if the forum administrator has enabled it you should have a Rich Text (WYSIWYG) Editor to type your messages with. If you find that you are having problems posting using the WYSIWYG editor then you can disable this WYSIWYG Editor by simply editing your profile and selecting to turn off the WYSIWYG Posting Editor.

Maybe it helps.



Edited by earlyimp - 07-December-2005 at 2:23am
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
Nothing View Drop Down
Newbie
Newbie
Avatar

Joined: 02-November-2005
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nothing Quote  Post ReplyReply Direct Link To This Post Posted: 07-December-2005 at 4:49am
Thansk for the tip.
Yes, i disabled the WYSIWYG editor in the settings options, tried to edit the code and no luck. I’ve cut and pasted from text documents, ms word, hand typed it and no difference.

I also un-checked the “Enable Forum Codes to format post” option. didn't help.

I don’t mind uploading the text documents, but if I were to leave this forum (delete my account on this site) would the files I’ve uploaded be deleted? Does searching the forum also search attached files?

I’m using win2k server with firefox 1.5 and IE 6.0 and also
winXP with firefox 1.1 and  IE 6.0

test

<a  href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent  -1 %>">
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent -1 %>">
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent -1 %>">
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent -1 %>">
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent -1 %>">


<a  href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent  -1 %>">
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent -1 %>">
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent -1 %>">


<% If iPageCount>1 then 'If Page count is more then 1 show page navigation %>
<table width="<%=scprdTableWidth%>" border="0" cellspacing="0" cellpadding="3">
<tr>
<td>
<div align="right">
<font face="<%=FFType%>" color="<%=FColor%>" size="2"><b>
<% If iPageCurrent > 1 Then %>
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent -1 %>">
<img src="<%=rsIconObj("previousicon")%>" border="0"></a>
<% End If
For ICount=1 To iPageCount
If ICount=iPageCurrent Then %>
<%= ICount %>
<% Else %>
<a class=privacy href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=ICount%>">
<font color="<%=Link%>"><%=ICount%></font>< ;/a>
<% End If
Next
If iPageCurrent < iPageCount Then %>
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent +1%>">
<img src="<%=rsIconObj("nexticon")%>" border="0"></a>
<% End If %>
</b></font></div>
</td>
</tr>
</table>
<% end if 'end of page navigation %>


____________________________
<a  href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent+1%&g t;">
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent+1%&g t;">
<img src="<%=rsIconObj("nexticon")%>" border="0"></a><img src="<%=rsIconObj("nexticon")%>" border="0"></a>
____________________________





Edited by Nothing - 07-December-2005 at 5:01am
Back to Top
BlazingPepper View Drop Down
Newbie
Newbie


Joined: 22-October-2005
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BlazingPepper Quote  Post ReplyReply Direct Link To This Post Posted: 09-December-2005 at 10:32am
Would it be possible for EarlyImpact to post a new viewCat_h.asp code with the page links at the top?  This is something I really could use too and I'm not having any luck with the tweaking the ASP code either.  Sounds like a lot of others would like this feature as well.  It would be beneficial to everyone.  Thanks in advance for your consideration about this.
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 09-December-2005 at 11:42am

There is an article in the knowledge base that might be helpful:

http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=321

Remember to check the knowledge base for answers to questions. We regularly update it with new FAQ's. We'll edit the interface of this forum soon to place a link to the knowledge base for here too.

The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
BlazingPepper View Drop Down
Newbie
Newbie


Joined: 22-October-2005
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BlazingPepper Quote  Post ReplyReply Direct Link To This Post Posted: 13-December-2005 at 8:31pm
Thanks EarlyImp -- that worked for me. 
Back to Top
blackdesk View Drop Down
Newbie
Newbie


Joined: 23-November-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote blackdesk Quote  Post ReplyReply Direct Link To This Post Posted: 09-June-2006 at 10:09pm
works great once you fix all the extra spaces & junk :o]

anyone know where exactly i would paste this into the
viewcat & viewcat_Brands to achieve the same result?

thanx!
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 10-June-2006 at 8:00am

For any of the list pages where you want to add paging at the top, the best bet is to look for code like the following which leaves some blank space after the breadcrumbs on the top of the page:

[
<tr>
  <td><img src="images/spacer.gif" width="1" height="15" alt=""></td>
</tr>
]

Add a new table row right after this section and then put your page navigation in that new row. Remember that you need to change the name of the ASP page from the sample code to use the page you are working on, i.e. viewcat.asp, viewCat_Brands.asp, etc.

If you are pretty comfortable with ASP, we actually recommend creating a generic PageNavigation subroutine with all the parameters you need and put it in an include file. (We pass the URL and the total record count.) Then include that file in any page where you want to have page navigation and just call the subroutine at the top and bottom of each category or product list.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 10-June-2006 at 8:10am

Another idea...if you are really adventuresome...you can create one ASP page to replace the Featured Products, Best Sellers, New Arrivals and Specials pages. The pages are almost identical except for the SQL code used to generate the list of products. Then just pass a querystring to the new ASP page to show which products you want to display and use the query string to determine which SQL code to use. The advantage of this is that you can define the page navigation and custom view of products on one ASP page vs. 4 pages. That makes managing changes much simpler.

If you want to see a sample of this, check out www.poshera.com and look at the hyperlink for any of the 4 pages on the left navbar that I mention above. They all use the same page to display products and just pass in the pagetype. The top and bottom navigation use a subroutine so the code isn't duplicated which makes any changes easier to manage.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.