AdvancedContent
Re: improve the content type "content"
Did you select the Content type "Content extended" (when you edit a page in the backend)?
Re: improve the content type "content"
Ok so It works, well almost.
I was geting 404 when using ImgPicker. So I edited the plugin files and add ".." before adress for iframe src. But i still can't get DropDown to work. When I use DD and go to edit page i get only something like: "error reading list of files"
Anyone knows what is going on? If the plugin works for you guys then maybe I have something wrong with configuration?
I was geting 404 when using ImgPicker. So I edited the plugin files and add ".." before adress for iframe src. But i still can't get DropDown to work. When I use DD and go to edit page i get only something like: "error reading list of files"
Anyone knows what is going on? If the plugin works for you guys then maybe I have something wrong with configuration?
Re: improve the content type "content"
you can't use ImgPicker and dropdown in the same tag... but you 'd post your tag so it's hard to tell what could be wrong...
Re: improve the content type "content"
I use:
With ImgPicker the problem was that iframe was missing ".." before address in src and it was trying to load file from "admin/lib/FileMenager.." instead of "lib/FileMenager..." so I was thinking that with DropDown is the same problem but i just don't know what to change this time.
Code: Select all
{content type='image' block='image1' label='Screen 1' ImgMode='DropDown'}
Re: improve the content type "content"
It doesn't work in that combination... you'd want something like
{content type='image' block='image1' label='Choose the image' dir='Header' }
{content type='image' ImgMode='ImgPicker' block='OrganizeImages' dir='Header' label='Organize Images'}
I'd also add the filter="exclude:thumb_"
Giving you
{content type='image' block='image1' label='Choose the image' dir='Header' filter="exclude:thumb_" }
So when you edit the pool of photos (block='OrganizeImages') you pick from (block='image1'), that you'll be picking up the edited photos only...
Hope this helps...
{content type='image' block='image1' label='Choose the image' dir='Header' }
{content type='image' ImgMode='ImgPicker' block='OrganizeImages' dir='Header' label='Organize Images'}
I'd also add the filter="exclude:thumb_"
Giving you
{content type='image' block='image1' label='Choose the image' dir='Header' filter="exclude:thumb_" }
So when you edit the pool of photos (block='OrganizeImages') you pick from (block='image1'), that you'll be picking up the edited photos only...
Hope this helps...
Re: improve the content type "content"
Ok my problem looks like this:
Code I use
What I see when I edit page
Code I use
Code: Select all
{content}
{content type='image' block='image1' label='Choose the image' }
{content type='image' ImgMode='ImgPicker' block='OrganizeImages' label='Organize Images' }
Re: improve the content type "content"
you don't have the dir='' as in the example I showed you ... as far as I know there is no defalut... you'll have to add it...
so you want something like
{content}
{content type='image' block='image1' label='Choose the image' dir='images/'}
{content type='image' ImgMode='ImgPicker' block='OrganizeImages' dir='Header' label='Organize Images'}
most likely...
so you want something like
{content}
{content type='image' block='image1' label='Choose the image' dir='images/'}
{content type='image' ImgMode='ImgPicker' block='OrganizeImages' dir='Header' label='Organize Images'}
most likely...
Re: improve the content type "content"
According to help for content2 dir parameter is optional.
I add dir and nothing changed, still no sign of drop down list to choose image (not even a line of code for just empty div)
Maybe I will try previous releases of content2 tomorrow.
I add dir and nothing changed, still no sign of drop down list to choose image (not even a line of code for just empty div)
Maybe I will try previous releases of content2 tomorrow.
Re: improve the content type "content"
Hmm one last try... try
{content}
{content type='image' ImgMode='DropDown' block='image1' label='Screen 1' filter="exclude:thumb_" }
{content type='image' ImgMode='ImgPicker' block='OrganizeImages' label='Organize Images' }
see if that works...
going back version shouldn't help since it's created with the same code, less a couple extra params which can't induce the failure of the script like you saying your getting...
,'style="'.$blockInfo['style'].'"',$fileprefix,$excludefiles is that only thing added... which they have defaults.. I know I have tested this on 5 sites now, all work ... it's a little odd...
cheers
Jeremy
{content}
{content type='image' ImgMode='DropDown' block='image1' label='Screen 1' filter="exclude:thumb_" }
{content type='image' ImgMode='ImgPicker' block='OrganizeImages' label='Organize Images' }
see if that works...
going back version shouldn't help since it's created with the same code, less a couple extra params which can't induce the failure of the script like you saying your getting...
Code: Select all
$dropdown = create_file_dropdown($blockInfo['id'],$dir,$data,'jpg,jpeg,png,gif',
$optprefix,true,'style="'.$blockInfo['style'].'"',$fileprefix,$excludefiles);
cheers
Jeremy
Re: improve the content type "content"
ImgMode='DropDown' + dir='images' helped. Thank you for your patience 

Re: improve the content type "content"
I know its not connected to conten2 but maybe someone will help me. So in my template I get the path to the img file from content2. Is there any way to get a thumbnail of that file based on this address?
Re: improve the content type "content"
If you do, try this version as it'll be the next one to be published... I has all bugs worked out now that have been reported.
SuperSizer v0.8
SuperSizer v0.8
Re: improve the content type "content"
I guess I should have added a follow up question with my previous statement:bryan wrote: I just noticed that the option "Disable WYSIWYG editor on this page" no longer works with this content type.
Are there any plans to correct this? It would be nice to have a wysiwyg parameter that can be set to true or false.
Re: improve the content type "content"
@bryan:
You can always add the HTML button to the toolbar in TinyMCE and you will be able to edit HTML
You can always add the HTML button to the toolbar in TinyMCE and you will be able to edit HTML