Graphical Text MOD - FINAL - Version 2.0
At this moment, every graphic is generated each time the page is reloaded. But now, I get the point for the first time - I think somebody else has already mentioned something in this direction, but I did not understand what he meant.
It would be certainly more efficient to create an image and store it on the server and to use it as a normal image afterwards.
But this would require a complete restructuration of this MOD. It would not be a dynamic MOD anymore, but more likely to an image generator.
I will have to think about that. But I can already tell you that this will not be just a small thing and take quite a lot of time which is worsened by the fact that I can't spend so much time on my MODs anymore, because I have other projects .
But they will be done .
- Jérôme
It would be certainly more efficient to create an image and store it on the server and to use it as a normal image afterwards.
But this would require a complete restructuration of this MOD. It would not be a dynamic MOD anymore, but more likely to an image generator.
I will have to think about that. But I can already tell you that this will not be just a small thing and take quite a lot of time which is worsened by the fact that I can't spend so much time on my MODs anymore, because I have other projects .
But they will be done .
- Jérôme
frold wrote:plz deletecmslover wrote: Note the third part original code from Oliver is :
Code: Select all
case "modules": //Modules -> later echo 'in preparation - will follow later'; break;
Sorry Frold, I don't understand what you mean?
if you have that included in your file it needs to be deleted
Cause then you have to times the "action"
Cause then you have to times the "action"
... sorry I was in a hurry this morningcase "modules":....
http://www.studmed.dk Portal for doctors and medical students in Denmark
Re: does not work in RC3?
Jérôme wrote:If the entry appears in the "Articles"-Column, I assume that you must have messed up something while copypasting the code during install. From the code that you pasted later, I can't see an error, but there must be something wrong if you can't see it .cmslover wrote:Hi Jerome,
I have RC3 and just installed your mod. In Article column it show" Graphical Text " but clicking on it will direct me to MODULES column with these words "in preparation - will follow later"
Any idea?
Thanks
I have my installed the MOD on a fresh RC3 and I had no problems... I am sorry I can't give you any solution to your problem right now... And I also don't know if and, if yes, why the news MOD could cause a problem...
Ok, I found the problem
Code: Select all
case "modules": //Modules switch ($p) { ...
Code: Select all
case "modules": //Modules
switch($p) {
http://www.phpwcms.de/forum/viewtopic.php?t=1683
And Thanks Frold! I got your NEWS mod working too!
Have a wonderful day!!
HERE ARE SOME SAMPLES !!!!
HI !
I made a site with some samples. Look at my site to see how it works.
I used some freeware fonts and it looks cool. Big THANKS at Jérôme !!!!
LOOK AT THIS !!!!!
http://cms.web-intrest.de/index.php
Ciao
Keules
I made a site with some samples. Look at my site to see how it works.
I used some freeware fonts and it looks cool. Big THANKS at Jérôme !!!!
LOOK AT THIS !!!!!
http://cms.web-intrest.de/index.php
Ciao
Keules
Hi there!
It's really a phantastic mod !
But (jep volks, there's a 'but') it's a lot to slow. I've install the function on my "firm" page under http://www.hyparchiv.de and let it render the navigation. The page have a average clic fequency of 60 - 80 clics per minute. The server goes total down while rendering the navigation (It's a single Itanium2 with 2,4 Ghz). So I think we should think about a caching concept behind. Otherwise the script is absolute not recomend to pages with a hit fequency of more than 10 - 15 clicks per minute. I have at the moment absolute no clue how to build such a temp-caching-function.
The other "but" I allready discuss with Jerome via ICQ was the possibility of integrating the function in redering the Breadcrumbs, NAV_TABLE_COLUMN and so on. But to me it seems, that we should solve the problem of the cache first?!
So, any suggestions to the temp-cache are wellcome here.
Thanks,
Florian
It's really a phantastic mod !
But (jep volks, there's a 'but') it's a lot to slow. I've install the function on my "firm" page under http://www.hyparchiv.de and let it render the navigation. The page have a average clic fequency of 60 - 80 clics per minute. The server goes total down while rendering the navigation (It's a single Itanium2 with 2,4 Ghz). So I think we should think about a caching concept behind. Otherwise the script is absolute not recomend to pages with a hit fequency of more than 10 - 15 clicks per minute. I have at the moment absolute no clue how to build such a temp-caching-function.
The other "but" I allready discuss with Jerome via ICQ was the possibility of integrating the function in redering the Breadcrumbs, NAV_TABLE_COLUMN and so on. But to me it seems, that we should solve the problem of the cache first?!
So, any suggestions to the temp-cache are wellcome here.
Thanks,
Florian
The cacheing issue is being thought of and will be solved. The problem of high server load is known and on my ToDo-List. It is just a question of time (of which I don't have too much).
I can also inform you that it is definitively planned to include the generation of graphical text into the core of phpwcms. Again: this is a matter of time.
Meanwhile, I will include a notice in the first post that the MOD is not recommended for sites with a huge amount of accesse.
I can also inform you that it is definitively planned to include the generation of graphical text into the core of phpwcms. Again: this is a matter of time.
Meanwhile, I will include a notice in the first post that the MOD is not recommended for sites with a huge amount of accesse.
Yes, the caching concept is a a good one.
First of all, all thanks to Jerome and his labor of love. Simply a great job!
I think averyone agrees that the caching concepts is a good one. Since I am not a hardcore coder, I will be patient and see what Jerome cooks up next release. I wanted to bring up the NS 4.75 issues, since I loaded Keules page. Looks something like this:
Jerome, what is strange is that the workaround you provided with ' ' worked in cases where the style was not declared, at least on my localhost wintel box
if no style declared (or it is mistyped 'hedder'..............
works (shows complete sentence in netscape -- small type, with no control (defaults)
if a 'header' style declared (or other standard Graphical Text Mod syntax is used) it throws a missing image error in NS, similar as above.
So basicaly there is something of a bug in Netscape's handling of either the the GD code or the formatting fo the requests via the GET method. I am not sure what to make of this, but I do belive there is a workaround. Unfortunately , I do not have much time at the moment, but I wanted to share this issue, since this mod is really, really powerful. I only wish I knew more about the requests and GET formatting to offer more help.
I will continue to watch this thread.
cheers,
jsw
I think averyone agrees that the caching concepts is a good one. Since I am not a hardcore coder, I will be patient and see what Jerome cooks up next release. I wanted to bring up the NS 4.75 issues, since I loaded Keules page. Looks something like this:
Jerome, what is strange is that the workaround you provided with ' ' worked in cases where the style was not declared, at least on my localhost wintel box
if no style declared (or it is mistyped 'hedder'..............
works (shows complete sentence in netscape -- small type, with no control (defaults)
if a 'header' style declared (or other standard Graphical Text Mod syntax is used) it throws a missing image error in NS, similar as above.
So basicaly there is something of a bug in Netscape's handling of either the the GD code or the formatting fo the requests via the GET method. I am not sure what to make of this, but I do belive there is a workaround. Unfortunately , I do not have much time at the moment, but I wanted to share this issue, since this mod is really, really powerful. I only wish I knew more about the requests and GET formatting to offer more help.
I will continue to watch this thread.
cheers,
jsw
Re: Yes, the caching concept is a a good one.
jsw, I am sorry to tell you that this is a false conclusion of yours (a german called "Trugschluss").
The generated images are created with an ALT-Text that contains the text that is being generated. That means: if you create a GT-image "This is a test.", the ALT-attribute contains "This is a test.", too.
All Mozilla-Browsers (NS 4.x-7, Mozilla, Firefox, etc.) show the complete ALT-text, if an image can not be loaded (or if someone has disabled images in his browser).
So you don't see the image but only the ALT-text. Sorry to disappoint you in this point
The generated images are created with an ALT-Text that contains the text that is being generated. That means: if you create a GT-image "This is a test.", the ALT-attribute contains "This is a test.", too.
All Mozilla-Browsers (NS 4.x-7, Mozilla, Firefox, etc.) show the complete ALT-text, if an image can not be loaded (or if someone has disabled images in his browser).
So you don't see the image but only the ALT-text. Sorry to disappoint you in this point
The GD code is processed on the server, so the browser is not concerned with the process of generating the images. I do actually believe that this is a GET-request handling problem.jsw_nz wrote:So basicaly there is something of a bug in Netscape's handling of either the the GD code or the formatting fo the requests via the GET method.