|
|||
|
Hi.
I am new to Joomla Template Kit and the whole aspect of Joomla template creation. I am in the middle of creating a test template and have the basic layout done. I have made the logo image and uploaded it in DreamWeaver, where it shows fine. But when I convert it to CMS, save changes to templatedetails.xml and click Preview to view the changes on Localhost, the logo won't show. Only the Alt text appears. Any ideas?
__________________
[url=http://www.deisehost.com]DeiseHost.Com] - Complete Web Solutions CompleteVPS.Com - Top Quality Virtual Private Servers |
|
|||
|
Hi.
I have deleted that template and just started a test one. I am on Windows XP with DW CS3 and using Joonla 1.0* Here is the index.php PHP Code:
__________________
[url=http://www.deisehost.com]DeiseHost.Com] - Complete Web Solutions CompleteVPS.Com - Top Quality Virtual Private Servers Last edited by DeiseHost; 03-24-2008 at 11:37 AM. |
|
|||
|
Hi Brian,
I do have it inside the images folder and have changed the paths in index.php and they are still not showing. I also noticed the following: Image code is not showing in template_css The Newsflash section, when refreshed to show more news, changes the actual size of the table, instead of using an iframe. Hope you can help. Dan
__________________
[url=http://www.deisehost.com]DeiseHost.Com] - Complete Web Solutions CompleteVPS.Com - Top Quality Virtual Private Servers |
|
|||
|
Hi Dan
Images not showing you need to. 1. Put images in the images folder 2. Use the images to CMS wizard. this will add the code to the images to render in Joomla. 3. if you need to view the images in DW you need to run the images to DW wizard. if your using JTK 2.1 and Joomla 1.0.X Code:
<img src="/joomla/Test1/template_thumbnail.png" width="149" height="117" /> Code:
<img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/";?>template_thumbnail.png" width="149" height="117" /> this path is not right "joomla/Test1/" needs to be "images"/logo.png. as for your iframe issue I have no idea. Cheers, Brian |
|
|||
|
Hi Brian,
Here is my updated index.php PHP Code:
Regarding the iframe for newsflash, you made the program right?
__________________
[url=http://www.deisehost.com]DeiseHost.Com] - Complete Web Solutions CompleteVPS.Com - Top Quality Virtual Private Servers |
|
|||
|
Hi Dan,
Code:
<img src="/joomla/Test1/<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>template_thumbnail.png" alt="logo" width="149" height="117" /> make sure that your image are in the images folder. |
|
|||
|
Hi I have done this and still the same.
Image cannot be found on this server. I have the image in the template images folder and it just will not show.
__________________
[url=http://www.deisehost.com]DeiseHost.Com] - Complete Web Solutions CompleteVPS.Com - Top Quality Virtual Private Servers |
|
|||
|
Now when I go to view the template in Joomla I get this:
PHP Code:
__________________
[url=http://www.deisehost.com]DeiseHost.Com] - Complete Web Solutions CompleteVPS.Com - Top Quality Virtual Private Servers |
![]() |
| Thread Tools | |
| Display Modes | |
|
|