• Resolved christogeretz

    (@christogeretz)


    Cross-post from here.

    Let’s say that my site is https://www.foo.com, I create a link from the homepage to https://www.foo.com/members/

    This site is set as “Private” in WordPress, and by using the Page Restrict plugin I can allow only logged in users to access it.

    The link to the page gives a 404 error, even though (if you’re logged in) the link itself works fine.

    Is there a workaround or fix?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author macguru2000

    (@macguru2000)

    hi christogeretz,

    I am curious if links to https://www.foo.com/members/ work fine from a standard link in a post or page’s content. The reason I wonder this is because CataBlog does nothing fancy or different with its links, they are not JavaScript powered, they are standard html <a href="link"></a> tags. Do you have a target set in the title tab of the CataBlog Options Panel? This may be breaking the link. Also are you using a custom template for your catalog html rendering? This also could be breaking your links. If you could put an example online that would also be very helpful and aid in discovering a solution to this bug. Thanks for your time in helping to solve this problem.

    – Zach

    Thread Starter christogeretz

    (@christogeretz)

    Wow, that will teach me to have 30 tabs open.

    I meant to post this with the Broken Link Checker tag … clearly I’m using both your plugin and the other one. OOOOPS! I’ll repost it now, with the right tag!!

    While I have you here though … could you tell me where the “Load Template” button on the CataBlog Options -> Template actually gets the saved template? It’s definitely NOT from ..\wp-content\plugins\catablog\templates\views because I changed the files there (hoping they’d load inside the WP admin panel nicely) but was taken aback to see the “Load Template” is getting the template from someplace else.

    Thanks for your help, I really like the plugin and it’s been relatively painless to use on my site. I had to modify the default to include some padding, because my template was making the photos and the description overlap, no worries .. it just is this:

    <div class="catablog-description" style="margin-left:%MARGIN-LEFT%; padding-left: 30px">

    Thanks again!
    Chris

    Plugin Author macguru2000

    (@macguru2000)

    christogeretz,

    Glad to hear that the links in CataBlog are not breaking. Now as far as the location of the template files, you were actually correct, they are in
    /wp-content/plugins/catablog/templates/views. The thing is that the two files are hard coded to be put in the drop down menu. That means for now the two selectable templates are default and gallery, period. They are meant to be edited in the textarea on the template tab in the CataBlog Options Panel. It was made so to be easily editable and meet the specific needs of individual blogs. If you want to suggest a new template for the drop down menu then send me a copy of the code and description of how you think it would best be used. Cheers,

    – Zach

    Plugin Author macguru2000

    (@macguru2000)

    Could you please resolve this topic as I believe at this point it has been finished.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: CataBlog] Ignore errors caused by links to Private pages?’ is closed to new replies.