how to replace html blob in 0.121 when no more blob in this version? Topic is solved

General project discussion. NOT for help questions.
Post Reply
kingsz1

how to replace html blob in 0.121 when no more blob in this version?

Post by kingsz1 »

I used a early version to add my own html blob then used it in the temp. But the new version 0.121, the html blob was removed.

Now if I want to add my own title bar that appears all the page, how I can set this message in template?

Thank you in advanced.
badhoy

Re: how to replace html blob in 0.121 when no more blob in this version?

Post by badhoy »

It is now called 'Global Content Blocks' and can be found under the Content menu in the Admin Panel.
kingsz1

Re: how to replace html blob in 0.121 when no more blob in this version?

Post by kingsz1 »

Thank you. But in the doc, tips & Tricks, it still says use "HTML blobs".

Any example, say, I need to place a message for all pages, on the top next to the logo, how I do this?

Thank you in advanced.
badhoy

Re: how to replace html blob in 0.121 when no more blob in this version?

Post by badhoy »

The new syntax is {globa_content name='blobname'} but you can still use the old {html_blob name='blobname'}.  You would place {globa_content name='yourblobname'} next to your logo in the default template.
kingsz1

Re: how to replace html blob in 0.121 when no more blob in this version?

Post by kingsz1 »

Thank you, it work. But still has some problem.

I defined a blob, named it as "myH1", then I used it in the temp as:
 
 
          {cms_selflink dir="start"}
          {global_content name='myH1'}
 
 
 

When the message, it place under the logo. Not next to the logo in same line.

if I used the blob as this:
 
 
          {global_content name='myH1'}
          {cms_selflink dir="start"}
 
 
 

the message come first but the logo shift down 1 line below the message. NOT place at same line.

In the early version (0.11) there was not this problem but the 0.121 I faced this problem.

Any suggestion? please. Thank you.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: how to replace html blob in 0.121 when no more blob in this version?

Post by Dr.CSS »

Got Link?
sounds like you need to float one of them or give one a margin,, float probably best, the order you put them in the template will determine who's on top unless you move one out of the way.

  mark
kingsz1

Re: how to replace html blob in 0.121 when no more blob in this version?

Post by kingsz1 »

maksbud wrote: you need to float one of them or give one a margin,, float probably best
Thank you. I think so. But how I can float a message (or a blob)?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: how to replace html blob in 0.121 when no more blob in this version?

Post by Dr.CSS »

might be easier to float the,,
div#header h1{float:whatever}
whatever being left or right.
when you view the page, look at the source,, right clik in page go to view source.
look for your 'blob' to see the identifying mark, like or whatever it says to mark your 'blob'
once you find the id you can call it out in your CSS and float it.

  HTH
        mark
Post Reply

Return to “General Discussion”