| General Support Questions about using the Easy PHP Calendar. (Not installation or customizations) |
 |
Image properties doesn't work |
 |
06-10-2009, 12:09 PM
|
#1
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
Image properties doesn't work
I have try to insert an image into an event with alignment to the left and hspace set to 10px, but after save all changes image is not formatted properly (there is no alignment and hspace info in a database).
Thank you for any help.
|
|
|
|
06-10-2009, 02:19 PM
|
#2
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
|
Try turning off XSS security using the Setup Manager.
|
|
|
|
06-10-2009, 02:48 PM
|
#3
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
|
|
|
|
06-10-2009, 02:51 PM
|
#4
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
|
Are you using an HTML editor? It may be stripping it out (the calendar isn't)...
|
|
|
|
06-10-2009, 03:00 PM
|
#5
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
You mean to switch to HTML mode during event edition?
|
|
|
|
06-10-2009, 03:07 PM
|
#6
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
Situation looks like:
- adding photo to the event description (used Tiny MCE from the Event Manager)
- set image properties (looks fine in the Tiny MCE)
- click again on the image properties (there is no info about alignment and h-space)
- switched to HTML mode - no info about alignment and h-space
|
|
|
|
06-10-2009, 03:08 PM
|
#7
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
|
Then, TinyMCE is removing the alignment HTML. You may need to check with them about how to fix this. Probably some clean-up code they use.
If you turn Tiny off and manually edit the event, you can add the attributes and they will save.
|
|
|
|
06-10-2009, 03:24 PM
|
#8
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
OK, I will go this way.
Another question - at the top of the calendar I have navigation buttons but they doesn't work ether. I have under them for ex. action="index.php?co-gdzie-kiedy????? (bunch of question marks).
|
|
|
|
06-10-2009, 03:32 PM
|
#9
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
|
Are you integrating the calendar directory into this page or are you calling another file with the calendar in it?
|
|
|
|
06-10-2009, 03:44 PM
|
#10
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
I have a smarty template co-gdzie-kiedy with this code in:
{php}
$LIST=1;
$listDays = 1;
$DF = "l, j F, Y";
$template="modern.php";
require("calendar/calendar.php");
$TOC=1;
require("calendar/calendar.php");
{/php}
|
|
|
|
06-10-2009, 03:51 PM
|
#11
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
|
PHP is probably sending the wrong link...
Add this code before the calendar:
<?php $thisFile = "LINK"; ?>
Replace LINK with the file name of the page.
|
|
|
|
06-10-2009, 04:09 PM
|
#13
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
Still no luck, but we are closer to fix it. After added a new line I have got this:
action="http://dziennik.raszkiewicz.com/co-gdzie-kiedy?co-gdzie-kiedy?????"
Part 'action="http://dziennik.raszkiewicz.com/co-gdzie-kiedy?' is correct, the rest is not.
|
|
|
|
06-10-2009, 04:12 PM
|
#14
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
|
Smarty is hard to work with when you're integrating actual PHP inside of templates. It's ok to do easy PHP stuff, but inserting scripts is pretty hard. It doesn't retain variables between {php} blocks as each block is run as a function.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
|
|
|
|
06-10-2009, 04:22 PM
|
#15
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
So I need to turn off navigation and do own hardcoded version to get working this?
|
|
|
|
06-10-2009, 08:16 PM
|
#16
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
|
You can't do custom navigation table for the TOC mode. What are you using right now for $thisFile?
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
|
|
|
|
06-10-2009, 08:21 PM
|
#17
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
|
|
|
|
06-10-2009, 08:27 PM
|
#18
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
|
I don't think you'll be able to use the navigation at all as the variables from the URL don't seem to get parsed at all. So even if you managed to get the proper value in $thisFile, it still wouldn't work with the framework that you're using.
Edit: I think your best option is probably to use an iFrame and leave the calendar completely out of the Smarty template.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
|
|
|
|
06-10-2009, 08:31 PM
|
#19
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
I will try this as well.
|
|
|
|
06-10-2009, 09:07 PM
|
#20
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
So far no luck
Last edited by JackTheKnife; 06-10-2009 at 09:10 PM.
|
|
|
|
06-10-2009, 09:24 PM
|
#21
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
Finaly got it
|
|
|
|
 |
Image Alignment Issues |
 |
07-06-2009, 04:33 PM
|
#22
|
|
Calendar User
enkode is offline
Join Date: Jul 2009
Posts: 2
|
Image Alignment Issues
Quote:
Originally Posted by JackTheKnife
Finaly got it 
|
What exactly did you do to fix this issue? I'm having the same problem. Thanks!!
|
|
|
|
07-06-2009, 05:29 PM
|
#23
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
Issue with TinyMCE or a calendar as an object?
|
|
|
|
07-06-2009, 07:47 PM
|
#24
|
|
Calendar User
enkode is offline
Join Date: Jul 2009
Posts: 2
|
Quote:
Originally Posted by JackTheKnife
Issue with TinyMCE or a calendar as an object?
|
TinyMCE and the alignment of images. I cant align left.
|
|
|
|
07-06-2009, 08:10 PM
|
#25
|
|
Calendar User
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
|
There is an issue with TinyMCE. You need to go to the TinyMCE forum and there was a description how to fix it (a small change inside the code). I do not remember exact topic, but if you can not to find I will do it.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:59 AM.
|