HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


The new, quicker, way

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#64547 (In Topic #13908)
Avatar

Well-settled

What is it with me?

Hello,

Me again

I first like to say this again it's a love and hate affair with ocPortal.

I say this because it seems like everything I want to do with ocPortal has been so far a failed attempt.

I hate to think it's me, but if you know for a fact it is me just tell me and put me out of my joy but mostly miserable time with ocPortal. (sorry I am just being honest)

Just now I got the nerve to log in to ocPortal and try something new, after the last failed attempt of the .swf file upload to the gallery.
What I tried was is the following one page

http://proteamclan.com/motd/index.htm
(I put that page there so you all see it)
((the files are also in the right places by following.))

http://ocportal.com/docs/tut_integration.htm#title__2999

Question is how can I access the page though ocPortal?
I read the following but its like a foreign language to me.
and are all the files suppose to be out of folders like the images and everything or can they be in their folders while they are in pages/html_custom/EN/ directory ?




ocPortal said


The new, quicker, way

As of version 3, ocPortal can handle most things for you.
  • Copy any .htm files into the pages/html_custom/EN/ directory (.html files should be renamed to .htm files)
    • UNLESS the file is meant to be located in a subdirectory and ocPortal has a zone with the same name as that subdirectory. In this case, you'd place it in the equivalent directory of that zone
      • If the directories go more than one level deep, ocPortal will translate '/' to '_' when looking for the zone name (e.g. site/more would be considered a zone named site_more)
  • Copy any non .htm files (images, etc) into uploads/website_specific
  • Go through the pages in ocPortal to find any broken links and adjust them so that they work. ocPortal can't perfectly fix your links for you every-time, but it does do a pretty good job. Read on for more information how link rewriting works

ocPortal link alternation works by replacing simple patterns to local relative links. For example, a link "site/mypage.htm" would go to the ocPortal "site:mypage" entry point. If the mypage.htm file had been correctly copied to pages/html_custom/EN/ then ocPortal would actually load it up as intended.
A link "mypage.htm" would go to the ocPortal ":mypage" entry point.

As ocPortal can only rewrite the simple links, the process of fixing broken links is often a matter of simplifying them. For example:
  • http://mybaseurl/mypage.htm could not be fixed by ocPortal, because it is not a local link. Change it to mypage.htm.
  • ../mypage.htm might be used from a page located in a subdirectory. Unfortunately ocPortal can't realistically recognise this, so it can't translate this link. In this case, you would need to replace the link with the proper ocPortal page link.

To clarify, the following linking situations confuse ocPortal:
  • full links to local pages
  • page trees that go more than one level deep
  • links that go back up a page tree


Thanks

btw remember I started to theme the site before, but I stopped?
The reason ERRORS. I hate to be the only one that states them, makes me the bad guy!
I have a lot of errors in the error.log I been deleting them but if they can help I can give them to you Chris.
Back to the top
 
Posted
Rating:
#64700
Avatar

I'll clarify those instructions a bit.

This is an advanced feature, the tutorial you're looking at is marked in red on the tutorials list for that reason. I don't think other CMS's can do this at all.

It does work, but the results are far from finished. When you merge HTML and CSS designed in a "clean room environment" into the middle of another system it does tend to look scrappy until things are carefully polished off.

I wouldn't particularly recommend using this feature. It was designed for people who already have very large HTML sites and have some advanced skills but a lack of time to convert it all to Comcode pages.



There was one problem I had to solve to make this work. My browser saved all the links with "./" in, so I had to edit the file to change that. E.g.

Code

<img src="./Proteamclan Game Server MOTD_files/de_nuke0000.jpg" alt="">
to:

Code

<img src="Proteamclan Game Server MOTD_files/de_nuke0000.jpg" alt="">

