Forum moderator: bigblog  
Global Blocks
Sunny
Posts: 9296
Reputation: 456

Message # 1 | 2:04 PM
Global blocks are blocks available in all templates of your website. By means of global blocks you can optimize the design of your website, having splitted it into common parts. With the help of common blocks you can update the design on the whole website by means of editing only one block template.


Where to create a global block in the Control Panel:


Go to Customize Design -> Global blocks.



Click New block.



Enter a block name (let it be LINKS in our case) and click Add.



A block name must contain only uppercase Latin letters, max length is 10 characters. This name will serve as the $code$ of the given global block in templates.


A new block will be added to the list. In our case it is $GLOBAL_LINKS$.



Go to Control Panel -> Customize Design and find the block template on the list of templates under Global blocks.



Add any code you need to the template, save it, and paste its $code$ (e.g. $GLOBAL_LINKS$) into the templates where you want it to be displayed.

Max number of global blocks is 10, including the 4 default blocks ($GLOBAL_AHEADER$, $GLOBAL_BFOOTER$, $GLOBAL_CLEFTER$, $GLOBAL_DRIGHTER$). The number of default blocks differs in different designs, some templates have only 3.

Note: If you are going to edit templates you must have basic knowledge of HTML and CSS.


Question-Answer


How can I add a global block in a global block?

You can't... we don't support global blocks nesting.

I've noticed the global block $GLOBAL_SOANDSO$ will not run inside the $CONTENT$ area.
Correct me if am wrong!


You are right. Global blocks work in templates only

Just 10 global blocks?

10 is the limit, you can't create more global blocks.
Attachments: 1514136.png (26.8 Kb) · 8639095.png (22.1 Kb) · 7644645.png (25.3 Kb) · 4539422.png (26.7 Kb) · 3073300.png (25.9 Kb)

I'm not active on the forum anymore. Please contact other forum staff.
Dartz
Posts: 1931

Message # 76 | 12:12 PM
Make sure you marked: "Update the design for all active modules" and clicked Save.
[... With uCoz since December 2 2007 ...]
muzammal
Posts: 3
Reputation: 0

Message # 77 | 12:40 PM
yes, i mark "Update the design for all active modules" and save but problem still.,!

Added (2010-05-24, 6:40 Am)
---------------------------------------------
pls anyone help me .,!want change template

www.islambest.ucoz.com

Dartz
Posts: 1931

Message # 78 | 1:08 PM
muzammal, template changed, I don't understand the problem.

http://islambest.ucoz.com


[... With uCoz since December 2 2007 ...]
zaheerafzal
Posts: 12
Reputation: 0

Message # 79 | 5:58 AM
how can i inserted the clicksor widgets (connect button) on my web site in the right side or left side......

and plz gives us more names of global blocks that we can added..
plz gives names

regards:
zaheer

Added (2010-08-26, 11:58 PM)
---------------------------------------------
plz answer me...........

Sunny
Posts: 9296
Reputation: 456

Message # 80 | 9:49 AM
Quote (zaheerafzal)
how can i inserted the clicksor widgets (connect button) on my web site in the right side or left side......

I am not sure what exactly you mean, but widgets are discussed here: http://forum.ucoz.com/forum/37-5598-1

Quote (zaheerafzal)
and plz gives us more names of global blocks that we can added..

You can give any names to your global blocks.


I'm not active on the forum anymore. Please contact other forum staff.
zaheerafzal
Posts: 12
Reputation: 0

Message # 81 | 9:56 AM
how can i insert wibiya toolbar in buttom......
Sunny
Posts: 9296
Reputation: 456

Message # 82 | 9:59 AM
zaheerafzal, as I already wrote, we do not provide help with third-party scripts and codes and their insertion into a website.
I'm not active on the forum anymore. Please contact other forum staff.
willy
Posts: 36
Reputation: 0

Message # 83 | 2:48 PM
Quote (Sunny)
Yes. If you want to disable them for a page created via Page Editor then tick off "Apply personal template for the page" when creating/editing a page. If for a module - then edit corresponding templates of the module you need ('Module main page' as a rule).

