Let's put it clear that it was not my suggestion :P
A new photo album manager : Gallery
Re: A new photo album manager : Gallery
Let's put it clear that it was not my suggestion :P
Re: A new photo album manager : Gallery
haha 
I know
but... its work! I struggled with this all day (now i have on the clock 10:40pm).
I will not touch it anymore
Thanks again
*************
EDIT:
I have new question. How make URLs generated by gallery like that?:
http://www.xxx.com/en/travel/somegallery.html
or (and that will be better)
http://www.xxx.com/en/somegallery.html
Now I have looks like this, and this is bad:
http://www.xxx.com/en/travel/home_trave ... -4-15.html
Cheers
--
EDIT:
Please Help!!!
I know
I will not touch it anymore
Thanks again
*************
EDIT:
I have new question. How make URLs generated by gallery like that?:
http://www.xxx.com/en/travel/somegallery.html
or (and that will be better)
http://www.xxx.com/en/somegallery.html
Now I have looks like this, and this is bad:
http://www.xxx.com/en/travel/home_trave ... -4-15.html
Cheers
--
EDIT:
Please Help!!!
Last edited by requish on Tue Oct 12, 2010 6:42 pm, edited 1 time in total.
CMS Made Simple! Best CMS! 
Re: A new photo album manager : Gallery
Hi,Jos wrote: If you need an extra custom field for each image, you should mark it as such when you create it.
If you created a custom field for an image and called it "googlemaps", you can call it in your templates inside the foreach loop for images with
To parse the smarty code that you've entered in the field. you can call it in your template inside the foreach loop for images withCode: Select all
{$image->fields.googlemaps.value}
Code: Select all
{eval var=$image->fields.googlemaps.value}
Can I please help me with this. However I need new input for some text. In this time "SEOTitle".
Ive made this in of my template:
Code: Select all
<title>{if isset($gallery->images)}
{foreach from=$gallery item=image}{$image->fields.SEOTitle.value}{/foreach}{/if}</title>Some like this too desnt work:
Code: Select all
<title>{if isset($entry->fields)}
{foreach from=$entry->fields item='field'}{if $field->type == 'file'}{else}{eval var=$field->value}{/if}{/foreach}{/if}</title>Code: Select all
<title>{if isset($entry->fields)}
{foreach from=$entry->fields item='field'}{if $field->type == 'file'}{else}{eval var=$image->fields.SEOTitle.value}{/if}{/foreach}{/if}</title>CMS Made Simple! Best CMS! 
Re: A new photo album manager : Gallery
simply try
OR
1. write in your gallery template in first line
2. and in main template
Code: Select all
<title>{if $image->fields.SEOTitle.value}{$image->fields.SEOTitle.value}{else}regular title{/if}</title>1. write in your gallery template in first line
Code: Select all
{capture assign=gallerytitle}{$image->fields.SEOTitle.value}{/capture}Code: Select all
<title>{if $gallerytitle}{$gallerytitle}{else}regular title{/if}</title>
Last edited by nicmare on Thu Oct 14, 2010 6:44 pm, edited 1 time in total.
Re: A new photo album manager : Gallery
Thans for reply!nicmare wrote: simply tryORCode: Select all
<title>{if $image->fields.SEOTitle.value}{$image->fields.SEOTitle.value}{else}regular title{/if}</title>
1. write in your gallery template in first line2. and in main templateCode: Select all
{capture assign=gallerytitle}{$image->fields.SEOTitle.value}{/capture}Code: Select all
<title>{if $gallerytitle}{$gallerytitle}{else}regular title{/if}</title>
I use "$gallerytitle" to, soo I cant replace this command.
Code: Select all
<title>{if $image->fields.SEOTitle.value}{$image->fields.SEOTitle.value}{else}regular title{/if}</title>CMS Made Simple! Best CMS! 
Re: A new photo album manager : Gallery
ups. i forgot. than call it as you want $mygallerytitle or what ever. use your brain 
Re: A new photo album manager : Gallery
Ohh, I dont known that, I'll usenicmare wrote: ups. i forgot. than call it as you want $mygallerytitle or what ever. use your brain![]()
CMS Made Simple! Best CMS! 
Re: A new photo album manager : Gallery
1. I write in gallery template in first line
Code: Select all
{capture assign=seogallery}{$image->fields.seotitle.value}{/capture}Code: Select all
<title>{if $seogallery}{$seogallery}{else}regular title{/if}</title>---edit---
YES! I know where was been error:
Code: Select all
{capture assign=seogallery}{$image->field.seotitle.value}{/capture}
Code: Select all
{capture assign=seogallery}{$fields.seotitle.value}{/capture}
Last edited by requish on Fri Oct 15, 2010 11:44 am, edited 1 time in total.
CMS Made Simple! Best CMS! 
Re: A new photo album manager : Gallery
Hello,
I am having hard work installing the module. I tried uploading xml, installing from the .rar with the same result. It seems to have issues with permissions, either on the uploads/image directories or on the module directory itself.
I tried to chmod 705 ,755 or 777 with no success. When chmod the Gallery and GalleryThumbs, the module is said not installed in the module section of the admin, but when trying to install, it sends me to the admin home without any warning. It doesn't propose me to uninstall the module (to start a fresh one) but to change permission to some files. It doesn't succeed to change permission though the cmsms install went well except the httpd can't create directories. That point may be the whole problem.
How could I find a workaround to fix my problem?
Thanks
I am having hard work installing the module. I tried uploading xml, installing from the .rar with the same result. It seems to have issues with permissions, either on the uploads/image directories or on the module directory itself.
I tried to chmod 705 ,755 or 777 with no success. When chmod the Gallery and GalleryThumbs, the module is said not installed in the module section of the admin, but when trying to install, it sends me to the admin home without any warning. It doesn't propose me to uninstall the module (to start a fresh one) but to change permission to some files. It doesn't succeed to change permission though the cmsms install went well except the httpd can't create directories. That point may be the whole problem.
How could I find a workaround to fix my problem?
Thanks
Re: A new photo album manager : Gallery
Maybe this topic helps: http://forum.cmsmadesimple.org/index.ph ... 505.0.htmlNikau wrote: It doesn't succeed to change permission
Re: A new photo album manager : Gallery
Indeed, the umask of my installation was set to 777. This proved to be the problem. I had to fight a bit since the installation was messy, but it finally installed without error.
Thanks
Thanks
Re: A new photo album manager : Gallery
Hi again 
My new question:
I want to put a value define by me textinput field from the module 'gallery' in the overall page template in place define by me, ex between some global block. as a separate piece, not integrated directly into the module 'gallery'. However, the module will shows at content in this same time.
It is possible?

