18 Posts
prophoto
11 years ago
14
Topic

Hi I am very new to Seblod and need some basic help.  I am creating my own template from scratch and need to use the default joomla intro/article/full images.  How do I make them display inside the Seblod template instead of before <div class="cck-f100 cck-pad-8" id="cck17"></div>.  Thanks.

Get a Book for SEBLOD
18 Posts
prophoto
11 years ago
4
Level 1

Can someone help?  I am on a deadline to get this site done for a client.

11 years ago
3
Level 2

Hello @prophoto,

the original SEBLOD content type "Article" is exactly the same thing as Joomla Form. To adapt the Content View you just have to set up fields you want to display.


If you don't want all the html tags which are in the SEBLOD Seb_one Template, you can use the Seb_minima.


Regards.

Lionel

18 Posts
prophoto
11 years ago
2
Level 3

If I was to keep the current template how would I correct this?

11 years ago
1
Level 4

Hello @prophoto,

which current template you want to keep ?


SEBLOD templates are not Joomla Template. They are only use to display article or list inside the content area of joomla template, or in module position.

Joomla template an SEBLOD Templates don't have the same utility.


Hope it help.

Lionel

18 Posts
prophoto
11 years ago
0
Level 5

OK thanks for the clarification.  Bottom line is I want to move the image before the p tags so the text wraps properly.  By default templates I mean Seblod templates, not Joomla templates.

11 years ago
1
Level 1

Hi prophoto,

In the content type API, you have a button "position" near to "close". If you click on it, you can see all positions managed by SEBLOD template.

Regards,
Mehdi.

18 Posts
prophoto
11 years ago
0
Level 2

OK so this still is not working...When I switched to minima and added the fulltext image inside of #mainbody this is what I got...still wrong and the image does not float correctly.  I need the image to be inside of #cck16_art_introtext or some other method to fix.


<div class="cck-line-body">
<div class="cck-plr cck-ptb">
<div class="seb_css3 vertical cck16-deepest" id="cck16_mainbody">

<div class="cck_contents cck_content cck_jform_media cck_art_image_fulltext" id="cck16_art_image_fulltext">
<div class="cck_value cck_value_jform_media" id="cck16_value_art_image_fulltext">
<a title="" rel="colorBox408" href="/coming-soon.jpg" id="colorBox408" class="cboxElement">
<img src="/coming-soon.jpg" alt="coming-soon" title="coming-soon"></a>
</div>
</div>

<div class="cck_contents cck_content cck_wysiwyg_editor cck_art_introtext" id="cck16_art_introtext">
<div class="cck_value cck_value_wysiwyg_editor" id="cck16_value_art_introtext">
<p>text here</p>
</div>
</div>   


</div>     
</div>
<div class="clr"></div>   
</div>


FYI I also tried using sebone template and placing the fulltext image in #sidebody-a but once again it doesn't work as requested.  I want the text to wrap around the image, not an additional column for the image.

18 Posts
prophoto
11 years ago
0
Level 1

Can someone help please?

18 Posts
prophoto
11 years ago
0
Level 1

does anyone read this forum?


I thought this would be an easy fix...I like the multisite capabilities but the other features are getting in the way!!!!!!

18 Posts
prophoto
11 years ago
0
Level 1

Is there anyone who can help or is the seblod project dead?

18 Posts
prophoto
11 years ago
3
Level 1

still holding my breath for an answer this sucks that no none cares...

151 Posts
pixelpixel
11 years ago
2
Level 2

Hi,


with little CSS you could solve this easily. But why are you not creating your own template and calling your fields described here


kind regards

18 Posts
prophoto
11 years ago
1
Level 3

Care to share that css?  AFAIK you can't make a div wrap around another div...unless you know something I don't.  Creating my own template is overkill, I just want the text to wrap around the image.

151 Posts
pixelpixel
11 years ago
0
Level 4

hi,


please try this

div#cck16_value_art_image_fulltext {
   display:inline-block;
   float:left;
}

 

kind regards

Get a VIP membership