Custom blog viewer

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/6/2009 10:08:16 AM
Gravatar
Total Posts 4

Custom blog viewer

Hi Joe

First of all - Just want to let you know that your portal is wonderful.

It is very easy to build a website using the framework.

But unfortunately I can not find a solution for my problem:

As I understand there is no way to keep all the modules on a page when I reach a post of a blog cagory. I mean ViewPost.aspx or ViewCategory.aspx. For example if I have a HTML module or a menu at the left side and want to have all the time and leave right side for a blog controls …

Is it right?

Actually I can develop my own small and limited blog viewer(all in one module to do not affect other modules and does not redirect to any page) but I faced another problem – to keep existing ability to comment a post I need to replicate and then modify your module and it means that I will not be able to update the portal in future.

Is there a way to play around that somehow? .. Are you going to wrap a comment viewer and comment editor into a user control with parameters like “PostID” so anyone can use them in their own modules ? :-) Probably not – but I can only hope :-)

p.s. I can obviously develop custom comment editor and viewer but they will be much simpler then ones you have.. [viewer - not a problem at all actually]

If I finish that small blog viewer I’ll try to contribute it to mojoportal if you do not mind.

Thanks a lot

Sergey

 

10/6/2009 10:39:13 AM
Gravatar
Total Posts 18439

Re: Custom blog viewer

See the settings in the blog for Show Page Left Content and Show Page Right Content, it will show the content in the viewpost. It does not currently show in viewcategories or viewarchives but I will make it do that for the next release.

There is work planned to make a new comment system and new category system in the core that can be re-used across features and I will be replacing the internal comment system in the blog with the new on when it is ready and replacing the categories with the new system. Then it will be possible to use the comments and categories in custom features without having to re-implement it for each feature.

Note that the external comment systems like IntenseDebate are based on the url not on a post id so a post really needs a unique url.

Hope it helps,

Joe

10/6/2009 11:37:09 AM
Gravatar
Total Posts 4

Re: Custom blog viewer

Thanks for the update – I did not know.

It works that way. Category View is also very important – So I am waiting for your upgrade and temporary will modify existing one. It looks like I need just create a category view control(I need paging and excerpt preview and all the modules on a page).

Do you have a feeling when you have that update ready?

I can not use any external comment systems – it look like they are blocked by my firewall.

And the unique url is a great thing – just do not know how to use it in my module without modifying the core files.

Thank you for the MojoPortal. Will buy you a beer if I have any income from my project ;)

10/6/2009 11:44:42 AM
Gravatar
Total Posts 18439

Re: Custom blog viewer

I already implemented the showing of page side content in category view and archive view in my copy, it took only 5 minutes. If you are working with the source code from svn trunk I will probably have it updated later tonight.

It does not yet show excerpts or have paging in the category view though and I don't plan to implement changes like that until after I replace the category and comments with the new planned systems.

Best,

Joe

10/6/2009 12:15:17 PM
Gravatar
Total Posts 4

Re: Custom blog viewer

Thanks Joe

p.s.When you have time - may be it is a good idea to show the page content of the center placeholder and 2 additional containers :) as well. Just in case ... I can not imagine a situation when it needed but who knows ...

I'll get a new version - I appreciate ... :-)

Regards

Sergey

3/13/2012 5:52:56 AM
Gravatar
Total Posts 1

Re: Custom blog viewer

Hi I have a problem with displaying excerpts on blog page.

I do not know how this is possible but i can see excerpts on the blog home page. But if i open a any topic the excerpt are no longer listed for contributions

So I would like to ask for advice what to do.

I tried to insert to code some excerpt-printer, but unfortunately I found the "reader" is not take data from a SQL db, so the data is not in memory ... so i cant listed them out ... so the whole page goes to hell.

THX for any advice Veselý.

You must sign in to post in the forums. This thread is closed to new posts.