(actually the truth is I improved ocPortal to not have this problem ready for the next version – but this is what you need to do if your browser also saves it like that, or if you're using the original files and they are already like that)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#64710
Avatar

Well-settled

I like to say that I am very aware of the fact ocPortal has countless advanced features, needless to say this is why I love and hate ocPortal to state the truth I mostly love it.

Some tutorials to me have something missing or I simply do not understand what is meant.

In this case I had numerous questions that I couldn't fully ask properly because I fail to understand what I really want to ask.

After reading your reply many many times I understood by trial and error , but of what I understood from you was the missing information.
I needed to find and get an output of the custom page.
The biggest help was that all the files need to be together in their folders other than the main .htm file and that the links need to be updated.
Also were the link to that custom file would be in the menu editor. These questions were what I needed to ask to understand this process with ocPortal.
I don't think that anything is so advanced that I can't get it I just need to see a working sample. I too agree that ocPortal is very advanced and others can't come close
but please understand that how I see it others may too, I see it very advance but at the same time buggy, be it because of my understanding or other issues, I just hope that I can be here to see it get perfected.

I done as I read and seen, only thing is I am a little confused as to why I had to change the url location to all the .js files. Did I do something that is not correct? I thought that ocPortal would take care of the locations to the .js files. Also I remember reading something to the effect of putting these types of files elsewhere.

I gather that I must of done something out of the norm because as you can see here the only thing showing to me is this error and the menu is all that is displayed too. As you can see the error is from one of the .js files but why would ocPortal state that when as you can see from here it works?

Thank you for your time.
and yes I still think that ocPortal is the best :P
Back to the top
 
Posted
Rating:
#64724
Avatar

Hi,

This'll be because I got your files by saving the page from the browser. Most browsers have a save whole page feature that shoves all the secondary files in a folder and rewrites the html to link into that folder. If you're using your original HTML then that HTML will have some other linking structure. I think what I did made it easier for me.

I appreciate your mentioning things that are confusing, which is why I always try and answer. The holes in understanding are ready in the next version of the docs, when I upload those.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#64757
Avatar

Well-settled

Chris I have the all the files, but I needed to change all of the links url along with the refers.
I understand why you had to change them.


Thanks for your reply as you can see if you have time Proteamclan Game Server MOTD - P?? - Professional Reconnaissance Organization
this is not working for me.

Thanks for your work
Back to the top
 
Posted
Rating:
#64872
Avatar

Well-settled

This seems to be some kind of div issue?

now I have two locations for the MOTD page

I fail to understand your way of implementing this.

I have to move most of the files to the correct location where ocPortal excepted them to be (not where the tutorial stated) after following the instructions.

I understand that you will update the help files for this

But I have been waiting on the new version to be able to start doing what I need to do in order to restart my site and game server.
Back to the top
 
Posted
Rating:
#64876
Avatar

Sorry, I just won't be able to find time to step through this. ocPortal does some stuff to the HTML to try and help integration but ultimately it is something for people with a strong knowledge of hand-coding and debugging HTML/CSS/Javascript. We're not claiming this is a feature designed for everyone.
Sorry.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#64883
Avatar

Well-settled

lol what? sure claim that,

the html works as you seen in the other link!

its HOW ocPortal handles this that's the problem.
show me where people are USING you advance system in the manner I been trying to without editing your default templates.

I seen none, want to know why? PEOPLE DON"T UNDERSTAND the way you code.


Good luck with ocPortal!!!!
I just have had it.
please remove the flaming ocPortal rocks avatar under my name because I can't
Back to the top
 
Posted
Rating:
#64887
Avatar

There is a URL structure to the website based on zones and pages, and a completely different URL structure between third-party HTML documents and their dependant images/Javascript/CSS. HTML pages are designed to be standalone, not embedded into another system. So these things are not going to matchup without some manual effort, and that is going to require a deep understanding of the technologies involved. The documentation does make it clear it's an advanced feature (maximum complexity indication), and I did recommend not to use it personally, and I have explained that other CMS's don't even have this kind of facility (at least to my knowledge), I think you are honestly expecting too much from ocPortal. If you don't like ocPortal as a result I encourage you to have a go to see what other systems might provide for it, but I can't dedicate my existence to making every hard task easy for every user for free, there are some reasonable limits to what can be made easy.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#64892
Avatar

Well-settled

You seem to think that I am stupid, I get it.
I followed your instructions to the letter and all URL locations edits; it is you that thinks whenever I or anyone that states "I am a newbie" must not know what the f they are taking about.

I know of another CMS that can do what they claim can do, but yours doesn't perform as stated.

I have stated before to you that the logic of the CMS is out of the world, it is a reflection of you.

I before was going to make a video of this issue but after your last post before this before the above one. You only seem to understand by videos. I know that I am not the most eloquent of users and my style of writing is possibly the worst, but I say BUT I am not stupid. I in all honestly would have paid for services but after what you claim ocPortal above. You attack me by implying that it is I that does not understand, truly I freaking get it.
Just because I can't seem to understand how to express myself in your way of thinking or for the matter I lack education and tack. Again does not mean that I am stupid. Please stop saying that this is too advance for people like me because it is PEOPLE like me that makes or breaks any CMS.

Your coding is too "advanced" because you even fail to understand it yourself so spare us your last post on this matter.

Now you got your answer to your frustrations on why ocPortal is not as popular as you think it should be. ocPortal is good but it's not what you think it is or even what people really want , well it may be but with when everything working as stated.

Fix all your issues and then advertise.

Best wishes!!!

I'll spend my money elsewhere where the logic is not so fuzzy!
Back to the top
 
Posted
Rating:
#64893
Avatar

Nobody said you were stupid. However you need to appreciate that I and many other professional web developers have been programming for decades, so have decades of experience to draw from when achieving tasks. I don't define 'easy' and 'advanced' in terms of what I do, but I do think it is fair for something marked out in red on the documentation index to be something only pros (people with a computing degree, or lots of commercial experience) to expect to be able to do. And 'easy' to be something non-pros to expect to do. We have a page on our site 'What ocPortal is not' that talks down expectations back to a reasonable level as does the first page of the Setup Wizard, as have I in interviews. At this time I know of no way to make this easy for a non-pro without taking a large number of hours creating a walk-through, and that's just time I don't have. You say it is buggy, but if that's the case a clear bug report of something very specifically wrong needs filing – I can't investigate every post as if it is a bug report, each incident takes around an hour of my time. If you can find another CMS that can do what you want, fantastic, I honestly hope it works out for you. But I am in the office late on a Sunday evening after working all weekend right now working on usability issues for people on lower levels of complexity which I think can be made easier in ocPortal and I shouldn't be doing even this really, I should be doing client work.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: