Graphical Text MOD - FINAL - Version 2.0

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

cyrano wrote:great stuff this means we can use any ttf-font on the website?

and for example also only the headline for example?

coool :lol:
Exactly :).
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

Leute jetzt mal ohne Scheiße - der mod ist der absolute hammer - wer's nicht sieht ist blind oder kein typo fan.

ICH KANN NUR SAGEN - DAS ROCKT HEFTIG

hi peops - this is an absolutly kicking like a wild rodeo mod. jérôme is on fire...
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
snobba
Posts: 166
Joined: Sat 6. Mar 2004, 12:41
Location: Sweden
Contact:

Post by snobba »

HEHE!! GREAT STUFF JEROME!!

Funny because I sat yesterday and thinking about this and thought, hmmm, to bad we do not have that for the phpWCMS.....and then I looked at the forum and what do I see - a new MOD with this! It a great and flexible way of creating titles on a page without going back to the designprogram,write, upload and put it on the page...


Thanks,

Greetings from Martin
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi jérôme,

would it be possible with this mod to replace the page titel?

e.g. i open a page called contact, so i can hide articel head.

but would it be able to replace this head?

greetings and well done stuff. respect!
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Yes, it will do what you want. You can use this replacement tag whereever replacement tags can be used, so as well in page titles or in templates.
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

oh man you are so great...

wish to be able to do also great things.

keep on running :o
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

No, I am just tall, not great (almost 2 meters) :)
snobba
Posts: 166
Joined: Sat 6. Mar 2004, 12:41
Location: Sweden
Contact:

Post by snobba »

Strange because I thought I had the latest phpWCMS...I have the upgrade from 4/4 and upgraded the wcms from 28/4 but when I want to find:

Code: Select all

#
#-----[ FIND ]------------------------------------------
#

		case "modules":


#
#-----[ FIND IN THE "MODULES"-AREA ]------------------------------------------
#

				default:

I just have:

Code: Select all

case "modules":	//Modules -> later
						echo 'in preparation - will follow later';
						break;
No 'default'!?

Is this something that have been upgraded in your company mod and I do not have?

Greetings from Martin / Sweden
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post by nekket »

snoba: same problem here :(
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post by nekket »

Snobba: Try this solution:
case "modules": //Modules -> later

case 2: // Graphical Text MOD
include_once "./include/inc_module/mod_graphical_text/main.inc.php";
break;
echo 'in preparation - will follow later';
break;
Works fine for me!
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Oooops, yes. I am sorry, I haven't thought at this.

It would be better if you did it the following way (because of the 'default', this is more clean):

Code: Select all

		case "modules":	//Modules
	   					switch ($p) {
							
							case 2: // Graphical Text MOD
									include_once "./include/inc_module/mod_graphical_text/main.inc.php";
									break;
									
							default: echo '';
									 break;
						}
						break;
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post by nekket »

DAMN! The GT Tag doesn't work here?! :-(
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

it works on my localhost and frold has tested it on his server, so I think it should work.

Could you please describe me what you have done?
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post by nekket »

OK,
reinstalled phpwcms (newest version, no other mods).
Installed the script. The graphical text modul is visible and working in admin-area.

Created a simple text content part with

Code: Select all

{GT:bit3:7:FF3300:test}
but: the {GT:bit3:7:#FF3300:Überschrift} appears on the site and is not replaced by a graphic :(
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

That is strange...

Have you used a '#' in your color definition? You should not...
Locked