How to make some of article when I click readmore the paragraph not show
to the bottom but to the right side...
Here's the illustration screenshot:
http://www.oymo.com/upload/uploads/collumn-artikel.jpg
You can't do proper columns - ie. when the text flows from the bottom of one column it moves to the top of the next, without use of CSS3 (which isn't widely supported). You could probably do something with a bit of mootools or jquery as an alternative.
However, if you just want to show the intro text in one div and the main text in another (something like http://www.kodaklens.co.uk/mobile/) then you need to modify your template /templates/templatename/html/com_content/article/default.php, by creating your required 'static' layout and then loading the different article pieces into each container, but this won't help with text flow.
Related
I would kindly ask for your help :) From couple of days I am trying to achieve "linked" custom field in content editor and dropdown in page editor.
Basically I want to have dropdown in page editor and content editor which are responsible for a same thing.
In my c# code i have enums which represent directions. I created custom field which accepts assembly and class with overridden onload method and successfully populate dropdown values in the content editor. So far so good but i have no idea how to create dropdown which will represent the same functionality inside page editor.
So please give me any ideas...
Judging from your reply to my comment you need to think of the following: How is my field value being rendered onto a page?
If you are always using 1 control to do this then you just need to ensure that this control has 2 different rendering modes depending on the Context.PageMode
But as I understand it you want this dropdown to also appear when someone renders your custom field using a <sc:FieldRenderer>. In this case you'll need to look into the RenderField pipeline of Sitecore. There you find a processor called RenderWebEditing. Possibly through some manipulation here you can get your dropdown appear as you wish.
i'm new to Orchard but very impressed with it. I've been trying to find an easy way to have a vertical column based menu in Orchard. Because there is a lot of features and options i'm reluctant to take the wrong approach. I'd like to go in the right direction on this one by asking the experts
I just want an image (to the left) and short paragraph to the right. This repeating downwards just like many popular newspaper websites
Exactly like what http://www.dailymail.co.uk/home/index.html has at the right of the page...
Many thanks for the advice, Kind REgards, J
I tend to solve this by adding these fields to blog post:
media picker field (I tend to call this field "Teaser image") used to select picture that will be shown in the news feed
text field (I tend to call this field "Lead") with Html flavor used to add short text paragraph, or lead, that will be shown in the feed
Afterwards, you can, either
add Recent blog posts widget to the zone where you wish your news feed to display or
create a Query that will return posts you want to be shown in the feed and then add Projection widget to the zone where you want to display your feed
You can see the similar design I created for the Croatian NATO portal with some extra fields in the design. It's in Croatian language, but it'll serve the purpose of showing what you can do with Orchard for your news-portal style web site.
I'm not very familiar with joomla, I added new article , But the left and right positions (right & left bars) don't appear in the two sides, How to add them please?
Thank you
If you go to Module Manager, then select the modules you want to show, ensure they are enabled on all pages. I wouldn't have though you have to create html page using the article manager. Joomla isnt really built for this. Regards
if i am not wrong, then i think you want to add two columns in your article page.
There is a simplest want in you article editor click on the html button which show you a new window where you can set your html. And for two side that is left and right, just create a html page and paste in only the body content into your joomla editor and if you want to add some style then define id's or class's to your article or you can set inline css..
hope this will help you..
I have to display a set of data in the following manner:
Which ASP.NET 3.5 control best matches my requirement?
If one matches, could you please give me an idea about how to format it to view like the image?
Well, first off you have multiple blocks (multiple rows) so I would suggest a Repeater. Within each block you must display three columns (the image the text and the small images), and you should use a Panel (renders as a ). In the second panel you have multiple lines of text for which you can use Labels because they allow for rendering as a so that you an include a class.
Style everything nicely with CSS and you should be able to remake the above picture.
I think repeater control would be fine for your requirement.
I'm having a bit of problems creating a DataGrid with a header label AND a text box (at this point I'm not even entirely sure this is possible).
Here's what I want to do:
I need to dynamically create a table (the number of columns can and will change, so the grid needs to be created dynamically and cannot use bindings specified in the XAML code or similar). All the columns however will always be text columns.
Because those will be text columns, I'd like to add a text box to each header to enable simple filtering of the data in the DataGrid. I don't want to add extra text fields to OTHER parts of the Silverlight page, as I want to keep things as compact as possible. Also, since the number of columns is dynamic, adding a large number of text boxes above the DataGrid wouldn't look too good either. ;)
Also, if possible, I'd like to keep a label in each header to display the names of the columns as well.
So far I've tried adding the a TextBox as the Header of a DataGridTextBoxColumn but when I do that in a very simple Silverlight project, the whole DataGrid won't show up.
Please help.
EDIT:
I saw the answer to this question: placing a text box inside the silverlight data grid column header
However, the answer itself didn't give me much to go on (the example is too short, and I'm not too good with XAML yet), and the code on CodePlex just adds extra fields to the Silverlight page. None of it tackles the problem of dynamically creating the DataGrid.
OK, here's what I did that solved my issue...
I had to use a Style to achieve the functionality of having an extra text box inside each column header and filling out the Tag property of each thus created TextBox to later find out which column has been changed.