Two things I need to do.
1. Find out how to add text to the frontpage. Direclty on the Sylvia part where the categories thumbnail is. Just to explain a few things.
2. I need to add text to the upload part when it says the dimensions of the picture etc. I need to add that you cannot upload files with spaces in the name. Users shouls use underscores like so....
picture_of_galaxy.jpg
How can I do that?
cheers guys.
Offline
Thank you for not asking a question by post to ease the search for other users
MJ80 wrote:
1. Find out how to add text to the frontpage. Direclty on the Sylvia part where the categories thumbnail is. Just to explain a few things.
With [extension by plg] PWG Stuffs
- add a module
- add Personnal block (selected the options you are)
MJ80 wrote:
2. I need to add text to the upload part when it says the dimensions of the picture etc. I need to add that you cannot upload files with spaces in the name. Users shouls use underscores like so....
You can use the templates-extension
Administration -> Configuration -> Templates (read )
Model to adapt your personal use [extension by Piwigo Team] LocalFiles Editor
- >tabsheet template
- > Create new file
- > created from a template model
- > Adds the elements, following your need
Online
Thanks for that.
But how do I add to this list on the upload page?
* the filesize of the picture must not exceed : 1524 KB
* the width of the picture must not exceed : 1350 px
* the height of the picture must not exceed : 1350 px
* the picture must be to the fileformat jpg, gif or png
I want to add
* Note: make sure the pictures name has no spaces in it. example: farmname_1.jpg
Offline
I resolved this by adding these lines
<div style="text-align:center;"> <b>* NOTE:</b> Make sure the files name you are uploading doesnt contain spaces in it. <b>[Rename it before uploading]</b> <br /><br /> <b>Correct Format:</b> farm_name_1.jpg <b>OR</b> farmname1.jpg <br /><br /> <b>Incorrect Format:</b> farm name 1.jpg <br /> <br /> </div>
Into this file
template>yoga>upload.tpl
Placed it just under the submit button which starts at line 112 and ends at line 114
112 {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} 113 <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {'mandatory'|@translate}</div> 114 {/if} 115 116 <div style="text-align:center;"> 117 <b>* NOTE:</b> Make sure the files name you are uploading doesnt contain spaces in it. <b>[Rename it before uploading]</b> 118 <br /><br /> 119 <b>Correct Format:</b> name_1.jpg <b>OR</b> name1.jpg 120 <br /><br /> 121 <b>Incorrect Format:</b> name 1.jpg 122 <br /> 123 <br /> 124 </div>
Thanks for all your help dude.
Offline