Ive tried create this using new gallery-template to display only value from my field. No results.
My new question:
I want to put a value define by me textinput field from the module 'gallery' in the overall page template in place define by me, ex between some global block. as a separate piece, not integrated directly into the module 'gallery'. However, the module will shows at content in this same time.
It is possible?
Ive tried create this using new gallery-template to display only value from my field. No results.
CMS Made Simple! Best CMS! 
Re: A new photo album manager : Gallery
I really don't understand what you are trying to accomplish. 
Maybe you can rewrite your question in shorter sentences? Or maybe you're more familiar with German, then you could PM me your question in German please?
Maybe you can rewrite your question in shorter sentences? Or maybe you're more familiar with German, then you could PM me your question in German please?
Re: A new photo album manager : Gallery
More Polish
Soo simpler its looks that:
Imagine!
In backend (admin)
I define in Gallery custom field named 'CategoryForModule' with alias 'categoryformodule'.
I have another module called 'Banery'.
In frontend
TOP WEBSITE
{content} There displayed detail content of module Gallery using "X" template-text,imagesThere placed my Banery module, in this part I would like see text value in attribute 'category' entered in custom field in my GalleryFOOTER WEBSITE
As You can see, they both are not together at one place.
Better?
Soo simpler its looks that:
Imagine!
In backend (admin)
I define in Gallery custom field named 'CategoryForModule' with alias 'categoryformodule'.
I have another module called 'Banery'.
In frontend
TOP WEBSITE
{content} There displayed detail content of module Gallery using "X" template-text,imagesThere placed my Banery module, in this part I would like see text value in attribute 'category' entered in custom field in my GalleryFOOTER WEBSITE
As You can see, they both are not together at one place.
Better?
Last edited by requish on Tue Oct 19, 2010 10:40 pm, edited 1 time in total.
CMS Made Simple! Best CMS! 
Re: A new photo album manager : Gallery
Ok 
I assume that your categoryformodule field applies to galleries ("Apply field for" setting).
If your html template looks somewhat like this:
And you have the {Gallery} tag in the content field of the page, then all smartyvariables that are defined within the {content} tag, are available further downward in your template.
This means that you can use the {$fields.categoryformodule.value} tag in your bannery module. (unless bannery sets the $fields variable itself)
Or...
If your template is the other way around like this:
Then to use the {$fields.categoryformodule.value} tag in your bannery module, you should change it to:
I assume that your categoryformodule field applies to galleries ("Apply field for" setting).
If your html template looks somewhat like this:
Code: Select all
<div>Top Website</div>
<div id="left_column">{content}</div>
<div id="right_column">{bannery}</div>
<div>Footer Website</div>This means that you can use the {$fields.categoryformodule.value} tag in your bannery module. (unless bannery sets the $fields variable itself)
Or...
If your template is the other way around like this:
Code: Select all
<div>Top Website</div>
<div id="right_column">{bannery}</div>
<div id="left_column">{content}</div>
<div>Footer Website</div>Code: Select all
<div>Top Website</div>
{capture name=my_content}{content}{capture}
<div id="right_column">{bannery}</div>
<div id="left_column">{$smarty.capture.my_content}</div>
<div>Footer Website</div>


