media 65
Home | Login | Register | Password Reset |

Media 65 Technologies | Beta 0.6 |
User Name:   Password: 

Password Reset
Close


Go Back   Media 65 Forums > Joomla > Joomla Templates

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-09-2007, 11:26 PM
Junior Member
 
Join Date: Dec 2006
Posts: 14
Default dw css link

Hi,

Just to pass this on - I've gone thru a couple of days of trying to understand why images did not display when I put my new template online. I didn't remove the link to the DW css file in the index.php file - once it was removed all worked as expected. What tripped me up is that the template displays correctly on my local pc using JSAS - but once put on the production site it breaks. Your videos/docs might have covered this but after watch a few times I can't recall. So it might be a good idea to give this a more visibility in next updates or faq.

Looking forward to the next release.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-10-2007, 03:47 AM
Administrator
 
Join Date: Sep 2006
Posts: 325
Wink

Hello btimms,

Thank you for the feedback there is a line in the template code
that ask you remove the line once your done creating your template.
<!-- This so you can see the css styles in DW you can delete file once editing Template is complete-->
<link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" />

It helps display your styles in DW.

The issue with not seeing the images most be that your adding them to your
css code as url and when the template loads your getting two calls to the style sheets the last one is king.

It does not know where to find the full path to images.

a quick fix may be to place to above the line below.

So it would look like this.

<link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" />

<link href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css";?>" rel="stylesheet" type="text/css" media="all" />

Your going to like our new KB and tutorials system. Coming soon.

Cheers,
Brian

Last edited by admin; 02-10-2007 at 03:49 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 05:28 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0