Image w/link Content Part?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Darkmatter
Posts: 23
Joined: Sat 30. Jul 2005, 17:27

Image w/link Content Part?

Post by Darkmatter »

Is there a mod that would allow to add a content part such as a single image with a link attached to the image? It seems silly to have to always create HTML content for such a thing.

Thanks!
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

How about trying the WYSIWYG HTML content part:
-"insert" graphic
-"select" graphic
-"linkify" graphic
Darkmatter
Posts: 23
Joined: Sat 30. Jul 2005, 17:27

Post by Darkmatter »

DeXXus wrote:How about trying the WYSIWYG HTML content part:
-"insert" graphic
-"select" graphic
-"linkify" graphic
Yes, but unfortunately you can't reference a pic in your FILE org (unless you tell me otherwise). My understanding is that you have to use the picture folder or other folder without the file management.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Oh, I see, you're right, if you don't use FTP takeover or internal upload button of file center... then no thumbnails & no record of file's existence is available for WYSIWYG editor. But I ~believe~ the folder "/picture" is meant ONLY for manual referencing. I ~THINK~ "/picture/upload" (file center way) creates thumb and can maybe be seen in WYSIWYG. Dunno, can't get to installation right now and I normally do "manual" referencing. SORRY
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Have a look, please. Is that, what you are searching for?

http://www.phpwcms.de/forum/viewtopic.p ... image+link
Darkmatter
Posts: 23
Joined: Sat 30. Jul 2005, 17:27

Post by Darkmatter »

pepe wrote:Have a look, please. Is that, what you are searching for?

http://www.phpwcms.de/forum/viewtopic.p ... image+link
Yes, excellent!!!!

Thank you very much!

One more thing... can you specify the destination for the url as a "_blank" page somehow?
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

What do you wanna do... set the width and height of the new windows, or what?
Darkmatter
Posts: 23
Joined: Sat 30. Jul 2005, 17:27

Post by Darkmatter »

pepe wrote:What do you wanna do... set the width and height of the new windows, or what?
That would be nice as well, but more simply I'd like to specify that the link open a new window instead of re-using it.
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

image-caption|alt-Text of the Image|http://url.de _blank

image-caption|alt-Text of the Image|{SITE}index.php?alias _blank



Tht's just the type of link, you are searching for.... opens the linked Target inside a new window
Darkmatter
Posts: 23
Joined: Sat 30. Jul 2005, 17:27

Post by Darkmatter »

pepe wrote:image-caption|alt-Text of the Image|http://url.de _blank

image-caption|alt-Text of the Image|{SITE}index.php?alias _blank



Tht's just the type of link, you are searching for.... opens the linked Target inside a new window
Amazingly simple! :)

What is the {SITE} tag used for and why would you need it?

Thanks again!
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

What is the {SITE} tag used for and why would you need it?
Say my URL is :

http://phpwcms-templates.de

and my special site, i'm aiming at, has the alias: guestbook

now you can write the whole link:

http://phpwcms-templates.de/index.php?guestbook

or you take the shortform:

{SITE}index.php?guestbook


But why should i do that:

Becaus i use my localhost for develope the sites, i take the second version... and so i'm able to use the same link (relative) as well in my local machine as on the server :-)

after uploading the site, all funktions are OK... Nothing to change!!!

Is' nt that a good idea of Oliver Georgi :idea:

And, the very best, you can use this {SITE}index.php?guestbook thing all over the script!

I need it inside the FCKeditor too, while linking my WHYSIWYG text-links :wink:
Post Reply