Matatags under the javascript problem

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ablegeek
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Tue Jun 10, 2008 11:48 am

Matatags under the javascript problem

Post by ablegeek » Fri Sep 26, 2008 1:26 pm

We are working with an online advertising company and they told us the fact that the metatags are under the javascript is a big disadvantage when it comes to search engine optimization.
I looked on the code but I found no way to flip the mata tags to the top of the header on the page. Where do I go to do that?
Thank you!
"Life is like riding a bicycle. To keep your balance you must keep moving." - Albert Einstein

ablegeek
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Tue Jun 10, 2008 11:48 am

Re: Matatags under the javascript problem

Post by ablegeek » Fri Sep 26, 2008 4:27 pm

OK, I found a way to bypass the metatag allocation provided by AbleCommerce by creating a <asp:ContentPlaceHolder> in /Layouts/Scriplets.master and adding the metatags from my aspx content page using the <asp:Content>.

Now I can't get rid of the empty <title></title> that still shows on the page even though I removed the Title="" from the top of the aspx page.

Do you have any ideas where those <title></title> come from and how can I get rid of it?

Thank you!
"Life is like riding a bicycle. To keep your balance you must keep moving." - Albert Einstein

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Matatags under the javascript problem

Post by jmestep » Fri Sep 26, 2008 4:36 pm

Depending on whether it is a category or product-- on product, the title is on the .aspx page. On categories, it is on the conlib/whatever.ascx.cs.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

ablegeek
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Tue Jun 10, 2008 11:48 am

Re: Matatags under the javascript problem

Post by ablegeek » Fri Sep 26, 2008 4:58 pm

I actually want to change the metatags on pages like privacy.aspx that ware not product pages but they still use the same layout as the rest of the web site.

For example I removed the Title="Privacy" from this .aspx page as you suggested but it still shows the <title></title> tags and I don't want to have duplicate <title></title> tags on the same page since I want to handle the title on my code not the AbleCommerce code.
"Life is like riding a bicycle. To keep your balance you must keep moving." - Albert Einstein

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Matatags under the javascript problem

Post by jmestep » Sat Oct 11, 2008 9:12 am

Here is one thing I found to work. Client has a page called hotprods.aspx. I added the title in that page with this:
<asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="PageContent">
<cb:ScriptletPart ID="HotProducts" runat="server" Layout="Left Sidebar" Content="HotProducts" Title="Best Sellers at UptownEnterprises" AllowClose="False" AllowMinimize="false" />
</asp:Content>

Can you post the code you used to reposition your scripts? I'm not understanding it.
Thanks
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply