#1 2010-08-07 15:44:56

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Add posibility to choose internal URL from article file browser

Add possibility to choose internal URL from article file browser.

At this time it is possible to add "hard coded URL-s".

It would be nice to add possibility to browse internal site structure. and add url from there

Offline

#2 2010-08-07 23:12:41

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 927
Website

Re: Add posibility to choose internal URL from article file browser

Planned.


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#3 2010-08-08 23:06:14

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Add posibility to choose internal URL from article file browser

Also, make "Website title" field multilingual, now only description is multilingual.

It would be nice to have "development" button in CMS. when activated, on mouse over system woud show administrator <Ion:> tags for particular field.

Some light version of developer module in Drupal if you understand what am I trying to say.

Offline

#4 2010-08-08 23:11:23

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Add posibility to choose internal URL from article file browser

Btw, i cannot fin tag for website description in documentation?

<ion:site_title /> - is for title (it is not multilingual)

i tried <ion:site_description /> but it doesn't work

Offline

#5 2010-08-08 23:45:15

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Add posibility to choose internal URL from article file browser

<ion:meta_description />


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#6 2010-08-09 00:06:32

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Add posibility to choose internal URL from article file browser

Thanks.

I thought that by description is ment something like "site slogan" ( too much Drupal thinking)

Offline

#7 2010-08-09 11:47:10

Guardian
Ion Tester
From: Mragowo, Poland
Registered: 2010-08-02
Posts: 133
Website

Re: Add posibility to choose internal URL from article file browser

I know this is resolved now but if you did need something like a site slogan you can add the tag in one of your templates view files, for example in your_theme/views/pages/header_home.php

<ion:translation term="slogan" />

Example of code use (which I'm using in my custom theme)

<body>
   <!-- pages/header_home.php -->
   <div id="wrapper">
        <!-- Header -->
        <div id="header">
            <!-- website name  -->
            <h1><a href="<ion:base_url />"><ion:site_title /></a></h1>
            <!-- slogan -->
         <h2><ion:translation term="slogan" /></h2>


            <div id="header-arrow"></div>
        </div>
        <!-- Header end -->

You can then translates 'slogan' into whatever languages you have active by going to Content -> Translations

Offline

#8 2010-08-09 11:59:46

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Add posibility to choose internal URL from article file browser

Yes, that is the solution for a slogan, thanks Guardian.


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#9 2010-08-09 12:04:27

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Add posibility to choose internal URL from article file browser

I understand that ( that is how I created text in yellow "star" on the site).

But thank you anyway, may be good for newcomers.

Offline

#10 2010-08-11 08:07:26

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Add posibility to choose internal URL from article file browser

Also, for "file" or "video" (media), it would be nice to add option to file browser "External source".

For example, i want to link to bigger file hosted on Dropbox public account, but i am limited because I cannot select it.

I have to add it through article, not through media manager.

Thank you.

Offline

#11 2010-08-11 08:32:23

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Add posibility to choose internal URL from article file browser

The role of Media Manager is to load to the hosting where is located Ionize a file, which I think it does pretty well. Or were you thinking of something else, can you explain more because I am not sure to understand well how you imagine it.


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#12 2010-08-11 09:33:42

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Add posibility to choose internal URL from article file browser

Also, when you add file through media manager, you cannot select option to open file in new window.

(at least I didn't saw that option).

And yes, it is for local files only, but it would be nice if it could add external file url the same way as it was internal ( add url then treat is at it was local - on click open extra window where you can enter title etc.)

This is just a suggestion

Example here: http://www.brac-property.eu/en/documentation

Last edited by porga (2010-08-11 09:34:09)

Offline

#13 2010-08-11 10:15:33

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 927
Website

Re: Add posibility to choose internal URL from article file browser

The purpose of the Ionize Media Manager is to "link" media to an article.
Every media can have meta data for each defined website language.

Linking a media is very easy for the end user, because the article view will define how to display it regarding the kind of media (this is the developper job).

This linking has also its positive and negative points :

Positive :
- Using the media manager to create a gallery is very easy
- Availability of meta data for each media in each language

Negative :
- The media cannot be displayed in the middle of the text. It is before or after (depending on the view)

Now... I understood your question and the solution should be to add a link in Ionize's articles to add an "other" media, which could be external.

Now comes several questions :
If the external media is a youtube video, or an external picture, the user should copy the youtube code or the link to the external picture
That means we need to implement, for media defined as "other", another flag to define which king of other content it is : youtube code, external image, external quicktime movie, external mp3, external coffe cup, external "what else"... wink
Once this is done, the developer should be able to define in the view how each "other" media should be opened : new window, inline popup, etc, as it is working today.

We will think about it, but it's a big job.
I think adding Youtube and external link could be a first nice implentation.


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#14 2010-08-11 10:40:19

Guardian
Ion Tester
From: Mragowo, Poland
Registered: 2010-08-02
Posts: 133
Website

Re: Add posibility to choose internal URL from article file browser

Nice idea.
If/when work on this is started, perhaps cater for the most commonly used resources e.g. images, PhotoBucket, YouTube, Flickr, Picassa

Offline

#15 2010-08-11 11:51:13

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 927
Website

Re: Add posibility to choose internal URL from article file browser

Guardian :
Sure... And that's why it's a big work : what is "common" for you is perhaps not common for everybody... (Picassa... wink )


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#16 2010-08-11 12:37:30

Guardian
Ion Tester
From: Mragowo, Poland
Registered: 2010-08-02
Posts: 133
Website

Re: Add posibility to choose internal URL from article file browser

Yes of course smile
I am forgetting that people may use different services depending upon their country sad

Offline

#17 2010-08-11 12:57:23

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Add posibility to choose internal URL from article file browser

oEmbed is maybe the solution then: http://www.oembed.com
What we could do is implement in a CI version the oEmbed PHP Library that will generate the oEmbed code output when an external media link is inserted in the article (which respond to oEmbed criterias). But personally I see this as a Ionize optional module, this have nothing to do in the core.


Too Pixel is a web agency located in Geneva, Switzerland

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations