Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Image properties doesn't work
Old 06-10-2009, 12:09 PM   #1
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default 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.
 

Old 06-10-2009, 02:19 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

Try turning off XSS security using the Setup Manager.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 06-10-2009, 02:48 PM   #3
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

I have XSS disabled. Link: http://dziennik.raszkiewicz.com/co-gdzie-kiedy
 

Old 06-10-2009, 02:51 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

Are you using an HTML editor? It may be stripping it out (the calendar isn't)...
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 06-10-2009, 03:00 PM   #5
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

You mean to switch to HTML mode during event edition?
 

Old 06-10-2009, 03:07 PM   #6
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

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
 

Old 06-10-2009, 03:08 PM   #7
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

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.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 06-10-2009, 03:24 PM   #8
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

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).
 

Old 06-10-2009, 03:32 PM   #9
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

Are you integrating the calendar directory into this page or are you calling another file with the calendar in it?
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 06-10-2009, 03:44 PM   #10
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

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}
 

Old 06-10-2009, 03:51 PM   #11
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

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.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 06-10-2009, 04:00 PM   #12
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

So far I have fixed image align issue More about this fix here: http://tinymce.moxiecode.com/punbb/v...ic.php?id=9879
 

Old 06-10-2009, 04:09 PM   #13
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

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.
 

Old 06-10-2009, 04:12 PM   #14
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

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.
 

Old 06-10-2009, 04:22 PM   #15
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

So I need to turn off navigation and do own hardcoded version to get working this?
 

Old 06-10-2009, 08:16 PM   #16
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

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.
 

Old 06-10-2009, 08:21 PM   #17
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

$thisFile =" http://dziennik.raszkiewicz.com/co-gdzie-kiedy "
 

Old 06-10-2009, 08:27 PM   #18
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

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.
 

Old 06-10-2009, 08:31 PM   #19
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

I will try this as well.
 

Old 06-10-2009, 09:07 PM   #20
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

So far no luck

Last edited by JackTheKnife; 06-10-2009 at 09:10 PM.
 

Old 06-10-2009, 09:24 PM   #21
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

Finaly got it
 

Image Alignment Issues
Old 07-06-2009, 04:33 PM   #22
enkode
Calendar User
 
enkode is offline
Join Date: Jul 2009
Posts: 2
Cool Image Alignment Issues

Quote:
Originally Posted by JackTheKnife View Post
Finaly got it
What exactly did you do to fix this issue? I'm having the same problem. Thanks!!
 

Old 07-06-2009, 05:29 PM   #23
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

Issue with TinyMCE or a calendar as an object?
 

Old 07-06-2009, 07:47 PM   #24
enkode
Calendar User
 
enkode is offline
Join Date: Jul 2009
Posts: 2
Default

Quote:
Originally Posted by JackTheKnife View Post
Issue with TinyMCE or a calendar as an object?
TinyMCE and the alignment of images. I cant align left.
 

Old 07-06-2009, 08:10 PM   #25
JackTheKnife
Calendar User
 
JackTheKnife is offline
Join Date: Jun 2009
Location: Poughkeepsie, NY
Posts: 76
Default

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.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Popup Image issue Invictus General Support 2 12-09-2008 09:39 PM
Security image issue in phpMyDirectory bravenewniche Customizations (Themes / Templates) 4 05-29-2008 08:08 AM
TOC calendar does not work for more than 2 events sidyndao General Support 5 07-16-2007 04:14 PM
Monthly.php Background image in cell easyphpfan Customizations (Themes / Templates) 6 04-08-2007 07:42 AM
img tags won't work with txt on cal/multi cal gen jingles General Support 4 08-29-2005 05:56 PM



All times are GMT -4. The time now is 03:59 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |