Home pcDTR Forum
If you like the work i do, you know what to do.
Welcome, Guest
Please Login or Register.    Lost Password?

Does it work in local host?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Does it work in local host?
#35
Does it work in local host? 10 Months, 1 Week ago Karma: 0
It's not working for me. I'm using Xampp 1.7.1 for windowns.

But maybe that's not the problem. So, I've installed the last version of the plugin. It change te fonts but not to the font appointed in the file "fonts", even in the example that came with the plugin.

In what file do I have to put this lines? <?php include 'pcdtr/php/class.php'; ?>, <?php ob_end_flush(); ?> as explained here - code.google.com/p/pcdtr/. (The stylesheet I've linked in my template.css)

Thanks a lot.
maxmedeiros
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#71
Re:Does it work in local host? 9 Months, 4 Weeks ago Karma: 2
The code.google.com/p/pcdtr/ is just an example for the css. You don't need to add anything from that page.

If you use the default template for joomla and enable the plugin, you will see the magic right away.
flowman
Admin
Posts: 110
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#96
Re:Does it work in local host? 9 Months, 2 Weeks ago Karma: 0
I also want to test this plugin on localhost testing server.

My server is XAMPP v1.7.0 for Windows. I installed Joomla 1.5.15 in a subfolder in htdocs directory, named 1515.

Then I installed this plugin and enabled it.

I insered a new DIV in my article and assigned it a unique ID value.

Then I refreshed the frontend page, but both the article Title and the text in my new DIV disappeared.

I checked the source code of that page, it seems that pcDTR plugin can't give a correct path to the CSS file and the background image.

Following are the source code:

Code:

  <link rel="stylesheet" href="/1515\media/pcdtr/css/styles.css" type="text/css" media="screen" />
  <link rel="stylesheet" href="/1515\plugins/system/pcdtr/css.php" type="text/css" media="screen" />



Code:

#pcdtr1{background-image:url(/1515\plugins/system/pcdtr/png.php?id=1&rand=235);width:131px;height:24px;}


You can see that, pcDTR used a wrong backslash in the path.

Maybe this is the problem?

Or did I missed something?

Please give me some help. Thanks.
baijianpeng
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
http://www.joomlagate.com/

Chinese Joomla Users' Portal
 
#100
Re:Does it work in local host? 9 Months, 2 Weeks ago Karma: 2
Yes its the \ that does the error. Can you test the attached version 2.0.6 for me and see if it fixes the error.

In the admin for the plugin i think you need to change the font location from 'media/pcdtr/fonts' to 'media\pcdtr\fonts' when you use windows.
flowman
Admin
Posts: 110
graph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/22 15:47 By flowman.
The administrator has disabled public write access.
 
#104
Re:Does it work in local host? 9 Months, 2 Weeks ago Karma: 0
Version 2.0.6 works well out of box!

You had solved this backslash problem.

Thanks for your help.

I have a new question, please see it here:

http://pcdtr.otherland.se/index.php?option=com_kunena&Itemid=53&func=view&catid=5&id=103#103
baijianpeng
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
http://www.joomlagate.com/

Chinese Joomla Users' Portal
 
#106
Re:Does it work in local host? 9 Months, 2 Weeks ago Karma: 2
Thx for the test. Will upload the new version then.
flowman
Admin
Posts: 110
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Banner
Copyright © 2010 pcDTR. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.