images from wysiwyg editor
- Oliver Georgi
- Site Admin
- Posts: 9901
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
applying patches
Oliver (or whoever would know ,
How are patches applied? Can it be done without reinstalling phpwcms (that is how I thought you had to apply a patch)? I would love to help get the development side of things more organized if I can so there is a better way to submit patches and everything. I saw there was not much info regarding development so if there is a need here for making docs for how to contribute I want to help. I also posted a feature request that reflects this. Great job and the new editor looks like it is perfect with the image library functionality. I am blown away.
How are patches applied? Can it be done without reinstalling phpwcms (that is how I thought you had to apply a patch)? I would love to help get the development side of things more organized if I can so there is a better way to submit patches and everything. I saw there was not much info regarding development so if there is a need here for making docs for how to contribute I want to help. I also posted a feature request that reflects this. Great job and the new editor looks like it is perfect with the image library functionality. I am blown away.
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
Thanks
Hopefully we will be touring in your neck of the woods (in a few yearsFulvio Romanin wrote:ionrock: this is not directly phpwcms related, but your band is cool
listening to the mp3's right now
patches are just the changes files since the last patch so you just need to copy the new files over the old ones.
where I think you have to be carefull is if you are changing stuff too.
then you have a lot of merging to do to be able to apply patches.
for posting modifications that you have made you could post the altered code on this forum i guess. [thats what I have done] - this way if anyone wants that functionality they an ammend thier .php's and if Oliver feels that your code is clean,worthy, in the interest of us all and where he feels phpwcms needs improveing then I hope he would implement it on a mor epermanent basis within the resele builds
if there is a better way to d othis I'd love to know too as this get to be a pain sometimes
where I think you have to be carefull is if you are changing stuff too.
then you have a lot of merging to do to be able to apply patches.
for posting modifications that you have made you could post the altered code on this forum i guess. [thats what I have done] - this way if anyone wants that functionality they an ammend thier .php's and if Oliver feels that your code is clean,worthy, in the interest of us all and where he feels phpwcms needs improveing then I hope he would implement it on a mor epermanent basis within the resele builds
if there is a better way to d othis I'd love to know too as this get to be a pain sometimes
Maybe CVS
I think the best way to do this sort of thing is with something like cvs. I am no expert on it and it is kind of a pain to use but I imagine something like this would be helpful. Also installation scripts would be good so someone could just download a patch file and upload it to the system and it would update everything without making a reinstallation. This would be the same or similar process with adding a new content type (see my post about new content types) or other module. With a little direction from Oliver I would like to start working on this. It sounds like he is crazy productive and it would be good if that productivity could be enhanced and used more easily. That way phpwcms could take over the world as it should
- Oliver Georgi
- Site Admin
- Posts: 9901
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
great tool,
can we use it within phpwcms? change in conf.inc?
found on sourceforge: $phpwcms["wysiwyg_editor"] = 4)
hmm exactly behind the ".. = 3"?
can someone give me the complet line to change?
would be kind.
thanx for hints.
can we use it within phpwcms? change in conf.inc?
found on sourceforge: $phpwcms["wysiwyg_editor"] = 4)
hmm exactly behind the ".. = 3"?
can someone give me the complet line to change?
would be kind.
thanx for hints.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
- Oliver Georgi
- Site Admin
- Posts: 9901
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
thanx oliver,
i made it intuitivly right, but used slimbrowser for all, now using IE it's fine
greetings
i made it intuitivly right, but used slimbrowser for all, now using IE it's fine
greetings
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
CVS
The reason to use something like cvs is to have different branches that are available. This way you can submit a patch to an admin who can look it over to make sure it won't destroy everything and apply it or reject it to a specific branch. This would take some administration that someone(s) would have to do, but it might help. (if this is not new information and I am just saying something obvious to people I do apologize).
In any sense a system for applying patches could be useful if it were in a web interface. Not to mention it would be pretty slick as well. Just my two cents.
I am totally going to apply the new editor patch.
In any sense a system for applying patches could be useful if it were in a web interface. Not to mention it would be pretty slick as well. Just my two cents.
I am totally going to apply the new editor patch.
I just applied the patch with spaw and it works well! No more problems with uploaded transparent GIFs becoming non-transparent.
The path is a bit strange, though -- double forward slashes. For example: [MY_DOMAIN]/site/content//images//more.gif
Removing the extra slash doesn't cause any errors -- appears to work either way. Thanks!
The path is a bit strange, though -- double forward slashes. For example: [MY_DOMAIN]/site/content//images//more.gif
Removing the extra slash doesn't cause any errors -- appears to work either way. Thanks!
- Oliver Georgi
- Site Admin
- Posts: 9901
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
OK I have setup the path value wrong - please change in file "spaw_control.config.php" line 72 to:
Oliver
Code: Select all
$spaw_imglibs[0]['value'] = $phpwcms["root"].$phpwcms["content_path"].$phpwcms["cimage_path"];