Inserting pics from other sites; not possible anymore?

Discuss PivotX 2.0.x here. Non-PivotX related discussions go in The Drain.

Inserting pics from other sites; not possible anymore?

Postby Robbert » Sun Feb 21, 2010 8:32 pm

Hey,

I was a big propononent of the leech option that made it possible to add pics to a blog entry by adding the URL, as opposed to being forced to upload the pic to your own site. Unfortunately, in the last udate, this option was taken out. Will it come back?

Robbert
Virtutis est domare quae cuncti pavent
www.robbertbaruch.nl
User avatar
Robbert
 
Posts: 56
Joined: Sat May 10, 2008 8:00 pm

Re: Inserting pics from other sites; not possible anymore?

Postby hansfn » Mon Feb 22, 2010 7:15 am

Please provide more information. Where exactly is the option removed? From what to what version did you upgrade?
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Inserting pics from other sites; not possible anymore?

Postby Robbert » Mon Feb 22, 2010 12:02 pm

The option is removed in the set of little boxes where you can style, edit etc your blog entries. It is not anymore available in b3, and I am pretty sure it was still there in b1.
Virtutis est domare quae cuncti pavent
www.robbertbaruch.nl
User avatar
Robbert
 
Posts: 56
Joined: Sat May 10, 2008 8:00 pm

Re: Inserting pics from other sites; not possible anymore?

Postby hansfn » Mon Feb 22, 2010 12:19 pm

OK, you are talking about the Wysiwyg editor. It seems you might be correct, looking at a comment in templates_internal/inc_init_tinymce.tpl:
Code: Select all
/* recently removed: pasteword, sub,sup, image, anchor */

You can just edit templates_internal/inc_init_tinymce.tpl to enable the buttons you want. (Make a copy of the file because upgrading probably will overwrite it.)
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Inserting pics from other sites; not possible anymore?

Postby Logfather » Tue Mar 09, 2010 6:58 am

Great work, I found it.

SOLUTION

1. Go to Manage Media > Explore Files
2. pivotx folder > templates_internal folder
3. Edit the inc_init_tinymce.tpl file and look for theme_advanced_buttons1
4. Right underneath there (and underneath theme_advanced_buttons2) it names all the options you have on your WYSIWYG and here you can add stuff like pasteword, sub,sup, image, anchor.

EXAMPLE (I added the 'image' function so I can insert pics from other sites)

theme_advanced_buttons1 : "undo,redo,pastetext,removeformat,fullscreen,|,bold,italic,underline,strikethrough,hr,bullist,numlist,|," +
"cite,acronym,abbr,|,image,link,unlink,|,pivotxImage,pivotxPopup,pivotxDownload,pivotxTag,|,forecolor,backcolor",
theme_advanced_buttons2 : "formatselect,outdent,indent,justifyleft,justifycenter,justifyright,|," +
"tablecontrols,|,charmap,visualaid,code",
/* recently removed: pasteword, sub,sup, image, anchor */


I have put the image tag before link and unlink because this is the 'old place' it used to be in previous versions (according to my previous file). Good luck!
Last edited by Logfather on Mon Mar 15, 2010 2:58 pm, edited 5 times in total.
Logfather
 
Posts: 163
Joined: Sun Jul 12, 2009 9:29 am
Location: Amsterdam

Re: Inserting pics from other sites; not possible anymore?

Postby hansfn » Tue Mar 09, 2010 7:32 am

You are using a new version of PivotX, right? If so, you really, really, really should have a file named pivotx/templates_internal/inc_init_tinymce.tpl If you don't, your installation is broken.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Inserting pics from other sites; not possible anymore?

Postby Logfather » Tue Mar 09, 2010 7:46 am

Yeah I was afraid you would respond before I got my solution typed on when I noticed you got online. :)

But yeah I have beta 3 now 'cause beta 1 had problems with the mysql database info at times. I got my TinyMC fixed now (wasn't looking in the right place) and posted the solution above your post. Thanks Hans!
Logfather
 
Posts: 163
Joined: Sun Jul 12, 2009 9:29 am
Location: Amsterdam

Re: Inserting pics from other sites; not possible anymore?

Postby Baddabing » Fri Sep 17, 2010 10:12 am

is this also posibel to make a link open up in new window again? i used a old versien of pivot and there i can saye if open in new window but now i can not anymore and all open in same window :cry: :cry:
Baddabing
 
Posts: 3
Joined: Fri Sep 17, 2010 10:06 am

Re: Inserting pics from other sites; not possible anymore?

Postby Harm10 » Fri Sep 17, 2010 11:47 am

I think extension External links can do what you want http://extensions.pivotx.net/entry/11/externallinks
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Inserting pics from other sites; not possible anymore?

Postby Baddabing » Fri Sep 17, 2010 12:01 pm

hi thnx for reply, but it alreadey do that for external, what i mean is, when in the old pivot i make a link in a post, i coud select, if i want new window or same window, but now i can not do that any more,, i want some links in my posts to open in new window, even if it is internal link. :oops:
Baddabing
 
Posts: 3
Joined: Fri Sep 17, 2010 10:06 am

Next

Return to 2.x Discussion

Who is online

Users browsing this forum: No registered users and 1 guest