Hi Sunny, along these same lines I am trying to disable a module added through builder for certain pages. My disclaimer page and my contact us page that I created through the email module. I have checked to make sure both pages have the "Apply personal template for the page" ticked off and as far as editing corresponding templates of the module i need, I do not see anything that relates to the "chess" gadget that I added. Here is everything that is included in my email template design page:

<table border="0" width="100%" id="table1" cellspacing="1" cellpadding="2">
<tr><td width="35%">Sender's name <font color="red">*</font>:</td><td><input type="text" name="f4" size="30" style="width:95%;" maxlength="70"></td></tr>
<tr><td>Sender's e-mail <font color="red">*</font>:</td><td><input type="text" name="f1" size="30" style="width:95%;" maxlength="70"></td></tr>
<tr><td>Web-site:</td><td><input type="text" name="f5" size="30" style="width:95%;" maxlength="70"></td></tr>
<tr><td>Message subject:</td><td><input type="text" name="f2" size="30" style="width:95%;" maxlength="70"></td></tr>
<tr><td valign="top">Message text <font color="red">*</font>:</td><td><textarea rows="7" name="f3" cols="30" style="width:95%;"></textarea></td></tr>
<tr><td>Site rating:</td><td><select size="1" name="f6"><option>Excellent</option> <option>Good</option> <option>Not bad</option> <option>Bad</option> <option>Awful</option></select></td></tr>
<tr><td>Security code <font color="red">*</font>:</td><td><input type="text" name="f7" size="4" maxlength="4" style="text-align:center;"> $SECURITY_CODE$</td></tr>
<tr><td colspan="2" align="center"><br /><input type="submit" value="Send message"></td></tr>
</table>

My url is http://www.varolo.ucoz.com and my design is 361

My "Update the design for all active modules" is not ticked on either. It does not have a check mark.

Any advice?

Sunny
Posts: 9296
Reputation: 456

Message # 84 | 10:28 AM
willy, if you want to disable a side block for definite pages, it is better to use conditional operators: http://forum.ucoz.com/forum/37-471-1

You won't find the block code in your page templates as it is stored within the global block template (probably the first container).


I'm not active on the forum anymore. Please contact other forum staff.
willy
Posts: 36
Reputation: 0

Message # 85 | 7:33 AM
Sunny, ok, I will check that out. Thanks again (I always say it and I mean it every time!)
Ashuks
Posts: 8
Reputation: 0

Message # 86 | 9:33 PM
Hi.This question maybe isn't about this topic but for my ucoz website ar no ucoz promotion in top of the screen.I don't know why because i am not a premium user and i am not deleted or inserted any scripts wich could take the promotion off.Please help i don't know what to do!

Sorry for my English.

http://foreliite.ucoz.lv

Check my site and please tell me what is the problem so i can solve it.

Thank you!

Sunny
Posts: 9296
Reputation: 456

Message # 87 | 8:52 AM
Ashuks, If your website is new it is ok - the ad banner appears in about a week after the website creation. The correct thread for your question is here: http://forum.ucoz.com/forum/37-2705-1
I'm not active on the forum anymore. Please contact other forum staff.
Ashuks
Posts: 8
Reputation: 0

Message # 88 | 6:55 PM
Thank you Sunny! smile
KeKeGeNKaY
Posts: 12
Reputation: 0

Message # 89 | 2:28 PM
How can I replace the logo of unet.. on my site. cuz I put in the File Manager a new icon.. and all the old left... how can I replace it ???
Natashko
Posts: 3366
Reputation: 171

Message # 90 | 2:31 PM
KeKeGeNKaY,
Quote (KeKeGeNKaY)
How can I replace the logo of unet.. on my site. cuz I put in the File Manager a new icon.. and all the old left... how can I replace it ???

you have already asked your question about favicon here: http://forum.ucoz.com/forum/5-422-83296-16-1317716715 Read the answers there and do not create similar threads. It is against forum rules.
If you didn't mean the favicon, but the website logo - provide a website name as well as the design number for us to answer this question.
Search: