Support Forums

2 probs, image description ans seo

This is a discussion on 2 probs, image description ans seo within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? The latest 4.2.1 What template are you using? Modified version of default. ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 11-10-2010, 12:02 PM   #1
Customer
 
redmtnex's Avatar
 
Join Date: Jan 2007
Posts: 55
Rep Power: 17
redmtnex is on a distinguished road
Default 2 probs, image description ans seo

What version of 68 Classifieds are you running?
The latest 4.2.1
What template are you using?
Modified version of default. Added google adsence, added two links to side links and the bigbox.gif is my own.

Please describe in detail the issue you are having:

1- Image descriptions, captions. They are not displaying in the ads.
2- SEO_MOD_v2.1.1 will not work. After activation IE returns a "Whoops this link apears to be broken".
I placed the .htaccess in the root renaming/removing the #1. I added
Code:
<base href="{$smarty.const.URL}/" />
just above the css line.
Here is how it is inserted in my template

Code:
{*$Revision: 441 $*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
	<meta name="author" content="Luka Cvrk (www.solucija.com)" />
	<title>{$sitetitle}</title>
	<meta name="Keywords" content="{$sitekeywords}" />
	<meta name="Description" content="{$sitedescription}" />
	{if $smarty.server.SERVER_PORT == '443'}
	<base href="{$smarty.const.URLS}/" />
	{else}
	<base href="{$smarty.const.URL}/" />
	{/if}
   <base href="{$smarty.const.URL}/" />
	<link rel="stylesheet" href="templates/{$smarty.const.MAIN_TEMPLATE}/css/style.css" type="text/css" />
	<script type="text/javascript" src="javascript/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="javascript/main.js"></script>
	{$header}
	{modulehook function="tpl_layout_head" options=""}
</head>
<body>
__________________
Toyota Motorhome Classifieds 4.1 Designer - Toyota Motorhome Forums Invision Power Board
redmtnex is offline   Reply With Quote
Old 11-10-2010, 12:08 PM   #2
Customer
 
redmtnex's Avatar
 
Join Date: Jan 2007
Posts: 55
Rep Power: 17
redmtnex is on a distinguished road
Default

I need to add that using the default template has the same results for both problems. I am presently re-uploading the site along with the default template to see if that fixes anything.
__________________
Toyota Motorhome Classifieds 4.1 Designer - Toyota Motorhome Forums Invision Power Board
redmtnex is offline   Reply With Quote
Old 11-10-2010, 03:28 PM   #3
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,053
Rep Power: 61
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by redmtnex
Code:
>
	{if $smarty.server.SERVER_PORT == '443'}
	<base href="{$smarty.const.URLS}/" />
	{else}
	<base href="{$smarty.const.URL}/" />
	{/if}
   <base href="{$smarty.const.URL}/" />
why do you have your base href in there twice? the default being between the smarty logic
{if} ... {/if}
Then you have it listed by itself again.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 11-10-2010, 03:29 PM   #4
Staff
 
Join Date: Mar 2006
Posts: 485
Rep Power: 29
Blair will become famous soon enough
Default

I've looked up your account. You've gotta current support subscription so please submit a support ticket with ftp and administration access so that the staff can take a closer look. Thanks!
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 11-11-2010, 10:32 AM   #5
Staff
 
Join Date: Mar 2006
Posts: 485
Rep Power: 29
Blair will become famous soon enough
Default

For the SEO problem......

You're hosting on Godaddy. They've got some sorta funky "Global" mod_rewrite setting that doesn't actually show up on the server's phpinfo page. So, the first thing I did was remove the "<if mod.....>" clause at the beginning of the htaccess file (as well as the ending </if> at the end of the file) to prevent the check from being performed.

Secondly, you've got your script installed in a subdirectory so I added the following directive in htaccess:
Code:
RewriteBase /classifieds
where 'classifieds' is the name of installation location's directory.

Moving on to the image title problem next....
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 11-11-2010, 10:53 AM   #6
Staff
 
Join Date: Mar 2006
Posts: 485
Rep Power: 29
Blair will become famous soon enough
Default

You're using the viewlisting2.tpl file. It appears it that the file doesn't list the image title under the image. The fix was to simply grab the [[title]] value and put it after the <br /> so that the code block looks like this:
Code:
{html_table_adv loop=$data cols=$cols table_attr='width="100%"'}
     <a href="photos/[[image]]" title="[[title]]" class="thickbox" rel="gallery"><img src="thumbs/small_[[image]]" alt="[[title]]" /></a><br />[[title]]
{/html_table_adv}
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 11-11-2010, 10:55 AM   #7
Customer
 
redmtnex's Avatar
 
Join Date: Jan 2007
Posts: 55
Rep Power: 17
redmtnex is on a distinguished road
Default

Thanks Blair
I see the SEO is working perfectly.
The image captions are also working.
Thank you very much!
Greg
__________________
Toyota Motorhome Classifieds 4.1 Designer - Toyota Motorhome Forums Invision Power Board
redmtnex is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolved early install probs NOW THIS!? guillopuig Technical Support 2 10-30-2009 07:37 PM
Image Gallery ~ Image not 100% shown bhavdip Technical Support 5 10-16-2009 07:26 AM
Hide image when no image is uploaded? MiśUszatek Modules / Plugins / Modifications 1 09-11-2008 09:37 PM
Description text below image in RSS/external.php business Modules / Plugins / Modifications 1 07-02-2008 07:42 PM


All times are GMT -4. The time now is 10:45 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0