Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Funkydunk's COOL mod for total meta tag control

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 07-13-2003, 05:16 AM
 
avi avi is offline
 

Newbie
  
Join Date: May 2003
Posts: 8
 

Default Does it of a must to use HTML CATALOG

Friends

When using this - Should it be require to use HTML CATALOG
Also, It is hard to understand how it will work, Does the HTML function amend the html pages when changes are made. Or does it will be require to do all from square one. The manual is very unclear with regard to this all.


Thanks
Reply With Quote
  #12  
Old 07-13-2003, 06:36 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

You should be using the html catalogue if you are concerned about better search engine positioning. The php based store does not index as well as pure html.

I always drop my existing catalog when i generate a new one. I don't see any advantage to keeping the existing pages. **EDIT** Never drop your catalogue if possible. Some of those pages may be indexed and you will lose valuable traffic to 404 errors.
Reply With Quote
  #13  
Old 07-27-2003, 08:34 AM
 
jgkiefer jgkiefer is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 85
 

Default

Does this Meta Mod work with 3.4????
Reply With Quote
  #14  
Old 08-14-2003, 05:44 PM
 
jfinn98 jfinn98 is offline
 

Member
  
Join Date: Jul 2003
Location: Charlotte usa
Posts: 11
 

Default Funkydunk, any reason why my title is sticking to the page

Funkydunk, thanks for offering the mods.

I had no problems inserting the codes and seeing what it does.
However when making category modifications I am seeing one there.

when I add title metas etc. then hit update, everything disapears. seems like it will not take the update.


next is:

when I go into company options and make changes to comapny title, meta keywords. Seems like this does update.

however, when I create my catalog (dump the old) and take a url to my browser I am only seeing the category name show up in the TITLE.

this is one of the most important things so I hope there is a simple way to fix or perhaps a small detail I have missed.

my cart version is:

X-Cart version 3.4.3
PHP 4.2.2




Thanks a lot man!

John Finney
__________________
John Finney
\"A good day is going to sleep
knowing more than you did when you woke up.
Reply With Quote
  #15  
Old 08-16-2003, 03:50 PM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

Thanks as well for the mod.

I'm running 3.4.4 and it seems to be running fine. not sure if this deals with the mod or not but only thing I have ran into though is when viewing the Cart the page comes across as <title>#NAME?</title>

And on the checkout pages the title comes across empty.
Reply With Quote
  #16  
Old 08-17-2003, 10:41 AM
 
Cameron Cameron is offline
 

eXpert
  
Join Date: Jan 2003
Location: Washington State, USA
Posts: 224
 

Default

Jfinn, be sure that the MySQL patch was successful. It sounds like what you're having happen could be caused by missing information SQL info for the mod.

Rodneyw, here is some modified code for the title tag:
Quote:
{elseif $main eq "order_message"}
{$lng.txt_subtitle_thankyou}
{elseif $main eq "pictures"}
{$lng.txt_pictures}
{else}
{$lng.txt_site_title}
{/if}

The 'pictures' is in there because of an extra page that I added to the cart and I wanted a unique title for it. That can be applied to any extra pages you add to your xcart site.

Cameron
Reply With Quote
  #17  
Old 08-18-2003, 05:09 AM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

well I found my issue, it was in the language library.

The following entries had #NAME? listed as the value ..

{$lng.txt_subtitle_cart}

{$lng.txt_subtitle_checkout}

{$lng.txt_subtitle_thankyou}

Out of curiosty does anyone have an idea why this happened or is it a default setting that needs to be changed on initial installation??
Reply With Quote
  #18  
Old 08-24-2003, 05:07 PM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

Just as a FYI the modifications to the Mets.tpl file will break the webmaster mode in x-cart 3.4.4

Here is the "patched" version of the meta.tpl file that I am using with this to make it work.

Code:
{* $Id: meta.tpl,v 1.9 2002/11/19 14:53:27 ndv Exp $ *} {* funkydunk metamod *}{if $current_category.meta_description ne ""}<META NAME="description" CONTENT="{$current_category.meta_description}">{else}<META NAME="description" CONTENT="{$config.Company.meta_description}">{/if}{* end of funkydunk metamod *} {if $current_category.meta_tags ne ""} <META NAME="keywords" content="{$current_category.meta_tags}"> {* funkydunk metamod *}{else}<META NAME="Keywords" CONTENT="{$config.Company.meta_keywords}">{* end of funkydunk metamod *}{/if} {* funkydunk metamod 2003 *} <META NAME="title" CONTENT="{$config.Company.meta_title}"> {* end of funkydunk metamod*} <META NAME="ROBOTS" CONTENT="INDEX,FOLLOW"> <META HTTP-EQUIV="Pragma" CONTENT="noarchive"> <META NAME="audience" CONTENT="all"> <META NAME="revisit-after" CONTENT="7 days"> <META NAME="Content-Language" CONTENT="en-us,english"> <META NAME="distribution" CONTENT="global"> {if $webmaster_mode eq "editor"} {if ($usertype eq "P" or $usertype eq "A") and $login} <script>var store_language = "{$current_language}"</script> {else} <script>var store_language = "{$store_language}"</script> {/if} {if $user_agent eq "ns"} <script src="{$SkinDir}/editorns.js"></script> {else} <script src="{$SkinDir}/editor.js"></script> {/if} {/if}
Reply With Quote
  #19  
Old 09-11-2003, 07:03 PM
 
dealsondeals dealsondeals is offline
 

eXpert
  
Join Date: Dec 2002
Location: Dallas, Texas, USA
Posts: 231
 

Default

Great Mod!

Shouldn't this be moved to the "Custom Templates" section of the forum?

Regards,

Glen
__________________
Never understimate stupidity.
--------
X-Cart Version: 3.5.2
Hosting:mind-in-design.net
Configuration: Virtual Dedicated Server || Intel Pentium 4 2.4 GHZ CPU || 1024MB PC2100 DDR RAM || Linux || PHP 4.3.2 || MySQL server 4.0.14
Reply With Quote
  #20  
Old 09-12-2003, 07:31 AM
 
jtheuman jtheuman is offline
 

Newbie
  
Join Date: Aug 2003
Location: Treasure Island, FL USA
Posts: 7
 

Default Database patch

Could you help me here a bit. I am not sure just how to patch the database. Could be that all of this is new to me! Please help this old FORTRAN programmer!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:04 PM.

   

 
X-Cart forums © 2001-2020