As the question, I have 3 tabs, in Big Tab
the tab 01 is working perfectly fine, but the tab02, tab03 is added the /1 /2 in URL
so it's cant render anything
the Tab01
The Tab02
The Tab03
I want it's not extra anything , just property/1/show is good for me.
How can I do that ?
Or if I want to pass all data from Big Tab (property/1/show) to tab01,02,03 how can I do that ?
Related
this seems like a very stupid question, but I really can't figure out how to do my navigation links properly.
I'm using express.js with handlebars as view engine.
My backend.handlebars has a naviation bar and loads in every sub-page of my backend under "/admin". It looks like this:
<nav>
Dashboard
Add Post
Edit Post
Categories
Static Text
</nav>
Now the correct routes are:
[server-adress]/admin/ for the dashboard
[server-adress]/admin/add for adding posts
[server-adress]/admin/edit for the editing posts
etc.
Now the way I've setup my links sometimes works and sometimes doesn't.
Sometimes every link works correctly when I'm in a sub-route like "admin/add" and want to go to "admin/edit".
Sometimes every link works when I'm under the main "admin/" to every sub-page, but not the other way around.
And sometimes everything works as intended, mostly when I delete the dot in front of the slash and then add it back end, restarting both times.
This obviously is too much of a gamble when deployed. As I don't know the absolute adress due to changing servers, I can't use absolute paths.
How do I go about this correctly?
I´m usind Shopware to create a website ( www.futureindustries.co ) I need to change all of the pictures that are on the main page (the slider). Actually there is first slide blank and then 2 pictures. I need to change the first picture (blank) but I have no idea where to find the style sheet or that piece of code where I ľill put the path to the picture. I mean that I have no idea where to find place where I would change this:
background-image: url("");
To this:
background-image: url("path to the image I want");
I´m using theme "Views"
I know that this may be very irrelevant for most of you (maybe all of you) but I´m really desperate. I feel like I´ve opened every file and i still can´t find it.
To make it clear - I am repairing the website and the programmer that created this site is not responding to anyone so I can´t ask him how to do that.
The content seems exist in database. You can find & edit it from Backend menu > Marketing > Shopping Worlds > Startseite.
I got a problem.
I would like to have a repeating subform on the first bodypage("Sida1" bould one), that should repeat on the first masterpage(Page1). I want it to start at the top of the first master page all the time. But if I set it that way I think it might work, it gives me a white blank page at start and then work as intended(it start repeating subforms in the top of the masterpage (Page1)).
Seems like it will create one extra masterpage of the one you set it to, if you set it to be Top of page "Page1". It will create on master page to much. Atleast if you have those setting of the body page that is the first bodypage.
I don't have 10 reputaion to upload a images, so i will mark up how the hierarchy looks like:
Form
(Master Pages)
Page1
Page2
Page3
//Body pages comes below this..
-Sida1
-Sida2
-Sida3
-(Variables)
If I just change parameters in search.ini - new search will be added but it will not be set as default.
I found out that there is a paremeter in operaprefs.ini in [State] section -
Data2=02827edd9d4c131d98daea963133db3d757
If numbers rught, then all works perfectly!
How to genereate that numbers correctly?
Thank you.
I'm having difficulty getting the pagination functionality working with [[Ditto? ... ]] in MODx CMS.
I have the documents displaying in the page, limit is set to 5. The output from my other pagination template placeholders seem to be working but the [+next+] link doesn't load the next set of 5 documents (going in descending date order).
Here's my template code:
[[Ditto?
&parents=`13`
&tpl=`ArticleListChunk`
&display=`5`
&&removeChunk=`Comments`
&paginate=`1`
&extenders=`summary,dateFilter`
&paginateAlwaysShowLinks=`0`
&dateFormat=`%F %D %Y`
]]
<p>Showing <strong>[+start+]</strong> - <strong>[+stop+]</strong> of <strong>[+total+]</strong> Articles</p>
<ul class="clearfix">
<li>[+previous+]</li>
<li>Page <strong>[+currentPage+]</strong> of [+totalPages+]</li>
<li>[+next+]</li>
</ul>
The output I get is:
Showing 1 - 5 of 17 Articles
Page 1 of 4
Next >
as you can see the output is correct, however when I click the 'next' link the resulting URL is .../news.html?start=5 but the content of the page stays the same (i.e. the latest 5 documents are shown!).
This is how the template and functionality was when I was inherited this project from a client, and I have never used MODx CMS before -- can anyone help me please?
I there a way to update the SQL offset with a parameter or something? I've been all through the Wiki pages for Ditto / MODx but can't find what I need or what I should be doing that I'm not!
I would think you need to call ditto uncached [[!Ditto? attribs ]]
That's just a guess.
Also it looks like you are using EVO? check the cache syntax, you might need to put an exclamation mark at the end as well. [[!Ditto? attribs !]]
After plenty of searching I found a post on the MODx forum that pointed me in the right direction.
Turns out that caching was enabled in the page/document's settings (doh!). I disabled this and now it works fine!
However I have not set the no-caching token ('!') in Ditto's parameter string which, including the answer from Sean, my research has suggested is advisable and/or required. I've not worked with MODx before so I can't say for certain, but it seems to work without this for me!
Thanks #SeanKimball as your answer set me down the right path.