Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Ajax Disregards Previous CSS?
Beershits
Posted on 16 Aug 2009, 02:47:42

Access: Member
Total Posts: 11
Joined: 2009-08-16

Here is my new problem, when you click the read more or comment links the ajax opens the new page, making the title of the news dissapear. Which is fine, but I would like to keep the title there, and make the title a link, serving as a back button via script. So clicking the title of the news still open the full story, then click again and its like closing the full story and returning you to the main page of news.

if that makes sense.

what should i tinker with to achieve this? I don't see any options to edit the full news layout, so im guessing i must tinker with the installation files.

to view the layout click it.
#751
Chris
Posted on 16 Aug 2009, 03:01:33

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

This is very strange, the title should appear when you view the comments/full story.

Have you changed anything within index.php?

Can you paste what you have as your template, these sections would be helpful: news, comments, news structure & comments structure.
#755
Beershits
Posted on 16 Aug 2009, 03:02:34

Access: Member
Total Posts: 11
Joined: 2009-08-16

So, I think I know what the problem is--maybe.

I'm guessing your script automatically removes the tags
Code:
[readmore]link[/readmore]
whenever that link is clicked. My layout has
Code:
<h1>[readmore]{title}[/readmore]</h1>
So the title gets removed in the process.

Is that the problem?
#756
Chris
Posted on 16 Aug 2009, 03:03:49

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

That is indeed the problem :-)

Change it to

Code:
<h1>[comments]{title}[/comments]</h1>
#757
Beershits
Posted on 16 Aug 2009, 03:08:57

Access: Member
Total Posts: 11
Joined: 2009-08-16

Ah! Such an easy fix, I never even thought of that. Your quick at this.

I think im happy with news layout now :]
Thanks much. One last question, I've yet to browse network-13, how much is a license to remove the copyright? I would love to pay for it, not do it the other way--you have helped way to much :]
#759
Chris
Posted on 16 Aug 2009, 03:10:33

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

The program is absolutely free, you're also free to remove the "Powered by" line of text, you can find it at the bottom of config.php
#760
Beershits
Posted on 16 Aug 2009, 03:11:33

Access: Member
Total Posts: 11
Joined: 2009-08-16

Wow. Well expect a donation, thursday. Payday, that is. And a link when that page gets work.
#761
Last edited by Beershits at 2009-08-16 03:12:04 Reason:
Chris
Posted on 16 Aug 2009, 03:13:19

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Quote:
Wow. Well expect a donation, thursday. Payday, that is. And a link when that page gets work.

Very much appreciated. :happy:
#762
Network-13.com © 2013